michael@0: Summary: Network File System Support Library michael@0: Name: nfs-utils-lib michael@0: Version: 1.1.5 michael@0: Release: 2%{?dist} michael@0: URL: http://www.citi.umich.edu/projects/nfsv4/linux/ michael@0: License: BSD michael@0: michael@0: %define idmapvers 0.23 michael@0: %define libnfsidmap libnfsidmap michael@0: %define rpcsecgssvers 0.18 michael@0: %define librpcsecgss librpcsecgss michael@0: %define libs %{librpcsecgss} %{libnfsidmap} michael@0: michael@0: %define _docdir %{_defaultdocdir}/%{name}-%{version} michael@0: %define librpcsecgss_docdir %{_docdir}/%{librpcsecgss}-%{rpcsecgssvers} michael@0: %define libnfsidmap_docdir %{_docdir}/%{libnfsidmap}-%{idmapvers} michael@0: michael@0: Source0: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/%{libnfsidmap}-%{idmapvers}.tar.gz michael@0: Source1: http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/%{librpcsecgss}-%{rpcsecgssvers}.tar.gz michael@0: michael@0: Patch000: nfs-utils-lib-changelicensetoBSD.patch michael@0: michael@0: Group: System Environment/Libraries michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-root michael@0: BuildRequires: pkgconfig, gettext, autoconf, automake michael@0: BuildRequires: libgssglue-devel, openldap-devel michael@0: Requires(postun): /sbin/ldconfig michael@0: Requires(pre): /sbin/ldconfig michael@0: Requires: libgssglue, openldap, nfs-utils >= 1.2.1-14 michael@0: michael@0: %description michael@0: Support libraries that are needed by the commands and michael@0: daemons the nfs-utils rpm. michael@0: michael@0: %package devel michael@0: Summary: Development files for the nfs-utils-lib library michael@0: Group: Development/Libraries michael@0: Requires: %{name} = %{version}-%{release} michael@0: Requires: pkgconfig michael@0: michael@0: %description devel michael@0: This package includes header files and libraries necessary for michael@0: developing programs which use the nfs-utils-lib library. michael@0: michael@0: %prep michael@0: %setup -c -q -a1 michael@0: mv %{libnfsidmap}-%{idmapvers} %{libnfsidmap} michael@0: mv %{librpcsecgss}-%{rpcsecgssvers} %{librpcsecgss} michael@0: michael@0: %patch000 -p1 michael@0: michael@0: %build michael@0: michael@0: for dir in %{libs} ; do michael@0: pushd $dir michael@0: %configure --disable-static michael@0: popd michael@0: done michael@0: for dir in %{libs} ; do michael@0: pushd $dir michael@0: make all michael@0: popd michael@0: done michael@0: michael@0: %install michael@0: rm -rf %{buildroot} michael@0: for dir in %{libs} ; do michael@0: pushd $dir michael@0: DESTDIR=%{buildroot} make install michael@0: popd michael@0: done michael@0: michael@0: mkdir -p %{buildroot}/%{librpcsecgss_docdir} michael@0: pushd %{librpcsecgss} michael@0: for file in AUTHORS ChangeLog NEWS README ; do michael@0: install -m 644 $file %{buildroot}/%{librpcsecgss_docdir} michael@0: done michael@0: popd michael@0: michael@0: mkdir -p %{buildroot}/%{libnfsidmap_docdir} michael@0: pushd %{libnfsidmap} michael@0: for file in AUTHORS ChangeLog NEWS README ; do michael@0: install -m 644 $file %{buildroot}/%{libnfsidmap_docdir} michael@0: done michael@0: popd michael@0: michael@0: mkdir -p %{buildroot}/etc michael@0: install -m 644 %{libnfsidmap}/idmapd.conf $RPM_BUILD_ROOT/etc/idmapd.conf michael@0: mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5 michael@0: michael@0: # Delete unneeded libtool libs michael@0: rm -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la ${RPM_BUILD_ROOT}%{_libdir}/libnfsidmap/*.la michael@0: michael@0: %post -p /sbin/ldconfig michael@0: michael@0: %postun -p /sbin/ldconfig michael@0: michael@0: %clean michael@0: rm -rf %{buildroot} michael@0: michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %dir %{_docdir} michael@0: %{_libdir}/librpcsecgss.so.* michael@0: %dir %{librpcsecgss_docdir} michael@0: %{librpcsecgss_docdir}/* michael@0: michael@0: %config(noreplace) /etc/idmapd.conf michael@0: %{_libdir}/libnfsidmap*.so.* michael@0: %dir %{libnfsidmap_docdir} michael@0: %{libnfsidmap_docdir}/* michael@0: %{_mandir}/*/* michael@0: %{_libdir}/libnfsidmap/*.so michael@0: michael@0: %files devel michael@0: %defattr(0644,root,root,755) michael@0: %{_libdir}/librpcsecgss.so michael@0: %dir %{_includedir}/rpcsecgss michael@0: %dir %{_includedir}/rpcsecgss/rpc michael@0: %{_libdir}/pkgconfig/librpcsecgss.pc michael@0: %{_libdir}/pkgconfig/libnfsidmap.pc michael@0: %{_includedir}/rpcsecgss/rpc/auth.h michael@0: %{_includedir}/rpcsecgss/rpc/auth_gss.h michael@0: %{_includedir}/rpcsecgss/rpc/svc.h michael@0: %{_includedir}/rpcsecgss/rpc/svc_auth.h michael@0: %{_includedir}/rpcsecgss/rpc/rpc.h michael@0: %{_includedir}/rpcsecgss/rpc/rpcsecgss_rename.h michael@0: %{_includedir}/nfsidmap.h michael@0: %{_libdir}/libnfsidmap*.so michael@0: michael@0: %changelog michael@0: * Fri May 28 2010 Tom "spot" Callaway - 1.1.5-2 michael@0: - disable static libs (bz 556087) michael@0: - disable libtool libs michael@0: michael@0: * Mon Jan 25 2010 Steve Dickson 1.1.5-1 michael@0: Updated to latest upstream release: libnfsidmap-0.23 michael@0: michael@0: * Sat Jul 25 2009 Fedora Release Engineering - 1.1.4-8 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild michael@0: michael@0: * Fri Jun 5 2009 Steve Dickson 1.1.4-7 michael@0: - Added a debug line to log when the local realm is not found michael@0: michael@0: * Tue May 19 2009 Tom "spot" Callaway 1.1.4-6 michael@0: - Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems michael@0: michael@0: * Mon Apr 13 2009 Steve Dickson 1.1.4-5 michael@0: - Moved the .pc files into the -devel rpm (bz 489173) michael@0: michael@0: * Wed Apr 1 2009 Michael Schwendt - 1.1.4-4 michael@0: - Fix unowned header directories (#483464). michael@0: michael@0: * Wed Feb 25 2009 Fedora Release Engineering - 1.1.4-3 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild michael@0: michael@0: * Fri Oct 24 2008 Steve Dickson 1.1.4-2 michael@0: - Incorporated from upstream as to how how nss deals michael@0: with Local Realms michael@0: michael@0: * Sat Oct 18 2008 Steve Dickson 1.1.4-1 michael@0: - Fixed a bad assumtion in nss code. michael@0: michael@0: * Wed Aug 27 2008 Steve Dickson 1.1.3-2 michael@0: - Upgraded librpcsecgss to latest upstream version: 0.18 michael@0: michael@0: * Wed Aug 27 2008 Steve Dickson 1.1.3-1 michael@0: - Upgraded libnfsidmap to latest upstream version: 0.21 michael@0: michael@0: * Fri Jun 27 2008 Steve Dickson 1.1.1-4 michael@0: - In idmapd.conf, commented out 'Domain' so DNS will be michael@0: used to define the domainname. (bz 447237) michael@0: michael@0: * Tue Feb 19 2008 Fedora Release Engineering - 1.1.1-3 michael@0: - Autorebuild for GCC 4.3 michael@0: michael@0: * Thu Jan 24 2008 Steve Dickson 1.1.1-2 michael@0: - Changed the file mode on documentation files (bz 427827) michael@0: - Chagned how the doc directories are created so they michael@0: are owned by the package. (bz 211001) michael@0: michael@0: * Thu Jan 24 2008 Steve Dickson 1.1.1-1 michael@0: - Updated librpcsecgss to the 0.17 release michael@0: michael@0: * Tue Dec 04 2007 Release Engineering - 1.1.0-4 michael@0: - Rebuild for openldap bump michael@0: michael@0: * Tue Oct 16 2007 Steve Dickson 1.1.0-3 michael@0: - Switch the libgssapi dependency to libgssglue michael@0: - Updated librpcsecgss to the 0.16 release michael@0: michael@0: * Wed Aug 29 2007 Fedora Release Engineering - 1.1.0-2 michael@0: - Rebuild for selinux ppc32 issue. michael@0: michael@0: * Sat Jul 28 2007 Steve Dickson 1.1.0-1 michael@0: - Updated libnfsidmap to the 0.20 release michael@0: - Added rules to install/remove /etc/idmap.conf michael@0: michael@0: * Mon Mar 12 2007 Steve Dickson 1.0.8-9 michael@0: - Removed the --prefix=$RPM_BUILD_ROOT from the %%configure (bz 213152) michael@0: michael@0: * Tue Feb 20 2007 Steve Dickson 1.0.8-8 michael@0: - Updated libnfsidmap to the 0.19 release michael@0: michael@0: * Fri Dec 1 2006 Steve Dickson 1.0.8-7.3 michael@0: - Fixed typo in the package description (bz 189652) michael@0: michael@0: * Wed Aug 30 2006 Steve Dickson 1.0.8-7.2 michael@0: - added automake to BuildRequires: michael@0: michael@0: * Wed Aug 30 2006 Steve Dickson 1.0.8-7.1 michael@0: - rebuild michael@0: michael@0: * Wed Aug 2 2006 Steve Dickson 1.0.8-7 michael@0: - Updated librpcsecgss to -0.14 michael@0: michael@0: * Wed Jul 26 2006 Steve Dickson 1.0.8-6 michael@0: - Added GSSLIBS to the linking of librpcsecgss (bz 198238) michael@0: michael@0: * Wed Jul 12 2006 Jesse Keating - 1.0.8-5.1 michael@0: - rebuild michael@0: michael@0: * Tue Jun 20 2006 Steve Dickson 1.0.8-3.1 michael@0: - Updated libnfsidmap and librpcsecgss to latest upstream version michael@0: michael@0: * Fri Feb 10 2006 Jesse Keating - 1.0.8-3.1 michael@0: - bump again for double-long bug on ppc(64) michael@0: michael@0: * Thu Feb 09 2006 Florian La Roche 1.0.8-3 michael@0: - remove empty scripts michael@0: michael@0: * Tue Feb 07 2006 Jesse Keating - 1.0.8-2.1 michael@0: - rebuilt for new gcc4.1 snapshot and glibc changes michael@0: michael@0: * Thu Jan 19 2006 Steve Dickson 1.0.8-2 michael@0: - Added debugging routines to libnfsidmap michael@0: michael@0: * Fri Jan 6 2006 Steve Dickson 1.0.8-1 michael@0: - Initial commit