csomh / rpms / acl

Forked from rpms/acl 4 years ago
Clone

Blame SPECS/acl.spec

9d170c
Summary: Access control list utilities
9d170c
Name: acl
9d170c
Version: 2.2.51
9d170c
Release: 9%{?dist}
9d170c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9d170c
BuildRequires: gawk
9d170c
BuildRequires: gettext
9d170c
BuildRequires: libattr-devel
9d170c
BuildRequires: libtool
9d170c
Requires: libacl = %{version}-%{release}
9d170c
Source: http://download.savannah.gnu.org/releases-noredirect/acl/acl-%{version}.src.tar.gz
9d170c
Patch1: acl-2.2.39-build.patch
9d170c
9d170c
# prepare the test-suite for SELinux and arbitrary umask
9d170c
Patch4: acl-2.2.49-tests.patch
9d170c
9d170c
# fix typos in setfacl(1) man page (#675451)
9d170c
Patch6: acl-2.2.49-bz675451.patch
9d170c
9d170c
License: GPLv2+
9d170c
Group: System Environment/Base
9d170c
URL: http://acl.bestbits.at/
9d170c
9d170c
%description
9d170c
This package contains the getfacl and setfacl utilities needed for
9d170c
manipulating access control lists.
9d170c
9d170c
%package -n libacl
9d170c
Summary: Dynamic library for access control list support
9d170c
License: LGPLv2+
9d170c
Group: System Environment/Libraries
9d170c
Requires(post): /sbin/ldconfig
9d170c
Requires(postun): /sbin/ldconfig
9d170c
Conflicts: filesystem < 3
9d170c
9d170c
%description -n libacl
9d170c
This package contains the libacl.so dynamic library which contains
9d170c
the POSIX 1003.1e draft standard 17 functions for manipulating access
9d170c
control lists.
9d170c
9d170c
%package -n libacl-devel
9d170c
Summary: Files needed for building programs with libacl
9d170c
License: LGPLv2+
9d170c
Group: Development/Libraries
9d170c
Requires: libacl = %{version}-%{release}, libattr-devel
9d170c
9d170c
%description -n libacl-devel
9d170c
This package contains header files and documentation needed to develop
9d170c
programs which make use of the access control list programming interface
9d170c
defined in POSIX 1003.1e draft standard 17.
9d170c
9d170c
%prep
9d170c
%setup -q
9d170c
%patch1 -p1
9d170c
%patch4 -p1
9d170c
%patch6 -p1
9d170c
9d170c
%build
9d170c
touch .census
9d170c
# acl abuses libexecdir
9d170c
%configure --libexecdir=%{_libdir}
9d170c
9d170c
# uncomment to turn on optimizations
9d170c
# sed -i 's/-O2/-O0/' libtool include/builddefs
9d170c
# unset CFLAGS
9d170c
9d170c
make %{?_smp_mflags} LIBTOOL="libtool --tag=CC"
9d170c
9d170c
%check
9d170c
if ./setfacl/setfacl -m u:`id -u`:rwx .; then
9d170c
    make tests || exit $?
9d170c
    if test 0 = `id -u`; then
9d170c
        make root-tests || exit $?
9d170c
    fi
9d170c
else
9d170c
    echo '*** ACLs are probably not supported by the file system,' \
9d170c
         'the test-suite will NOT run ***'
