Fri, 11 Mar 2011 21:41:16 +0100
Import unmodified vendor specs for introduction into repository.
michael@0 | 1 | Summary: Network File System Support Library |
michael@1 | 2 | Vendor: Europalab Software |
michael@1 | 3 | Packager: Michael Schloh von Bennewitz |
michael@1 | 4 | Distribution: MeeGo Thirdparty |
michael@0 | 5 | Name: nfs-utils-lib |
michael@0 | 6 | Version: 1.1.5 |
michael@0 | 7 | Release: 2%{?dist} |
michael@0 | 8 | URL: http://www.citi.umich.edu/projects/nfsv4/linux/ |
michael@0 | 9 | License: BSD |
michael@0 | 10 | |
michael@0 | 11 | %define idmapvers 0.23 |
michael@0 | 12 | %define libnfsidmap libnfsidmap |
michael@1 | 13 | %define rpcsecgssvers 0.19 |
michael@0 | 14 | %define librpcsecgss librpcsecgss |
michael@0 | 15 | %define libs %{librpcsecgss} %{libnfsidmap} |
michael@0 | 16 | |
michael@0 | 17 | %define _docdir %{_defaultdocdir}/%{name}-%{version} |
michael@0 | 18 | %define librpcsecgss_docdir %{_docdir}/%{librpcsecgss}-%{rpcsecgssvers} |
michael@0 | 19 | %define libnfsidmap_docdir %{_docdir}/%{libnfsidmap}-%{idmapvers} |
michael@0 | 20 | |
michael@0 | 21 | Source0: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/%{libnfsidmap}-%{idmapvers}.tar.gz |
michael@0 | 22 | Source1: http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/%{librpcsecgss}-%{rpcsecgssvers}.tar.gz |
michael@0 | 23 | |
michael@0 | 24 | Group: System Environment/Libraries |
michael@0 | 25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
michael@0 | 26 | BuildRequires: pkgconfig, gettext, autoconf, automake |
michael@0 | 27 | BuildRequires: libgssglue-devel, openldap-devel |
michael@0 | 28 | Requires(postun): /sbin/ldconfig |
michael@0 | 29 | Requires(pre): /sbin/ldconfig |
michael@1 | 30 | Requires: libgssglue, openldap |
michael@0 | 31 | |
michael@0 | 32 | %description |
michael@0 | 33 | Support libraries that are needed by the commands and |
michael@0 | 34 | daemons the nfs-utils rpm. |
michael@0 | 35 | |
michael@0 | 36 | %package devel |
michael@0 | 37 | Summary: Development files for the nfs-utils-lib library |
michael@1 | 38 | Vendor: Europalab Software |
michael@1 | 39 | Packager: Michael Schloh von Bennewitz |
michael@1 | 40 | Distribution: MeeGo Thirdparty |
michael@0 | 41 | Group: Development/Libraries |
michael@0 | 42 | Requires: %{name} = %{version}-%{release} |
michael@0 | 43 | Requires: pkgconfig |
michael@0 | 44 | |
michael@0 | 45 | %description devel |
michael@0 | 46 | This package includes header files and libraries necessary for |
michael@0 | 47 | developing programs which use the nfs-utils-lib library. |
michael@0 | 48 | |
michael@0 | 49 | %prep |
michael@0 | 50 | %setup -c -q -a1 |
michael@0 | 51 | mv %{libnfsidmap}-%{idmapvers} %{libnfsidmap} |
michael@0 | 52 | mv %{librpcsecgss}-%{rpcsecgssvers} %{librpcsecgss} |
michael@0 | 53 | |
michael@0 | 54 | %build |
michael@0 | 55 | |
michael@0 | 56 | for dir in %{libs} ; do |
michael@0 | 57 | pushd $dir |
michael@0 | 58 | %configure --disable-static |
michael@0 | 59 | popd |
michael@0 | 60 | done |
michael@0 | 61 | for dir in %{libs} ; do |
michael@0 | 62 | pushd $dir |
michael@0 | 63 | make all |
michael@0 | 64 | popd |
michael@0 | 65 | done |
michael@0 | 66 | |
michael@0 | 67 | %install |
michael@0 | 68 | rm -rf %{buildroot} |
michael@0 | 69 | for dir in %{libs} ; do |
michael@0 | 70 | pushd $dir |
michael@0 | 71 | DESTDIR=%{buildroot} make install |
michael@0 | 72 | popd |
michael@0 | 73 | done |
michael@0 | 74 | |
michael@0 | 75 | mkdir -p %{buildroot}/%{librpcsecgss_docdir} |
michael@0 | 76 | pushd %{librpcsecgss} |
michael@0 | 77 | for file in AUTHORS ChangeLog NEWS README ; do |
michael@0 | 78 | install -m 644 $file %{buildroot}/%{librpcsecgss_docdir} |
michael@0 | 79 | done |
michael@0 | 80 | popd |
michael@0 | 81 | |
michael@0 | 82 | mkdir -p %{buildroot}/%{libnfsidmap_docdir} |
michael@0 | 83 | pushd %{libnfsidmap} |
michael@0 | 84 | for file in AUTHORS ChangeLog NEWS README ; do |
michael@0 | 85 | install -m 644 $file %{buildroot}/%{libnfsidmap_docdir} |
michael@0 | 86 | done |
michael@0 | 87 | popd |
michael@0 | 88 | |
michael@0 | 89 | mkdir -p %{buildroot}/etc |
michael@0 | 90 | install -m 644 %{libnfsidmap}/idmapd.conf $RPM_BUILD_ROOT/etc/idmapd.conf |
michael@0 | 91 | mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5 |
michael@0 | 92 | |
michael@0 | 93 | # Delete unneeded libtool libs |
michael@0 | 94 | rm -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la ${RPM_BUILD_ROOT}%{_libdir}/libnfsidmap/*.la |
michael@0 | 95 | |
michael@0 | 96 | %post -p /sbin/ldconfig |
michael@0 | 97 | |
michael@0 | 98 | %postun -p /sbin/ldconfig |
michael@0 | 99 | |
michael@0 | 100 | %clean |
michael@0 | 101 | rm -rf %{buildroot} |
michael@0 | 102 | |
michael@0 | 103 | |
michael@0 | 104 | %files |
michael@0 | 105 | %defattr(-,root,root,-) |
michael@0 | 106 | %dir %{_docdir} |
michael@0 | 107 | %{_libdir}/librpcsecgss.so.* |
michael@0 | 108 | %dir %{librpcsecgss_docdir} |
michael@0 | 109 | %{librpcsecgss_docdir}/* |
michael@0 | 110 | |
michael@0 | 111 | %config(noreplace) /etc/idmapd.conf |
michael@0 | 112 | %{_libdir}/libnfsidmap*.so.* |
michael@0 | 113 | %dir %{libnfsidmap_docdir} |
michael@0 | 114 | %{libnfsidmap_docdir}/* |
michael@0 | 115 | %{_mandir}/*/* |
michael@0 | 116 | %{_libdir}/libnfsidmap/*.so |
michael@0 | 117 | |
michael@0 | 118 | %files devel |
michael@0 | 119 | %defattr(0644,root,root,755) |
michael@0 | 120 | %{_libdir}/librpcsecgss.so |
michael@0 | 121 | %dir %{_includedir}/rpcsecgss |
michael@0 | 122 | %dir %{_includedir}/rpcsecgss/rpc |
michael@0 | 123 | %{_libdir}/pkgconfig/librpcsecgss.pc |
michael@0 | 124 | %{_libdir}/pkgconfig/libnfsidmap.pc |
michael@0 | 125 | %{_includedir}/rpcsecgss/rpc/auth.h |
michael@0 | 126 | %{_includedir}/rpcsecgss/rpc/auth_gss.h |
michael@0 | 127 | %{_includedir}/rpcsecgss/rpc/svc.h |
michael@0 | 128 | %{_includedir}/rpcsecgss/rpc/svc_auth.h |
michael@0 | 129 | %{_includedir}/rpcsecgss/rpc/rpc.h |
michael@0 | 130 | %{_includedir}/rpcsecgss/rpc/rpcsecgss_rename.h |
michael@0 | 131 | %{_includedir}/nfsidmap.h |
michael@0 | 132 | %{_libdir}/libnfsidmap*.so |
michael@0 | 133 | |
michael@0 | 134 | %changelog |
michael@1 | 135 | * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.1.5-20101201 |
michael@1 | 136 | - Repackage for MeeGo 1.1 |
michael@1 | 137 | |
michael@0 | 138 | * Fri May 28 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.5-2 |
michael@0 | 139 | - disable static libs (bz 556087) |
michael@0 | 140 | - disable libtool libs |
michael@0 | 141 | |
michael@0 | 142 | * Mon Jan 25 2010 Steve Dickson <steved@redhat.com> 1.1.5-1 |
michael@0 | 143 | Updated to latest upstream release: libnfsidmap-0.23 |
michael@0 | 144 | |
michael@0 | 145 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-8 |
michael@0 | 146 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
michael@0 | 147 | |
michael@0 | 148 | * Fri Jun 5 2009 Steve Dickson <steved@redhat.com> 1.1.4-7 |
michael@0 | 149 | - Added a debug line to log when the local realm is not found |
michael@0 | 150 | |
michael@0 | 151 | * Tue May 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> 1.1.4-6 |
michael@0 | 152 | - Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems |
michael@0 | 153 | |
michael@0 | 154 | * Mon Apr 13 2009 Steve Dickson <steved@redhat.com> 1.1.4-5 |
michael@0 | 155 | - Moved the .pc files into the -devel rpm (bz 489173) |
michael@0 | 156 | |
michael@0 | 157 | * Wed Apr 1 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1.4-4 |
michael@0 | 158 | - Fix unowned header directories (#483464). |
michael@0 | 159 | |
michael@0 | 160 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-3 |
michael@0 | 161 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
michael@0 | 162 | |
michael@0 | 163 | * Fri Oct 24 2008 Steve Dickson <steved@redhat.com> 1.1.4-2 |
michael@0 | 164 | - Incorporated from upstream as to how how nss deals |
michael@0 | 165 | with Local Realms |
michael@0 | 166 | |
michael@0 | 167 | * Sat Oct 18 2008 Steve Dickson <steved@redhat.com> 1.1.4-1 |
michael@0 | 168 | - Fixed a bad assumtion in nss code. |
michael@0 | 169 | |
michael@0 | 170 | * Wed Aug 27 2008 Steve Dickson <steved@redhat.com> 1.1.3-2 |
michael@0 | 171 | - Upgraded librpcsecgss to latest upstream version: 0.18 |
michael@0 | 172 | |
michael@0 | 173 | * Wed Aug 27 2008 Steve Dickson <steved@redhat.com> 1.1.3-1 |
michael@0 | 174 | - Upgraded libnfsidmap to latest upstream version: 0.21 |
michael@0 | 175 | |
michael@0 | 176 | * Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 1.1.1-4 |
michael@0 | 177 | - In idmapd.conf, commented out 'Domain' so DNS will be |
michael@0 | 178 | used to define the domainname. (bz 447237) |
michael@0 | 179 | |
michael@0 | 180 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.1-3 |
michael@0 | 181 | - Autorebuild for GCC 4.3 |
michael@0 | 182 | |
michael@0 | 183 | * Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 1.1.1-2 |
michael@0 | 184 | - Changed the file mode on documentation files (bz 427827) |
michael@0 | 185 | - Chagned how the doc directories are created so they |
michael@0 | 186 | are owned by the package. (bz 211001) |
michael@0 | 187 | |
michael@0 | 188 | * Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 1.1.1-1 |
michael@0 | 189 | - Updated librpcsecgss to the 0.17 release |
michael@0 | 190 | |
michael@0 | 191 | * Tue Dec 04 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.0-4 |
michael@0 | 192 | - Rebuild for openldap bump |
michael@0 | 193 | |
michael@0 | 194 | * Tue Oct 16 2007 Steve Dickson <steved@redhat.com> 1.1.0-3 |
michael@0 | 195 | - Switch the libgssapi dependency to libgssglue |
michael@0 | 196 | - Updated librpcsecgss to the 0.16 release |
michael@0 | 197 | |
michael@0 | 198 | * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.1.0-2 |
michael@0 | 199 | - Rebuild for selinux ppc32 issue. |
michael@0 | 200 | |
michael@0 | 201 | * Sat Jul 28 2007 Steve Dickson <steved@redhat.com> 1.1.0-1 |
michael@0 | 202 | - Updated libnfsidmap to the 0.20 release |
michael@0 | 203 | - Added rules to install/remove /etc/idmap.conf |
michael@0 | 204 | |
michael@0 | 205 | * Mon Mar 12 2007 Steve Dickson <steved@redhat.com> 1.0.8-9 |
michael@0 | 206 | - Removed the --prefix=$RPM_BUILD_ROOT from the %%configure (bz 213152) |
michael@0 | 207 | |
michael@0 | 208 | * Tue Feb 20 2007 Steve Dickson <steved@redhat.com> 1.0.8-8 |
michael@0 | 209 | - Updated libnfsidmap to the 0.19 release |
michael@0 | 210 | |
michael@0 | 211 | * Fri Dec 1 2006 Steve Dickson <steved@redhat.com> 1.0.8-7.3 |
michael@0 | 212 | - Fixed typo in the package description (bz 189652) |
michael@0 | 213 | |
michael@0 | 214 | * Wed Aug 30 2006 Steve Dickson <steved@redhat.com> 1.0.8-7.2 |
michael@0 | 215 | - added automake to BuildRequires: |
michael@0 | 216 | |
michael@0 | 217 | * Wed Aug 30 2006 Steve Dickson <steved@redhat.com> 1.0.8-7.1 |
michael@0 | 218 | - rebuild |
michael@0 | 219 | |
michael@0 | 220 | * Wed Aug 2 2006 Steve Dickson <steved@redhat.com> 1.0.8-7 |
michael@0 | 221 | - Updated librpcsecgss to -0.14 |
michael@0 | 222 | |
michael@0 | 223 | * Wed Jul 26 2006 Steve Dickson <steved@redhat.com> 1.0.8-6 |
michael@0 | 224 | - Added GSSLIBS to the linking of librpcsecgss (bz 198238) |
michael@0 | 225 | |
michael@0 | 226 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8-5.1 |
michael@0 | 227 | - rebuild |
michael@0 | 228 | |
michael@0 | 229 | * Tue Jun 20 2006 Steve Dickson <steved@redhat.com> 1.0.8-3.1 |
michael@0 | 230 | - Updated libnfsidmap and librpcsecgss to latest upstream version |
michael@0 | 231 | |
michael@0 | 232 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8-3.1 |
michael@0 | 233 | - bump again for double-long bug on ppc(64) |
michael@0 | 234 | |
michael@0 | 235 | * Thu Feb 09 2006 Florian La Roche <laroche@redhat.com> 1.0.8-3 |
michael@0 | 236 | - remove empty scripts |
michael@0 | 237 | |
michael@0 | 238 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8-2.1 |
michael@0 | 239 | - rebuilt for new gcc4.1 snapshot and glibc changes |
michael@0 | 240 | |
michael@0 | 241 | * Thu Jan 19 2006 Steve Dickson <steved@redhat.com> 1.0.8-2 |
michael@0 | 242 | - Added debugging routines to libnfsidmap |
michael@0 | 243 | |
michael@0 | 244 | * Fri Jan 6 2006 Steve Dickson <steved@redhat.com> 1.0.8-1 |
michael@0 | 245 | - Initial commit |