diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-02-01 13:36:00 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-02-01 13:36:00 +0900 |
commit | f71121eda911c5e558a660b9b2425e0dedec5ea0 (patch) | |
tree | c9b09f0359605cccd6be0c2ffc8bdacc8af989b7 | |
parent | 5f4ad31943d47d15377876696bf947b8fdad8e52 (diff) | |
download | acl-tizen_2.3.tar.gz acl-tizen_2.3.tar.bz2 acl-tizen_2.3.zip |
tizen 2.3 releasetizen_2.3_releasesubmit/tizen_2.3/20150202.061523tizen_2.3
-rw-r--r-- | packaging/acl.spec | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/packaging/acl.spec b/packaging/acl.spec index 850c05a..00360de 100644 --- a/packaging/acl.spec +++ b/packaging/acl.spec @@ -1,4 +1,3 @@ -#sbs-git:slp/pkgs/a/acl acl 2.2.49-3 01110fb39ff779aaa26f141f40d55fe8b4682ddf Name: acl Version: 2.2.49 Release: 1 @@ -62,8 +61,13 @@ defined in POSIX 1003.1e draft standard 17. %build export INSTALL_USER=root INSTALL_GROUP=root +%configure \ + --prefix=/ \ + --exec-prefix=/ \ + --libdir=/%{_lib} \ + --libexecdir=%{_libdir} make configure -make default +make default %{?_smp_mflags} cd po; rm -rf acl.pot; make acl.pot %install @@ -75,8 +79,8 @@ DIST_ROOT=%{buildroot} make -C build src-manifest mkdir -p %{buildroot}/%{_datadir}/license cp -f doc/COPYING.LGPL %{buildroot}/%{_datadir}/license/libacl -rm -f %{buildroot}/lib/*.a -rm -f %{buildroot}/lib/*.la +rm -f %{buildroot}/%{_lib}/*.a +rm -f %{buildroot}/%{_lib}/*.la rm -rf %{buildroot}%{_defaultdocdir} # fix links to shared libs and permissions @@ -89,20 +93,24 @@ chmod 0755 %{buildroot}/%{_lib}/libacl.so.*.*.* %postun -n libacl -p /sbin/ldconfig + %docs_package %files +%defattr(-,root,root,-) %{_bindir}/chacl %{_bindir}/getfacl %{_bindir}/setfacl %{_prefix}/share/locale/*/LC_MESSAGES/*.mo %files -n libacl-devel +%defattr(-,root,root,-) /%{_lib}/libacl.so %{_includedir}/acl %{_includedir}/sys/acl.h %{_libdir}/libacl.* %files -n libacl +%defattr(-,root,root,-) /%{_lib}/libacl.so.* %{_datadir}/license/libacl |