acl/packaging/acl-libs.spec

52 lines
1.0 KiB
RPMSpec
Raw Normal View History

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