nfs4-acl-tools/nfs4-acl-tools.spec
2007-03-27 16:44:55 +00:00

76 lines
2.0 KiB
RPMSpec

Name: nfs4-acl-tools
Version: 0.3.1
Release: 1%{?dist}.2
Summary: The nfs4 ACL tools
Group: System Environment/Tools
License: BSD
URL: http://www.citi.umich.edu/projects/nfsv4/linux/
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
Source0: http://www.citi.umich.edu/projects/nfsv4/linux/nfs4-acl-tools/%{name}-%{version}.tar.gz
BuildRequires: libtool
BuildRequires: libattr-devel
Patch100: nfs4acl-0.2.0-compile.patch
%description
This package contains commandline and GUI ACL utilities for the Linux
NFSv4 client.
%prep
%setup -q
%patch100 -p1
%build
%ifarch s390 s390x sparc
PIE="-fPIE"
%else
PIE="-fpie"
%endif
CFLAGS="`echo $RPM_OPT_FLAGS $PIE`"
export LDFLAGS="-pie"
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc CHANGELOG COPYING INSTALL README TODO VERSION
%{_bindir}/nfs4_editfacl
%{_bindir}/nfs4_getfacl
%{_bindir}/nfs4_setfacl
%{_mandir}/man1/*
%{_mandir}/man5/*
%changelog
* Tue Mar 27 2007 Steve Dickson <steved@redhat.com> - 0.3.1-1.2
- Checked in to Fedora CVS
* Thu Mar 8 2007 Steve Dickson <steved@redhat.com> - 0.3.1-1.1
- Updated to latest upstream version 0.3.1 which eliminated the
need for the patches introduced in the previous commit.
* Tue Mar 6 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.3.0-1.1
- lose the BR for autotools
- Patch in support for destdir
- use %%configure macro, make DESTDIR= install
- add sparc to -fPIE (trivial, but correct)
- destdir revealed missing/poorly created symlink, patch fixes it, add nfs4_editfacl to files
- LDFLAGS passed to configure/exported were being blindly overwritten, patch fixes
* Fri Mar 2 2007 Steve Dickson <steved@redhat.com> - 0.3.0-1
- Updated to latest upstream version 0.3.0
- Fixed minor issues in spec file from the package review
* Fri Feb 16 2007 Steve Dickson <steved@redhat.com> - 0.2.0-1
- Initial commit