1 %define _root_libdir /%{_lib} |
1 %define _root_libdir /%{_lib} |
2 |
2 |
3 Name: libtirpc |
3 Name: libtirpc |
4 Version: 0.2.1 |
4 Version: 0.2.1 |
5 Release: 6%{?dist} |
5 Release: 20101201 |
6 Summary: Transport Independent RPC Library |
6 Summary: Transport Independent RPC Library |
7 Group: System Environment/Libraries |
7 Vendor: Europalab Software |
8 License: SISSL and BSD |
8 Packager: Michael Schloh von Bennewitz |
9 URL: http://nfsv4.bullopensource.org/ |
9 Distribution: MeeGo Thirdparty |
10 |
10 Group: System Environment/Libraries |
11 Patch001: libtirpc-0-2-2-rc2.patch |
11 License: SISSL and BSD |
12 |
12 URL: http://nfsv4.bullopensource.org/ |
13 Patch100: libtirpc-0.2.1-SISSL-license.patch |
13 |
14 Patch101: libtirpc-0.2.1-replace-SISSL-with-BSD.patch |
14 Patch0: libtirpc1.patch |
15 Patch102: libtirpc-0.2.1-BSD-license.patch |
15 Patch1: libtirpc2.patch |
16 |
16 Patch2: libtirpc3.patch |
17 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
17 Patch3: libtirpc4.patch |
18 Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2 |
18 |
19 |
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
20 BuildRequires: automake, autoconf, libtool, pkgconfig |
20 Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2 |
21 BuildRequires: libgssglue-devel |
21 |
|
22 BuildRequires: automake, autoconf, libtool, pkgconfig |
|
23 BuildRequires: libgssglue-devel |
22 |
24 |
23 %description |
25 %description |
24 This package contains SunLib's implementation of transport-independent |
26 This package contains SunLib's implementation of transport-independent |
25 RPC (TI-RPC) documentation. This library forms a piece of the base of |
27 RPC (TI-RPC) documentation. This library forms a piece of the base of |
26 Open Network Computing (ONC), and is derived directly from the |
28 Open Network Computing (ONC), and is derived directly from the |
27 Solaris 2.3 source. |
29 Solaris 2.3 source. |
28 |
30 |
29 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V |
31 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V |
30 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface |
32 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface |
31 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported |
33 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported |
32 by almost 70 vendors on all major operating systems. TS-RPC source code |
34 by almost 70 vendors on all major operating systems. TS-RPC source code |
33 (RPCSRC 4.0) remains available from several internet sites. |
35 (RPCSRC 4.0) remains available from several internet sites. |
34 |
36 |
35 %package devel |
37 %package devel |
36 Summary: Development files for the libtirpc library |
38 Summary: Development files for the libtirpc library |
37 Group: Development/Libraries |
39 Vendor: Europalab Software |
38 Requires: %{name} = %{version}-%{release} |
40 Packager: Michael Schloh von Bennewitz |
39 Requires(devel): pkgconfig man-db |
41 Distribution: MeeGo Thirdparty |
|
42 Group: Development/Libraries |
|
43 Requires: %{name} = %{version}-%{release} |
|
44 Requires(devel): pkgconfig man |
40 |
45 |
41 %description devel |
46 %description devel |
42 This package includes header files and libraries necessary for |
47 This package includes header files and libraries necessary for |
43 developing programs which use the tirpc library. |
48 developing programs which use the tirpc library. |
44 |
49 |
45 |
50 |
46 %prep |
51 %prep |
47 %setup -q |
52 %setup -q |
48 |
53 %patch0 -p1 |
49 %patch001 -p1 |
54 %patch1 -p1 |
50 |
55 %patch2 -p1 |
51 %patch100 -p1 |
56 %patch3 -p1 |
52 %patch101 -p1 |
|
53 %patch102 -p1 |
|
54 |
57 |
55 # Remove .orig files |
58 # Remove .orig files |
56 find . -name "*.orig" | xargs rm -f |
59 find . -name "*.orig" | xargs rm -f |
57 |
60 |
58 %build |
61 %build |
65 rm -rf %{buildroot} |
68 rm -rf %{buildroot} |
66 mkdir -p %{buildroot}/etc |
69 mkdir -p %{buildroot}/etc |
67 mkdir -p %{buildroot}%{_root_libdir} |
70 mkdir -p %{buildroot}%{_root_libdir} |
68 mkdir -p %{buildroot}%{_libdir}/pkgconfig |
71 mkdir -p %{buildroot}%{_libdir}/pkgconfig |
69 make install DESTDIR=%{buildroot} \ |
72 make install DESTDIR=%{buildroot} \ |
70 libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig |
73 libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig |
71 # Don't package .a or .la files |
74 # Don't package .a or .la files |
72 rm -f %{buildroot}%{_root_libdir}/*.{a,la} |
75 rm -f %{buildroot}%{_root_libdir}/*.{a,la} |
73 |
76 |
74 # Creat the man diretory |
77 # Creat the man diretory |
75 mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t |
78 mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t |
137 %{_includedir}/tirpc/rpcsvc/crypt.h |
140 %{_includedir}/tirpc/rpcsvc/crypt.h |
138 %{_includedir}/tirpc/rpcsvc/crypt.x |
141 %{_includedir}/tirpc/rpcsvc/crypt.x |
139 %{_mandir}/*/* |
142 %{_mandir}/*/* |
140 |
143 |
141 %changelog |
144 %changelog |
|
145 * Sat Dec 4 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.2.1-20101201 |
|
146 - Repackage for MeeGo 1.1 |
|
147 |
142 * Thu Dec 2 2010 Steve Dickson <steved@redhat.com> 0.2.1-6 |
148 * Thu Dec 2 2010 Steve Dickson <steved@redhat.com> 0.2.1-6 |
143 - Moved the libraries from /usr/lib to /lib |
149 - Moved the libraries from /usr/lib to /lib |
144 |
150 |
145 * Mon Aug 30 2010 Steve Dickson <steved@redhat.com> 0.2.1-5 |
151 * Mon Aug 30 2010 Steve Dickson <steved@redhat.com> 0.2.1-5 |
146 - Relicense these SISSL files to 3 clause BSD |
152 - Relicense these SISSL files to 3 clause BSD |
147 - Fixed last remaining BSD license issues |
153 - Fixed last remaining BSD license issues |
148 |
154 |
186 |
192 |
187 * Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-2 |
193 * Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-2 |
188 - Updated to libtirpc-0.1.12-rc1 |
194 - Updated to libtirpc-0.1.12-rc1 |
189 |
195 |
190 * Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-1 |
196 * Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 0.1.11-1 |
191 - Updated to the latest release: 0.1.11 |
197 - Updated to the latest release: 0.1.11 |
192 |
198 |
193 * Fri Mar 13 2009 Steve Dickson <steved@redhat.com> 0.1.10-6 |
199 * Fri Mar 13 2009 Steve Dickson <steved@redhat.com> 0.1.10-6 |
194 - libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed |
200 - libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed |
195 - libtirpc: be sure to free cl_netid and cl_tp |
201 - libtirpc: be sure to free cl_netid and cl_tp |
196 - libtirpc: must free saved wire verifier when destroying context |
202 - libtirpc: must free saved wire verifier when destroying context |
200 |
206 |
201 * Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-4 |
207 * Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-4 |
202 - Converted all uids and uids to type uid_t and gid_t (sf 2446314) |
208 - Converted all uids and uids to type uid_t and gid_t (sf 2446314) |
203 |
209 |
204 * Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-3 |
210 * Wed Jan 28 2009 Steve Dickson <steved@redhat.com> 0.1.10-3 |
205 - backwards compatibility: fix order of fields in TI-RPC's |
211 - backwards compatibility: fix order of fields in TI-RPC's |
206 svc_req (bz 481388) |
212 svc_req (bz 481388) |
207 - Removed a number warnings. |
213 - Removed a number warnings. |
208 |
214 |
209 * Thu Jan 22 2009 Steve Dickson <steved@redhat.com> 0.1.10-2 |
215 * Thu Jan 22 2009 Steve Dickson <steved@redhat.com> 0.1.10-2 |
210 - Header file fixes for C++ |
216 - Header file fixes for C++ |
214 |
220 |
215 * Tue Oct 28 2008 Steve Dickson <steved@redhat.com> 0.1.9-7 |
221 * Tue Oct 28 2008 Steve Dickson <steved@redhat.com> 0.1.9-7 |
216 - Fixed some incorrect function declarations (bz468815) |
222 - Fixed some incorrect function declarations (bz468815) |
217 |
223 |
218 * Mon Oct 27 2008 Steve Dickson <steved@redhat.com> 0.1.9-6 |
224 * Mon Oct 27 2008 Steve Dickson <steved@redhat.com> 0.1.9-6 |
219 - Fix bad assumption taddr2uaddr processing that |
225 - Fix bad assumption taddr2uaddr processing that |
220 caused a segfault (bz468014) |
226 caused a segfault (bz468014) |
221 |
227 |
222 * Tue Sep 16 2008 Steve Dickson <steved@redhat.com> 0.1.9-5 |
228 * Tue Sep 16 2008 Steve Dickson <steved@redhat.com> 0.1.9-5 |
223 - Fix for taddr2addr conversion bug of local addresses |
229 - Fix for taddr2addr conversion bug of local addresses |
224 - Fixed some of warnings in: src/auth_time.c, src/clnt_dg.c and |
230 - Fixed some of warnings in: src/auth_time.c, src/clnt_dg.c and |