acl-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. Summary: Access control list utilities
  2. Name: acl
  3. Version: 2.2.47
  4. Release: 2%{?_dist_release}
  5. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  6. BuildRequires: libattr-devel >= 2.4.1
  7. BuildRequires: autoconf, libtool >= 1.5, gettext, gawk
  8. Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_%{version}-1.tar.gz
  9. Patch0: acl-2.2.3-multilib.patch
  10. Patch1: acl-2.2.39-build.patch
  11. Patch2: acl-2.2.39-path_max.patch
  12. Patch3: acl-2.2.39-params.patch
  13. Patch4: acl-2.2.45-exitcode.patch
  14. Patch5: acl-2.2.39-segfault.patch
  15. License: GPL
  16. Group: System Environment/Base
  17. URL: http://oss.sgi.com/projects/xfs/
  18. %description
  19. This package contains the getfacl and setfacl utilities needed for
  20. manipulating access control lists.
  21. %package -n libacl
  22. Summary: Dynamic library for access control list support
  23. License: LGPL
  24. Group: System Environment/Libraries
  25. Requires(post): /sbin/ldconfig
  26. Requires(postun): /sbin/ldconfig
  27. %description -n libacl
  28. This package contains the libacl.so dynamic library which contains
  29. the POSIX 1003.1e draft standard 17 functions for manipulating access
  30. control lists.
  31. %package -n libacl-devel
  32. Summary: Access control list static libraries and headers.
  33. License: LGPL
  34. Group: Development/Libraries
  35. Requires: libacl = %{version}-%{release}, libattr-devel
  36. #Requires: nfs-utils-lib, openldap
  37. %description -n libacl-devel
  38. This package contains static libraries and header files needed to develop
  39. programs which make use of the access control list programming interface
  40. defined in POSIX 1003.1e draft standard 17.
  41. %prep
  42. %setup -q
  43. %patch0 -p1 -b .multilib
  44. %patch1 -p1 -b .build
  45. %patch2 -p1 -b .path_max
  46. %patch3 -p1 -b .params
  47. %patch4 -p1 -b .exitcode
  48. %patch5 -p1 -b .segfault
  49. autoconf
  50. %build
  51. touch .census
  52. # acl abuses libexecdir
  53. %configure --libdir=/%{_lib} --libexecdir=%{_libdir}
  54. make LIBTOOL="libtool --tag=CC"%{?_smp_mflags}
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make install DESTDIR=$RPM_BUILD_ROOT
  58. make install-dev DESTDIR=$RPM_BUILD_ROOT
  59. make install-lib DESTDIR=$RPM_BUILD_ROOT
  60. # get rid of libacl.la
  61. rm -f $RPM_BUILD_ROOT/%{_libdir}/libacl.la
  62. # fix links to shared libs and permissions
  63. rm -f $RPM_BUILD_ROOT/%{_libdir}/libacl.so
  64. ln -sf ../../%{_lib}/libacl.so $RPM_BUILD_ROOT/%{_libdir}/libacl.so
  65. chmod 0755 $RPM_BUILD_ROOT/%{_lib}/libacl.so.*.*.*
  66. %find_lang %{name}
  67. %clean
  68. rm -rf $RPM_BUILD_ROOT
  69. %post -n libacl -p /sbin/ldconfig
  70. %postun -n libacl -p /sbin/ldconfig
  71. %files -f %{name}.lang
  72. %defattr(-,root,root)
  73. %{_bindir}/chacl
  74. %{_bindir}/getfacl
  75. %{_bindir}/setfacl
  76. %{_datadir}/doc/acl-%{version}
  77. %{_mandir}/man1/chacl.1*
  78. %{_mandir}/man1/getfacl.1*
  79. %{_mandir}/man1/setfacl.1*
  80. %{_mandir}/man5/acl.5*
  81. %files -n libacl-devel
  82. %defattr(-,root,root)
  83. /%{_lib}/libacl.so
  84. %{_includedir}/acl
  85. %{_includedir}/sys/acl.h
  86. %{_libdir}/libacl.*
  87. %{_mandir}/man3/acl_*
  88. %files -n libacl
  89. %defattr(-,root,root)
  90. /%{_lib}/libacl.so.*
  91. %changelog
  92. * Mon Jun 30 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.2.47-2
  93. - initial build for Vine Linux
  94. * Tue Feb 12 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.47-1
  95. - new upstream version
  96. * Mon Jan 28 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-3
  97. - Fixed segfault when using only "--" as parameter
  98. - Resolves: #430458
  99. * Wed Nov 7 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-2
  100. - Fixed setfacl exitcodes
  101. - Resolves: #368451
  102. * Wed Oct 31 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 2.2.45-1
  103. - New version
  104. - dropped walk patch
  105. * Thu Sep 20 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-10
  106. - Rewriten path_max patch to support long UTF8 names
  107. - Resolves #287701, #183181
  108. * Fri Aug 31 2007 Steve Dickson <steved@redhat.com> - 2.2.39-9
  109. - Removed NFS4 ACL patch since it was rejected by upstream.
  110. * Thu Aug 30 2007 Jeremy Katz <katzj@redhat.com> - 2.2.39-8
  111. - disable nfs patch; linking libacl against libs in /usr will lead to breakage
  112. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-7
  113. - Build Require gawk
  114. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-6
  115. - Rebuild for selinux ppc32 issue.
  116. * Mon Aug 27 2007 Steve Dickson <steved@redhat.com> 2.2.39-5
  117. - Added NFS v4 ACL support
  118. * Thu Jul 26 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4.1
  119. - Updated man page for getfacl
  120. * Wed Jul 25 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4
  121. - Added support fort short params to getfacl
  122. - Resolves: #204087
  123. * Wed Mar 21 2007 Thomas Woerner <twoerner@redhat.com> 2.2.39-3.1
  124. - new improved walk patch with fixed getfacl exit code (rhbz#232884)
  125. * Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 2.2.39-3
  126. - fix buildroot
  127. - remove trailing dot from summary
  128. - -devel requires same version of libacl
  129. - escape macro in changelog
  130. - make .so symlink relative
  131. * Thu Feb 22 2007 Steve Grubb <sgrubb@redhat.com> 2.2.39-2
  132. - Apply patch to make order consistent.
  133. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.39-1.1
  134. - rebuild
  135. * Wed Jul 5 2006 Thomas Woerner <twoerner@redhat.com> 2.2.39-1
  136. - new version 2.2.39
  137. - fixed usage of long UTF-8 filenames (#183181)
  138. Thanks to Andrey for the initial patch.
  139. * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 2.2.34-2
  140. - rebuild for -devel deps
  141. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.2
  142. - bump again for double-long bug on ppc(64)
  143. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.1
  144. - rebuilt for new gcc4.1 snapshot and glibc changes
  145. * Fri Feb 3 2006 Thomas Woerner <twoerner@redhat.com> 2.2.34-1
  146. - new version 2.2.34
  147. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  148. - rebuilt
  149. * Tue Dec 6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2.1
  150. - fixed permissions of libacl
  151. * Tue Dec 6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2
  152. - spec file cleanup
  153. - mark po files as lang specific
  154. * Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
  155. - 2.2.32
  156. * Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.31-1
  157. - update to 2.2.31
  158. * Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.23-9
  159. - get rid of *.la files
  160. - remove duplicate doc files
  161. * Wed Feb 9 2005 Stephen C. Tweedie <sct@redhat.com> 2.2.23-6
  162. - Rebuild
  163. * Thu Sep 16 2004 Jeremy Katz <katzj@redhat.com> - 2.2.23-5
  164. - make the libs executable so that we find their dependencies (#132696)
  165. * Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-4
  166. - libacl-devel Requires: libattr-devel for libattr.la
  167. * Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-3
  168. - Requires libtool >= 1.5 for building
  169. * Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-2
  170. - Make libacl.so.* executable.
  171. * Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-1
  172. - Update to latest upstream version.
  173. * Sun Aug 8 2004 Alan Cox <alan@redhat.com> 2.2.7-7
  174. - Close bug #125300 (Steve Grubb: build requires libtool,gettext)
  175. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  176. - rebuilt
  177. * Wed Mar 31 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-5
  178. - Add missing %%defattr
  179. * Tue Mar 30 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-3
  180. - Add /usr/include/acl to files manifest
  181. - Fix location of doc files, add main doc dir to files manifest
  182. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  183. - rebuilt
  184. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  185. - rebuilt
  186. * Tue Aug 5 2003 Elliot Lee <sopwith@redhat.com> 2.2.7-2
  187. - Fix libtool invocation
  188. * Tue Jun 3 2003 Stephen C. Tweedie <sct@redhat.com> 2.2.7-1
  189. - Update to acl-2.2.7
  190. * Wed Mar 26 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-2
  191. - include patch from Jay Berkenbilt to print better error messages
  192. * Tue Jan 28 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-1
  193. - udpate/rebuild
  194. * Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 2.0.11-7
  195. - set execute bits on library so that requires are generated.
  196. * Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-5
  197. - Correct patch in previous fix so that shared libraries go in /lib*
  198. instead of /usr/lib*
  199. * Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-4
  200. - Fix multilibbing
  201. * Wed Sep 11 2002 Than Ngo <than@redhat.com> 2.0.11-3
  202. - Added fix to install libs in correct directory on 64bit machine
  203. * Thu Aug 08 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-2
  204. - Made the package only own the one directory that is unique to it:
  205. /usr/include/acl
  206. * Mon Jun 24 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-1
  207. - Initial Red Hat package
  208. Made as few changes as possible relative to upstream packaging to
  209. make it easier to maintain long-term. This means that some of
  210. the techniques used here are definitely not standard Red Hat
  211. techniques. If you are looking for an example package to fit
  212. into Red Hat Linux transparently, this would not be the one to
  213. pick.
  214. - acl-devel -> libacl-devel