1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nfs-utils-lib/nfs-utils-lib.spec Fri Mar 11 21:30:26 2011 +0100 1.3 @@ -0,0 +1,240 @@ 1.4 +Summary: Network File System Support Library 1.5 +Name: nfs-utils-lib 1.6 +Version: 1.1.5 1.7 +Release: 2%{?dist} 1.8 +URL: http://www.citi.umich.edu/projects/nfsv4/linux/ 1.9 +License: BSD 1.10 + 1.11 +%define idmapvers 0.23 1.12 +%define libnfsidmap libnfsidmap 1.13 +%define rpcsecgssvers 0.18 1.14 +%define librpcsecgss librpcsecgss 1.15 +%define libs %{librpcsecgss} %{libnfsidmap} 1.16 + 1.17 +%define _docdir %{_defaultdocdir}/%{name}-%{version} 1.18 +%define librpcsecgss_docdir %{_docdir}/%{librpcsecgss}-%{rpcsecgssvers} 1.19 +%define libnfsidmap_docdir %{_docdir}/%{libnfsidmap}-%{idmapvers} 1.20 + 1.21 +Source0: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/%{libnfsidmap}-%{idmapvers}.tar.gz 1.22 +Source1: http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/%{librpcsecgss}-%{rpcsecgssvers}.tar.gz 1.23 + 1.24 +Patch000: nfs-utils-lib-changelicensetoBSD.patch 1.25 + 1.26 +Group: System Environment/Libraries 1.27 +BuildRoot: %{_tmppath}/%{name}-%{version}-root 1.28 +BuildRequires: pkgconfig, gettext, autoconf, automake 1.29 +BuildRequires: libgssglue-devel, openldap-devel 1.30 +Requires(postun): /sbin/ldconfig 1.31 +Requires(pre): /sbin/ldconfig 1.32 +Requires: libgssglue, openldap, nfs-utils >= 1.2.1-14 1.33 + 1.34 +%description 1.35 +Support libraries that are needed by the commands and 1.36 +daemons the nfs-utils rpm. 1.37 + 1.38 +%package devel 1.39 +Summary: Development files for the nfs-utils-lib library 1.40 +Group: Development/Libraries 1.41 +Requires: %{name} = %{version}-%{release} 1.42 +Requires: pkgconfig 1.43 + 1.44 +%description devel 1.45 +This package includes header files and libraries necessary for 1.46 +developing programs which use the nfs-utils-lib library. 1.47 + 1.48 +%prep 1.49 +%setup -c -q -a1 1.50 +mv %{libnfsidmap}-%{idmapvers} %{libnfsidmap} 1.51 +mv %{librpcsecgss}-%{rpcsecgssvers} %{librpcsecgss} 1.52 + 1.53 +%patch000 -p1 1.54 + 1.55 +%build 1.56 + 1.57 +for dir in %{libs} ; do 1.58 + pushd $dir 1.59 + %configure --disable-static 1.60 + popd 1.61 +done 1.62 +for dir in %{libs} ; do 1.63 + pushd $dir 1.64 + make all 1.65 + popd 1.66 +done 1.67 + 1.68 +%install 1.69 +rm -rf %{buildroot} 1.70 +for dir in %{libs} ; do 1.71 + pushd $dir 1.72 + DESTDIR=%{buildroot} make install 1.73 + popd 1.74 +done 1.75 + 1.76 +mkdir -p %{buildroot}/%{librpcsecgss_docdir} 1.77 +pushd %{librpcsecgss} 1.78 +for file in AUTHORS ChangeLog NEWS README ; do 1.79 + install -m 644 $file %{buildroot}/%{librpcsecgss_docdir} 1.80 +done 1.81 +popd 1.82 + 1.83 +mkdir -p %{buildroot}/%{libnfsidmap_docdir} 1.84 +pushd %{libnfsidmap} 1.85 +for file in AUTHORS ChangeLog NEWS README ; do 1.86 + install -m 644 $file %{buildroot}/%{libnfsidmap_docdir} 1.87 +done 1.88 +popd 1.89 + 1.90 +mkdir -p %{buildroot}/etc 1.91 +install -m 644 %{libnfsidmap}/idmapd.conf $RPM_BUILD_ROOT/etc/idmapd.conf 1.92 +mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5 1.93 + 1.94 +# Delete unneeded libtool libs 1.95 +rm -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la ${RPM_BUILD_ROOT}%{_libdir}/libnfsidmap/*.la 1.96 + 1.97 +%post -p /sbin/ldconfig 1.98 + 1.99 +%postun -p /sbin/ldconfig 1.100 + 1.101 +%clean 1.102 +rm -rf %{buildroot} 1.103 + 1.104 + 1.105 +%files 1.106 +%defattr(-,root,root,-) 1.107 +%dir %{_docdir} 1.108 +%{_libdir}/librpcsecgss.so.* 1.109 +%dir %{librpcsecgss_docdir} 1.110 +%{librpcsecgss_docdir}/* 1.111 + 1.112 +%config(noreplace) /etc/idmapd.conf 1.113 +%{_libdir}/libnfsidmap*.so.* 1.114 +%dir %{libnfsidmap_docdir} 1.115 +%{libnfsidmap_docdir}/* 1.116 +%{_mandir}/*/* 1.117 +%{_libdir}/libnfsidmap/*.so 1.118 + 1.119 +%files devel 1.120 +%defattr(0644,root,root,755) 1.121 +%{_libdir}/librpcsecgss.so 1.122 +%dir %{_includedir}/rpcsecgss 1.123 +%dir %{_includedir}/rpcsecgss/rpc 1.124 +%{_libdir}/pkgconfig/librpcsecgss.pc 1.125 +%{_libdir}/pkgconfig/libnfsidmap.pc 1.126 +%{_includedir}/rpcsecgss/rpc/auth.h 1.127 +%{_includedir}/rpcsecgss/rpc/auth_gss.h 1.128 +%{_includedir}/rpcsecgss/rpc/svc.h 1.129 +%{_includedir}/rpcsecgss/rpc/svc_auth.h 1.130 +%{_includedir}/rpcsecgss/rpc/rpc.h 1.131 +%{_includedir}/rpcsecgss/rpc/rpcsecgss_rename.h 1.132 +%{_includedir}/nfsidmap.h 1.133 +%{_libdir}/libnfsidmap*.so 1.134 + 1.135 +%changelog 1.136 +* Fri May 28 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.5-2 1.137 +- disable static libs (bz 556087) 1.138 +- disable libtool libs 1.139 + 1.140 +* Mon Jan 25 2010 Steve Dickson <steved@redhat.com> 1.1.5-1 1.141 +Updated to latest upstream release: libnfsidmap-0.23 1.142 + 1.143 +* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-8 1.144 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 1.145 + 1.146 +* Fri Jun 5 2009 Steve Dickson <steved@redhat.com> 1.1.4-7 1.147 +- Added a debug line to log when the local realm is not found 1.148 + 1.149 +* Tue May 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> 1.1.4-6 1.150 +- Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems 1.151 + 1.152 +* Mon Apr 13 2009 Steve Dickson <steved@redhat.com> 1.1.4-5 1.153 +- Moved the .pc files into the -devel rpm (bz 489173) 1.154 + 1.155 +* Wed Apr 1 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1.4-4 1.156 +- Fix unowned header directories (#483464). 1.157 + 1.158 +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-3 1.159 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 1.160 + 1.161 +* Fri Oct 24 2008 Steve Dickson <steved@redhat.com> 1.1.4-2 1.162 +- Incorporated from upstream as to how how nss deals 1.163 + with Local Realms 1.164 + 1.165 +* Sat Oct 18 2008 Steve Dickson <steved@redhat.com> 1.1.4-1 1.166 +- Fixed a bad assumtion in nss code. 1.167 + 1.168 +* Wed Aug 27 2008 Steve Dickson <steved@redhat.com> 1.1.3-2 1.169 +- Upgraded librpcsecgss to latest upstream version: 0.18 1.170 + 1.171 +* Wed Aug 27 2008 Steve Dickson <steved@redhat.com> 1.1.3-1 1.172 +- Upgraded libnfsidmap to latest upstream version: 0.21 1.173 + 1.174 +* Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 1.1.1-4 1.175 +- In idmapd.conf, commented out 'Domain' so DNS will be 1.176 + used to define the domainname. (bz 447237) 1.177 + 1.178 +* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.1-3 1.179 +- Autorebuild for GCC 4.3 1.180 + 1.181 +* Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 1.1.1-2 1.182 +- Changed the file mode on documentation files (bz 427827) 1.183 +- Chagned how the doc directories are created so they 1.184 + are owned by the package. (bz 211001) 1.185 + 1.186 +* Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 1.1.1-1 1.187 +- Updated librpcsecgss to the 0.17 release 1.188 + 1.189 +* Tue Dec 04 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.0-4 1.190 + - Rebuild for openldap bump 1.191 + 1.192 +* Tue Oct 16 2007 Steve Dickson <steved@redhat.com> 1.1.0-3 1.193 +- Switch the libgssapi dependency to libgssglue 1.194 +- Updated librpcsecgss to the 0.16 release 1.195 + 1.196 +* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.1.0-2 1.197 +- Rebuild for selinux ppc32 issue. 1.198 + 1.199 +* Sat Jul 28 2007 Steve Dickson <steved@redhat.com> 1.1.0-1 1.200 +- Updated libnfsidmap to the 0.20 release 1.201 +- Added rules to install/remove /etc/idmap.conf 1.202 + 1.203 +* Mon Mar 12 2007 Steve Dickson <steved@redhat.com> 1.0.8-9 1.204 +- Removed the --prefix=$RPM_BUILD_ROOT from the %%configure (bz 213152) 1.205 + 1.206 +* Tue Feb 20 2007 Steve Dickson <steved@redhat.com> 1.0.8-8 1.207 +- Updated libnfsidmap to the 0.19 release 1.208 + 1.209 +* Fri Dec 1 2006 Steve Dickson <steved@redhat.com> 1.0.8-7.3 1.210 +- Fixed typo in the package description (bz 189652) 1.211 + 1.212 +* Wed Aug 30 2006 Steve Dickson <steved@redhat.com> 1.0.8-7.2 1.213 +- added automake to BuildRequires: 1.214 + 1.215 +* Wed Aug 30 2006 Steve Dickson <steved@redhat.com> 1.0.8-7.1 1.216 +- rebuild 1.217 + 1.218 +* Wed Aug 2 2006 Steve Dickson <steved@redhat.com> 1.0.8-7 1.219 +- Updated librpcsecgss to -0.14 1.220 + 1.221 +* Wed Jul 26 2006 Steve Dickson <steved@redhat.com> 1.0.8-6 1.222 +- Added GSSLIBS to the linking of librpcsecgss (bz 198238) 1.223 + 1.224 +* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8-5.1 1.225 +- rebuild 1.226 + 1.227 +* Tue Jun 20 2006 Steve Dickson <steved@redhat.com> 1.0.8-3.1 1.228 +- Updated libnfsidmap and librpcsecgss to latest upstream version 1.229 + 1.230 +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8-3.1 1.231 +- bump again for double-long bug on ppc(64) 1.232 + 1.233 +* Thu Feb 09 2006 Florian La Roche <laroche@redhat.com> 1.0.8-3 1.234 +- remove empty scripts 1.235 + 1.236 +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8-2.1 1.237 +- rebuilt for new gcc4.1 snapshot and glibc changes 1.238 + 1.239 +* Thu Jan 19 2006 Steve Dickson <steved@redhat.com> 1.0.8-2 1.240 +- Added debugging routines to libnfsidmap 1.241 + 1.242 +* Fri Jan 6 2006 Steve Dickson <steved@redhat.com> 1.0.8-1 1.243 +- Initial commit