1 Star 0 Fork 1

ssss/Unity

forked from src-oepkgs/Unity 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Unity.spec 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2023-11-13 08:59 +08:00 . change Unity.spec
%define name Unity
%define version 2.5.2
%define release 1
%define group Database/Applications
Summary: Unity
Name: %{name}
Version: %{version}
Release: %{release}
Group: %{group}
Packager: yong bai
License: MIT
Source0: %{name}-%{version}.tar.gz
BuildRequires: go git cmake
%description
Simple Unit Testing for C
https://github.com/ThrowTheSwitch/Unity
%global debug_package %{nil}
%prep
%setup -q
%build
mkdir build
cd build
cmake ..
make %{?_smp_mflags}
%install
export DONT_STRIP=1
rm -rf %{buildroot}
cd build
make install DESTDIR=%{buildroot}
%files
%{_prefix}/local/lib64/libunity.a
%{_prefix}/local/include/unity/unity.h
%{_prefix}/local/include/unity/unity_internals.h
%{_prefix}/local/lib64/cmake/unity/unityTargets.cmake
%{_prefix}/local/lib64/cmake/unity/unityTargets-noconfig.cmake
%{_prefix}/local/lib64/cmake/unity/unityConfig.cmake
%{_prefix}/local/lib64/cmake/unity/unityConfigVersion.cmake
%changelog
* Wed Aug 30 2023 baiyong <baiyong0327@163.com> - 2.5.2-1
-initial version
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/baiyong1314/Unity.git
git@gitee.com:baiyong1314/Unity.git
baiyong1314
Unity
Unity
master

搜索帮助