|
|
d659e4 |
%define _root_libdir /%{_lib}
|
|
|
d659e4 |
|
|
|
d659e4 |
Summary: NFSv4 User and Group ID Mapping Library
|
|
|
d659e4 |
Name: libnfsidmap
|
|
|
d659e4 |
Version: 0.25
|
|
|
534a70 |
Release: 9%{?dist}
|
|
|
d659e4 |
Provides: nfs-utils-lib
|
|
|
d659e4 |
Obsoletes: nfs-utils-lib
|
|
|
d659e4 |
URL: http://www.citi.umich.edu/projects/nfsv4/linux/
|
|
|
d659e4 |
License: BSD
|
|
|
d659e4 |
|
|
|
d659e4 |
Source0: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/%{name}-%{version}.tar.gz
|
|
|
d659e4 |
|
|
|
d659e4 |
Patch001: libnfsidmap-0.26-rc3.patch
|
|
|
d659e4 |
|
|
|
d659e4 |
Group: System Environment/Libraries
|
|
|
d659e4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
d659e4 |
BuildRequires: pkgconfig, openldap-devel
|
|
|
d659e4 |
BuildRequires: automake, libtool
|
|
|
d659e4 |
Requires(postun): /sbin/ldconfig
|
|
|
d659e4 |
Requires(pre): /sbin/ldconfig
|
|
|
d659e4 |
Requires: openldap
|
|
|
d659e4 |
|
|
|
d659e4 |
%description
|
|
|
d659e4 |
Library that handles mapping between names and ids for NFSv4.
|
|
|
d659e4 |
|
|
|
d659e4 |
%package devel
|
|
|
d659e4 |
Summary: Development files for the libnfsidmap library
|
|
|
d659e4 |
Group: Development/Libraries
|
|
|
d659e4 |
Requires: %{name} = %{version}-%{release}
|
|
|
d659e4 |
Requires: pkgconfig
|
|
|
d659e4 |
|
|
|
d659e4 |
%description devel
|
|
|
d659e4 |
This package includes header files and libraries necessary for
|
|
|
d659e4 |
developing programs which use the libnfsidmap library.
|
|
|
d659e4 |
|
|
|
d659e4 |
%prep
|
|
|
d659e4 |
%setup -q
|
|
|
d659e4 |
|
|
|
d659e4 |
%patch001 -p1
|
|
|
d659e4 |
|
|
|
d659e4 |
%build
|
|
|
d659e4 |
./autogen.sh
|
|
|
d659e4 |
%configure --disable-static --with-pluginpath=%{_root_libdir}/%name
|
|
|
d659e4 |
make %{?_smp_mflags} all
|
|
|
d659e4 |
|
|
|
d659e4 |
%install
|
|
|
d659e4 |
rm -rf %{buildroot}
|
|
|
d659e4 |
make install DESTDIR=%{buildroot} \
|
|
|
d659e4 |
libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig
|
|
|
d659e4 |
|
|
|
d659e4 |
mkdir -p %{buildroot}%{_sysconfdir}
|
|
|
d659e4 |
mkdir -p %{buildroot}%{_mandir}/man5
|
|
|
d659e4 |
|
|
|
d659e4 |
install -m 644 idmapd.conf %{buildroot}%{_sysconfdir}/idmapd.conf
|
|
|
d659e4 |
|
|
|
d659e4 |
# Delete unneeded libtool libs
|
|
|
d659e4 |
rm -rf %{buildroot}%{_root_libdir}/*.{a,la}
|
|
|
d659e4 |
rm -rf %{buildroot}%{_root_libdir}/%{name}/*.{a,la}
|
|
|
d659e4 |
|
|
|
d659e4 |
%post -p /sbin/ldconfig
|
|
|
d659e4 |
|
|
|
d659e4 |
%postun -p /sbin/ldconfig
|
|
|
d659e4 |
|
|
|
d659e4 |
%clean
|
|
|
d659e4 |
rm -rf %{buildroot}
|
|
|
d659e4 |
|
|
|
d659e4 |
%files
|
|
|
d659e4 |
%defattr(-,root,root,-)
|
|
|
d659e4 |
%doc AUTHORS ChangeLog NEWS README COPYING
|
|
|
d659e4 |
%config(noreplace) %{_sysconfdir}/idmapd.conf
|
|
|
d659e4 |
%{_root_libdir}/*.so.*
|
|
|
d659e4 |
%{_root_libdir}/%{name}/*.so
|
|
|
d659e4 |
%{_mandir}/*/*
|
|
|
d659e4 |
|
|
|
d659e4 |
%files devel
|
|
|
d659e4 |
%defattr(0644,root,root,755)
|
|
|
d659e4 |
%{_libdir}/pkgconfig/libnfsidmap.pc
|
|
|
d659e4 |
%{_includedir}/nfsidmap.h
|
|
|
d659e4 |
%{_root_libdir}/*.so
|
|
|
d659e4 |
|
|
|
d659e4 |
%changelog
|
|
|
534a70 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.25-9
|
|
|
534a70 |
- Mass rebuild 2014-01-24
|
|
|
534a70 |
|
|
|
534a70 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.25-8
|
|
|
534a70 |
- Mass rebuild 2013-12-27
|
|
|
534a70 |
|
|
|
d659e4 |
* Mon Aug 19 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.25-7
|
|
|
d659e4 |
- Updated to latest rc release: libnfsidmap-0-26-rc3
|
|
|
d659e4 |
|
|
|
d659e4 |
* Fri Jul 26 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.25-6
|
|
|
d659e4 |
- Drop unnecessary doc dir references from specfile.
|
|
|
d659e4 |
- Fix bogus dates in %%changelog.
|
|
|
d659e4 |
|
|
|
d659e4 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-5
|
|
|
d659e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
d659e4 |
|
|
|
d659e4 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-4
|
|
|
d659e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
d659e4 |
|
|
|
d659e4 |
* Tue Jun 19 2012 Steve Dickson <steved@redhat.com> 0.20-3
|
|
|
d659e4 |
- Updated to latest rc release: libnfsidmap-0-26-rc1
|
|
|
d659e4 |
|
|
|
d659e4 |
* Mon Mar 19 2012 Steve Dickson <steved@redhat.com> 0.20-2
|
|
|
d659e4 |
- Fixed Local-Realms debugging (bz 804152)
|
|
|
d659e4 |
|
|
|
d659e4 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-1
|
|
|
d659e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d659e4 |
|
|
|
d659e4 |
* Tue Dec 6 2011 Steve Dickson <steved@redhat.com> 0.20-0
|
|
|
d659e4 |
- Updated to latest release: libnfsidmap-0.25
|
|
|
d659e4 |
|
|
|
d659e4 |
* Mon Nov 14 2011 Steve Dickson <steved@redhat.com> 0.24-7
|
|
|
d659e4 |
- Updated to latest rc release: libnfsidmap-0-25-rc3 (bz 753930)
|
|
|
d659e4 |
|
|
|
d659e4 |
* Mon Mar 7 2011 Steve Dickson <steved@redhat.com> 0.24-6
|
|
|
d659e4 |
- Updated to latest rc release: libnfsidmap-0-25-rc2
|
|
|
d659e4 |
|
|
|
d659e4 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-5
|
|
|
d659e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d659e4 |
|
|
|
d659e4 |
* Fri Jan 14 2011 Steve Dickson <steved@redhat.com> 0.24-4
|
|
|
d659e4 |
- Updated to latest rc release: libnfsidmap-0-25-rc1
|
|
|
d659e4 |
|
|
|
d659e4 |
* Wed Dec 22 2010 Steve Dickson <steved@redhat.com> 0.24-3
|
|
|
d659e4 |
- Used the newly added --with-pluginpath config flag to
|
|
|
d659e4 |
redefine where the plugins live (bz 664641).
|
|
|
d659e4 |
|
|
|
d659e4 |
* Fri Dec 10 2010 Steve Dickson <steved@redhat.com> 0.24-2
|
|
|
d659e4 |
- Removed the versions from the Provides: and Obsoletes: lines
|
|
|
d659e4 |
|
|
|
d659e4 |
* Wed Dec 8 2010 Steve Dickson <steved@redhat.com> 0.24-1
|
|
|
d659e4 |
- Updated to latest upstream release: 0.24
|
|
|
d659e4 |
- Obsoleted nfs-utils-lib
|
|
|
d659e4 |
|
|
|
d659e4 |
* Tue Dec 7 2010 Steve Dickson <steved@redhat.com> 0.23-3
|
|
|
d659e4 |
- Maded corrections in spec per review comments.
|
|
|
d659e4 |
|
|
|
d659e4 |
* Fri Dec 3 2010 Steve Dickson <steved@redhat.com> 0.23-2
|
|
|
d659e4 |
- Initial commit
|