9d170c
fi
9d170c
9d170c
%install
9d170c
make install DESTDIR=$RPM_BUILD_ROOT
9d170c
make install-dev DESTDIR=$RPM_BUILD_ROOT
9d170c
make install-lib DESTDIR=$RPM_BUILD_ROOT
9d170c
9d170c
# get rid of libacl.a and libacl.la
9d170c
rm -f $RPM_BUILD_ROOT%{_libdir}/libacl.a
9d170c
rm -f $RPM_BUILD_ROOT%{_libdir}/libacl.la
9d170c
rm -f $RPM_BUILD_ROOT%{_libdir}/libacl.a
9d170c
rm -f $RPM_BUILD_ROOT%{_libdir}/libacl.la
9d170c
9d170c
chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libacl.so.*.*.*
9d170c
9d170c
%find_lang %{name}
9d170c
9d170c
%post -n libacl -p /sbin/ldconfig
9d170c
9d170c
%postun -n libacl -p /sbin/ldconfig
9d170c
9d170c
%files -f %{name}.lang
9d170c
%{_bindir}/chacl
9d170c
%{_bindir}/getfacl
9d170c
%{_bindir}/setfacl
9d170c
%{_datadir}/doc/acl-%{version}
9d170c
%{_mandir}/man1/chacl.1*
9d170c
%{_mandir}/man1/getfacl.1*
9d170c
%{_mandir}/man1/setfacl.1*
9d170c
%{_mandir}/man5/acl.5*
9d170c
9d170c
%files -n libacl-devel
9d170c
%{_libdir}/libacl.so
9d170c
%{_includedir}/acl
9d170c
%{_includedir}/sys/acl.h
9d170c
%{_mandir}/man3/acl_*
9d170c
9d170c
%files -n libacl
9d170c
%{_libdir}/libacl.so.*
9d170c
9d170c
%changelog
9d170c
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.51-9
9d170c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9d170c
9d170c
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> 2.2.51-8
9d170c
- fix specfile issues reported by the fedora-review script
9d170c
9d170c
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.51-7
9d170c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9d170c
9d170c
* Wed May 02 2012 Kamil Dudka <kdudka@redhat.com> 2.2.51-6
9d170c
- do not mention static libraries in the summary of libacl{,-devel} (#817952)
9d170c
9d170c
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.2.51-5
9d170c
- add filesystem guard
9d170c
9d170c
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.2.51-4
9d170c
- install everything in /usr
9d170c
  https://fedoraproject.org/wiki/Features/UsrMove
9d170c
9d170c
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.51-3
9d170c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9d170c
9d170c
* Fri May 06 2011 Kamil Dudka <kdudka@redhat.com> 2.2.51-2
9d170c
- update project URL (#699058)
9d170c
9d170c
* Thu Apr 21 2011 Kamil Dudka <kdudka@redhat.com> 2.2.51-1
9d170c
- new upstream release
9d170c
9d170c
* Tue Apr 19 2011 Kamil Dudka <kdudka@redhat.com> 2.2.50-1
9d170c
- new upstream release
9d170c
9d170c
* Wed Apr 06 2011 Kamil Dudka <kdudka@redhat.com> 2.2.49-11
9d170c
- add function acl_extended_file_nofollow() (#692982)
9d170c
9d170c
* Tue Mar 29 2011 Kamil Dudka <kdudka@redhat.com> 2.2.49-10
9d170c
- fix typos in setfacl(1) man page (#675451)
9d170c
9d170c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.49-9
9d170c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9d170c
9d170c
* Thu Jul 08 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-8
9d170c
- remove dependency of libacl-devel on nfs-utils-lib and openldap
9d170c
9d170c
* Tue May 25 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-7
9d170c
- let acl depend on the same version of libacl (#595674)
9d170c
9d170c
* Wed Mar 24 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-6
9d170c
- prevent setfacl --restore from SIGSEGV on malformed restore file (#576550)
9d170c
9d170c
* Wed Mar 10 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-5
9d170c
- run the test-suite if possible
9d170c
9d170c
* Tue Jan 19 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-4
9d170c
- do not package a static library (#556036)
9d170c
- remove multilib patch no longer useful
9d170c
- cleanup in BuildRequires
9d170c
9d170c
* Tue Jan 05 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-3
9d170c
- upstream patch for setfacl --restore SUID/SGID bits handling (#467936)
9d170c
9d170c
* Sat Dec 26 2009 Kamil Dudka <kdudka@redhat.com> 2.2.49-2
9d170c
- tweaked setfacl tree walk flags (#488674), thanks to Markus Steinborn
9d170c
9d170c
* Sun Dec 20 2009 Kamil Dudka <kdudka@redhat.com> 2.2.49-1
9d170c
- new upstream bugfix release
9d170c
- big cleanup in patches
9d170c
9d170c
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.47-5
9d170c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9d170c
9d170c
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.47-4
9d170c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9d170c
9d170c
* Thu Jul 31 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.47-3
9d170c
- little improvement to params patch
9d170c
- Resolves: #457244
9d170c
9d170c
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.47-2
9d170c
- rework params patch to apply with fuzz=0
9d170c
- fix license tag
9d170c
9d170c
* Tue Feb 12 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.47-1
9d170c
- new upstream version
9d170c
9d170c
* Mon Jan 28 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-3
9d170c
- Fixed segfault when using only "--" as parameter
9d170c
- Resolves: #430458
9d170c
9d170c
* Wed Nov  7 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-2
9d170c
- Fixed setfacl exitcodes
9d170c
- Resolves: #368451
9d170c
9d170c
* Wed Oct 31 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 2.2.45-1
9d170c
- New version
9d170c
- dropped walk patch
9d170c
9d170c
* Thu Sep 20 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-10
9d170c
- Rewriten path_max patch to support long UTF8 names
9d170c
- Resolves #287701, #183181
9d170c
9d170c
* Fri Aug 31 2007 Steve Dickson <steved@redhat.com> - 2.2.39-9
9d170c
- Removed NFS4 ACL patch since it was rejected by upstream.
9d170c
9d170c
* Thu Aug 30 2007 Jeremy Katz <katzj@redhat.com> - 2.2.39-8
9d170c
- disable nfs patch; linking libacl against libs in /usr will lead to breakage
9d170c
9d170c
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-7
9d170c
- Build Require gawk
9d170c
9d170c
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-6
9d170c
- Rebuild for selinux ppc32 issue.
9d170c
9d170c
* Mon Aug 27 2007 Steve Dickson <steved@redhat.com>  2.2.39-5
9d170c
- Added NFS v4 ACL support
9d170c
9d170c
* Thu Jul 26 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4.1
9d170c
- Updated man page for getfacl
9d170c
9d170c
* Wed Jul 25 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4
9d170c
- Added support fort short params to getfacl
9d170c
- Resolves: #204087
9d170c
9d170c
* Wed Mar 21 2007 Thomas Woerner <twoerner@redhat.com> 2.2.39-3.1
9d170c
- new improved walk patch with fixed getfacl exit code (rhbz#232884)
9d170c
9d170c
* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 2.2.39-3
9d170c
- fix buildroot
9d170c
- remove trailing dot from summary
9d170c
- -devel requires same version of libacl
9d170c
- escape macro in changelog
9d170c
- make .so symlink relative
9d170c
9d170c
* Thu Feb 22 2007 Steve Grubb <sgrubb@redhat.com> 2.2.39-2
9d170c
- Apply patch to make order consistent.
9d170c
9d170c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.39-1.1
9d170c
- rebuild
9d170c
9d170c
* Wed Jul  5 2006 Thomas Woerner <twoerner@redhat.com> 2.2.39-1
9d170c
- new version 2.2.39
9d170c
- fixed usage of long UTF-8 filenames (#183181)
9d170c
  Thanks to Andrey for the initial patch.
9d170c
9d170c
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 2.2.34-2
9d170c
- rebuild for -devel deps
9d170c
9d170c
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.2
9d170c
- bump again for double-long bug on ppc(64)
9d170c
9d170c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.1
9d170c
- rebuilt for new gcc4.1 snapshot and glibc changes
9d170c
9d170c
* Fri Feb  3 2006 Thomas Woerner <twoerner@redhat.com> 2.2.34-1
9d170c
- new version 2.2.34
9d170c
9d170c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
9d170c
- rebuilt
9d170c
9d170c
* Tue Dec  6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2.1
9d170c
- fixed permissions of libacl
9d170c
9d170c
* Tue Dec  6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2
9d170c
- spec file cleanup
9d170c
- mark po files as lang specific
9d170c
9d170c
* Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
9d170c
- 2.2.32
9d170c
9d170c
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.31-1
9d170c
- update to 2.2.31
9d170c
9d170c
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.23-9
9d170c
- get rid of *.la files
9d170c
- remove duplicate doc files
9d170c
9d170c
* Wed Feb  9 2005 Stephen C. Tweedie <sct@redhat.com> 2.2.23-6
9d170c
- Rebuild
9d170c
9d170c
* Thu Sep 16 2004 Jeremy Katz <katzj@redhat.com> - 2.2.23-5
9d170c
- make the libs executable so that we find their dependencies (#132696)
9d170c
9d170c
* Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-4
9d170c
- libacl-devel Requires: libattr-devel for libattr.la
9d170c
9d170c
* Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-3
9d170c
- Requires libtool >= 1.5 for building
9d170c
9d170c
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-2
9d170c
- Make libacl.so.* executable.
9d170c
9d170c
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-1
9d170c
- Update to latest upstream version.
9d170c
9d170c
* Sun Aug  8 2004 Alan Cox <alan@redhat.com> 2.2.7-7
9d170c
- Close bug #125300 (Steve Grubb: build requires libtool,gettext)
9d170c
9d170c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
9d170c
- rebuilt
9d170c
9d170c
* Wed Mar 31 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-5
9d170c
- Add missing %%defattr
9d170c
9d170c
* Tue Mar 30 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-3
9d170c
- Add /usr/include/acl to files manifest
9d170c
- Fix location of doc files, add main doc dir to files manifest
9d170c
9d170c
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
9d170c
- rebuilt
9d170c
9d170c
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
9d170c
- rebuilt
9d170c
9d170c
* Tue Aug  5 2003 Elliot Lee <sopwith@redhat.com> 2.2.7-2
9d170c
- Fix libtool invocation
9d170c
9d170c
* Tue Jun  3 2003 Stephen C. Tweedie <sct@redhat.com> 2.2.7-1
9d170c
- Update to acl-2.2.7
9d170c
9d170c
* Wed Mar 26 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-2
9d170c
- include patch from Jay Berkenbilt to print better error messages
9d170c
9d170c
* Tue Jan 28 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-1
9d170c
- udpate/rebuild
9d170c
9d170c
* Sat Jan  4 2003 Jeff Johnson <jbj@redhat.com> 2.0.11-7
9d170c
- set execute bits on library so that requires are generated.
9d170c
9d170c
* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-5
9d170c
- Correct patch in previous fix so that shared libraries go in /lib* 
9d170c
  instead of /usr/lib*
9d170c
9d170c
* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-4
9d170c
- Fix multilibbing
9d170c
9d170c
* Wed Sep 11 2002 Than Ngo <than@redhat.com> 2.0.11-3
9d170c
- Added fix to install libs in correct directory on 64bit machine
9d170c
9d170c
* Thu Aug 08 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-2
9d170c
- Made the package only own the one directory that is unique to it:
9d170c
  /usr/include/acl
9d170c
9d170c
* Mon Jun 24 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-1
9d170c
- Initial Red Hat package
9d170c
  Made as few changes as possible relative to upstream packaging to
9d170c
  make it easier to maintain long-term.  This means that some of
9d170c
  the techniques used here are definitely not standard Red Hat
9d170c
  techniques.  If you are looking for an example package to fit
9d170c
  into Red Hat Linux transparently, this would not be the one to
9d170c
  pick.
9d170c
- acl-devel -> libacl-devel