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