libtirpc/libtirpc.spec

Fri, 11 Mar 2011 21:36:51 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:36:51 +0100
changeset 1
4667f24fe848
parent 0
4f133201e207
permissions
-rw-r--r--

Adjust specification build configurations to port packages to MeeGo.

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

mercurial