mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 11:57:43 +08:00
52 lines
1.0 KiB
RPMSpec
52 lines
1.0 KiB
RPMSpec
|
Summary: The powerful c/c++ library and server framework
|
||
|
Name: acl-libs
|
||
|
Version: 3.3.0
|
||
|
Release: 1
|
||
|
Group: System/Libs
|
||
|
License: IBM
|
||
|
URL: http://cdnlog-web.qiyi.domain
|
||
|
Packager: Zhang Qiang <qiangzhang@qiyi.com>
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
Source: http://example.com/%{name}-%{version}.tar.gz
|
||
|
|
||
|
%description
|
||
|
|
||
|
One advanced C/C++ library for Linux/Mac/FreeBSD/Solaris(x86)/Windows/Android/IOS http://zsxxsz.iteye.com/.
|
||
|
|
||
|
|
||
|
%package -n acl-master
|
||
|
Summary: acl master framework
|
||
|
License: IBM
|
||
|
Group: System Environment/Tools
|
||
|
Requires(post): /sbin/ldconfig
|
||
|
Requires(postun): /sbin/ldconfig
|
||
|
|
||
|
%description -n acl-master
|
||
|
acl master framework
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
|
||
|
make build_one -j 32
|
||
|
|
||
|
%install
|
||
|
|
||
|
make packinstall DESTDIR=$RPM_BUILD_ROOT
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
# TODO: should be renamed
|
||
|
%{_bindir}/acl_master
|
||
|
%{_includedir}/acl-lib/acl
|
||
|
%{_includedir}/acl-lib/acl_cpp
|
||
|
/usr/lib/libacl_all.a
|
||
|
|
||
|
%files -n acl-master
|
||
|
%defattr(-,root,root)
|
||
|
/opt/soft
|