Fri, 11 Mar 2011 21:41:16 +0100
Import unmodified vendor specs for introduction into repository.
1 %define _root_libdir /%{_lib}
3 Name: libtirpc
4 Version: 0.2.1
5 Release: 20101201
6 Summary: Transport Independent RPC Library
7 Vendor: Europalab Software
8 Packager: Michael Schloh von Bennewitz
9 Distribution: MeeGo Thirdparty
10 Group: System Environment/Libraries
11 License: SISSL and BSD
12 URL: http://nfsv4.bullopensource.org/
14 Patch0: libtirpc1.patch
15 Patch1: libtirpc2.patch
16 Patch2: libtirpc3.patch
17 Patch3: libtirpc4.patch
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
22 BuildRequires: automake, autoconf, libtool, pkgconfig
23 BuildRequires: libgssglue-devel
25 %description
26 This package contains SunLib's implementation of transport-independent
27 RPC (TI-RPC) documentation. This library forms a piece of the base of
28 Open Network Computing (ONC), and is derived directly from the
29 Solaris 2.3 source.
31 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
32 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
33 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
34 by almost 70 vendors on all major operating systems. TS-RPC source code
35 (RPCSRC 4.0) remains available from several internet sites.
37 %package devel
38 Summary: Development files for the libtirpc library
39 Vendor: Europalab Software
40 Packager: Michael Schloh von Bennewitz
41 Distribution: MeeGo Thirdparty
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires(devel): pkgconfig man
46 %description devel
47 This package includes header files and libraries necessary for
48 developing programs which use the tirpc library.
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56 %patch3 -p1
58 # Remove .orig files
59 find . -name "*.orig" | xargs rm -f
61 %build
62 sh autogen.sh
63 autoreconf -fisv
64 %configure --enable-gss
65 make all
67 %install
68 rm -rf %{buildroot}
69 mkdir -p %{buildroot}/etc
70 mkdir -p %{buildroot}%{_root_libdir}
71 mkdir -p %{buildroot}%{_libdir}/pkgconfig
72 make install DESTDIR=%{buildroot} \
73 libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig
74 # Don't package .a or .la files
75 rm -f %{buildroot}%{_root_libdir}/*.{a,la}
77 # Creat the man diretory
78 mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
80 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
84 %post devel
85 # Register the new man section
86 #if [ "$1" -eq 1 ]; then
87 # makewhatis -s 3t
88 #fi
90 %postun devel
91 # Remove the existance of the man section
92 #makewhatis -s 3t
95 %clean
96 rm -rf %{buildroot}
98 %files
99 %defattr(-,root,root)
100 %doc AUTHORS ChangeLog NEWS README
101 %{_root_libdir}/libtirpc.so.*
102 %config(noreplace)%{_sysconfdir}/netconfig
104 %files devel
105 %defattr(0644,root,root,755)
106 %dir %{_includedir}/tirpc
107 %dir %{_includedir}/tirpc/rpc
108 %dir %{_includedir}/tirpc/rpcsvc
109 %{_root_libdir}/libtirpc.so
110 %{_libdir}/pkgconfig/libtirpc.pc
111 %{_includedir}/tirpc/netconfig.h
112 %{_includedir}/tirpc/rpc/auth.h
113 %{_includedir}/tirpc/rpc/auth_des.h
114 %{_includedir}/tirpc/rpc/auth_gss.h
115 %{_includedir}/tirpc/rpc/auth_kerb.h
116 %{_includedir}/tirpc/rpc/auth_unix.h
117 %{_includedir}/tirpc/rpc/clnt.h
118 %{_includedir}/tirpc/rpc/clnt_soc.h
119 %{_includedir}/tirpc/rpc/clnt_stat.h
120 %{_includedir}/tirpc/rpc/des.h
121 %{_includedir}/tirpc/rpc/des_crypt.h
122 %{_includedir}/tirpc/rpc/nettype.h
123 %{_includedir}/tirpc/rpc/pmap_clnt.h
124 %{_includedir}/tirpc/rpc/pmap_prot.h
125 %{_includedir}/tirpc/rpc/pmap_rmt.h
126 %{_includedir}/tirpc/rpc/raw.h
127 %{_includedir}/tirpc/rpc/rpc.h
128 %{_includedir}/tirpc/rpc/rpc_com.h
129 %{_includedir}/tirpc/rpc/rpc_msg.h
130 %{_includedir}/tirpc/rpc/rpcb_clnt.h
131 %{_includedir}/tirpc/rpc/rpcb_prot.h
132 %{_includedir}/tirpc/rpc/rpcb_prot.x
133 %{_includedir}/tirpc/rpc/rpcent.h
134 %{_includedir}/tirpc/rpc/svc.h
135 %{_includedir}/tirpc/rpc/svc_auth.h
136 %{_includedir}/tirpc/rpc/svc_dg.h
137 %{_includedir}/tirpc/rpc/svc_soc.h
138 %{_includedir}/tirpc/rpc/types.h
139 %{_includedir}/tirpc/rpc/xdr.h
140 %{_includedir}/tirpc/rpcsvc/crypt.h
141 %{_includedir}/tirpc/rpcsvc/crypt.x
142 %{_mandir}/*/*
144 %changelog
145 * Sat Dec 4 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.2.1-20101201
146 - Repackage for MeeGo 1.1
148 * Thu Dec 2 2010 Steve Dickson <steved@redhat.com> 0.2.1-6
149 - Moved the libraries from /usr/lib to /lib
151 * Mon Aug 30 2010 Steve Dickson <steved@redhat.com> 0.2.1-5
152 - Relicense these SISSL files to 3 clause BSD
153 - Fixed last remaining BSD license issues
155 * Fri Jul 16 2010 Steve Dickson <steved@redhat.com> 0.2.1-4
156 - Add back SISSL license attribution
158 * Fri Jul 09 2010 Mike McGrath <mmcgrath@redhat.com> 0.2.1-3.1
159 - Rebuild to fix broken man dep s/man/man-db/
161 * Tue May 18 2010 Steve Dickson <steved@redhat.com> 0.2.1-3
162 - Updated to latest RC release: libtirpc-0-2-2-rc2 [bz 519430]
164 * Mon Mar 22 2010 Steve Dickson <steved@redhat.com> 0.2.1-2
165 - Updated to latest RC release: libtirpc-0-2-2-rc1
167 * Mon Nov 30 2009 Steve Dickson <steved@redhat.com> 0.2.1-1
168 - Updated to latest upstream version: 0.2.1
170 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
171 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
173 * Thu Jul 9 2009 Steve Dickson <steved@redhat.com> 0.2.0-3
174 - Updated to latest upstream tag: 0-2-1-rc3
175 Fixed the --disable-gss options
176 Fixed a number of warnings
177 Change how architectures are define in xdr_float.c
179 * Mon Jun 29 2009 Steve Dickson <steved@redhat.com> 0.2.0-2
180 - Updated to latest upstream tag: 0-2-1-rc2
181 rpcb_clnt: RPC_PROGNOTREGISTERED is a permanent error
182 clnt_dg: Fix infinite loop when datagram call times ou
183 Updated .gitignore file
184 Replace the hard coded path name with the top_srcdir macrc
185 Added 'doc' to the SUBDIRS list so make install work correctly.
187 * Fri May 29 2009 Steve Dickson <steved@redhat.com> 0.2.0-1
188 - Updated to latest upstream version: 0.2.0
190 * Tue May 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.11-3
191 - Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems
193 * Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-2
194 - Updated to libtirpc-0.1.12-rc1
196 * Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-1
197 - Updated to the latest release: 0.1.11
199 * Fri Mar 13 2009 Steve Dickson <steved@redhat.com> 0.1.10-6
200 - libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed
201 - libtirpc: be sure to free cl_netid and cl_tp
202 - libtirpc: must free saved wire verifier when destroying context
204 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-5
205 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
207 * Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-4
208 - Converted all uids and uids to type uid_t and gid_t (sf 2446314)
210 * Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-3
211 - backwards compatibility: fix order of fields in TI-RPC's
212 svc_req (bz 481388)
213 - Removed a number warnings.
215 * Thu Jan 22 2009 Steve Dickson <steved@redhat.com> 0.1.10-2
216 - Header file fixes for C++
218 * Thu Nov 20 2008 Steve Dickson <steved@redhat.com> 0.1.10-1
219 - Updated to latest upstream version: 0.1.10
221 * Tue Oct 28 2008 Steve Dickson <steved@redhat.com> 0.1.9-7
222 - Fixed some incorrect function declarations (bz468815)
224 * Mon Oct 27 2008 Steve Dickson <steved@redhat.com> 0.1.9-6
225 - Fix bad assumption taddr2uaddr processing that
226 caused a segfault (bz468014)
228 * Tue Sep 16 2008 Steve Dickson <steved@redhat.com> 0.1.9-5
229 - Fix for taddr2addr conversion bug of local addresses
230 - Fixed some of warnings in: src/auth_time.c, src/clnt_dg.c and
231 src/clnt_raw.c
232 - Added some #ifdef NOTUSED around some code in src/rpbc_clnt.c
233 that was not being used...
235 * Thu Sep 4 2008 Steve Dickson <steved@redhat.com> 0.1.9-4
236 - Always make IPv6 sockets V6ONLY
237 - Fix incorrect sizeof() in __rpc_getbroadifs
239 * Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.9-3
240 - fix license tag
242 * Tue Jul 9 2008 Steve Dickson <steved@redhat.com> 0.1.9-1
243 - Update to latest upstream version 0.1.9
245 * Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1.8-2
246 - Added super-H(sh3,4) architecture support (bz 446559)
248 * Tue Jun 10 2008 Steve Dickson <steved@redhat.com> 0.1.8-1
249 - Update to latest upstream version 0.1.8
251 * Wed Mar 12 2008 Steve Dickson <steved@redhat.com> 0.1.7-18
252 - Install man pages in the 3t section
254 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.7-17
255 - Autorebuild for GCC 4.3
257 * Mon Feb 18 2008 Steve Dickson <steved@redhat.com> 0.1.7-16
258 - Added patch that creates a libtirpc.pc used by the
259 pkg-config command.
261 * Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 0.1.7-15
262 - Protect from buffer overflow in the GSS code. (bz 362121)
264 * Mon Dec 17 2007 Steve Dickson <steved@redhat.com> 0.1.7-14
265 - Fixed typo in /etc/netconfig file (bz 414471)
267 * Thu Oct 25 2007 Steve Dickson <steved@redhat.com> 0.1.7-13
268 - Added a check for the ARM arch (bz 351071)
270 * Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.7-12
271 - Switch the libgssapi dependency to libgssglue
273 * Mon Oct 15 2007 Steve Dickson <steved@redhat.com> 0.1.7-11
274 - Made tcp6/udp6 network ids no longer visible in the netconfig
275 file since the ipv6 code is not fully baked yet in rpcbind. (bz 249121)
277 * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.1.7-10
278 - Rebuild for selinux ppc32 issue.
280 * Mon Jul 30 2007 <steved@redhat.com> 0.1.7-9
281 - Fixed mutex lock problem in clnt_raw_create()
282 - Ignore the return value of snprintf() and use strlen() instead
283 to bump the pointer in clnt_sperror()
284 - A couple ntohs() were needed in bindresvport_sa()
285 - Added IP_RECVERR processing with to clnt_dg_call() so
286 application will see errors instead of timing out
287 - Make sure remote address (xp_rtaddr) is populated
288 with the correct type of address.
289 - Change the order of network ids in /etc/netconfg
290 putting ipv4 ids before ipv6.
291 - Bumped up Release from 8 to 9.
293 * Mon Jul 9 2007 <steved@redhat.com> 0.1.7-7
294 - Fixed infinite loop in svc_run() (bz 246677)
296 * Thu Apr 26 2007 <steved@redhat.com> 0.1.7-6
297 - Fixed potential buffer overflow in xdr_strings
298 - Added a optimization to bindresvport that allows more
299 ports to be tried.
301 * Mon Mar 26 2007 Steve Dickson <steved@redhat.com> 0.1.7-5
302 - Fixed Unowned Directory RPM problem (bz 233873)
304 * Mon Aug 28 2006 Steve Dickson <steved@redhat.com> 0.1.7-4
305 - Fixed undefined symbol (bz 204296)
307 * Mon Aug 14 2006 Steve Dickson <steved@redhat.com> 0.1.7-3
308 - Added in svc_auth_none needed by the GSSAPI code.
309 - Added compile define for ppc64 archs
311 * Fri Aug 11 2006 Steve Dickson <steved@redhat.com> 0.1.7-2
312 - Uncommented tcp6 and udp6 in the default /etc/netconfig file.
313 - Added hooks to used the libgssapi library.
315 * Fri Aug 4 2006 Steve Dickson <steved@redhat.com> 0.1.7-1
316 - Initial commit