libtirpc/libtirpc.spec

changeset 1
4667f24fe848
parent 0
4f133201e207
     1.1 --- a/libtirpc/libtirpc.spec	Fri Mar 11 21:30:26 2011 +0100
     1.2 +++ b/libtirpc/libtirpc.spec	Fri Mar 11 21:36:51 2011 +0100
     1.3 @@ -1,42 +1,47 @@
     1.4  %define _root_libdir    /%{_lib}
     1.5  
     1.6 -Name:		   libtirpc
     1.7 -Version:		0.2.1
     1.8 -Release:		6%{?dist}
     1.9 -Summary:		Transport Independent RPC Library
    1.10 -Group:		  	System Environment/Libraries
    1.11 -License:		SISSL and BSD
    1.12 -URL:  			http://nfsv4.bullopensource.org/
    1.13 +Name:         libtirpc
    1.14 +Version:      0.2.1
    1.15 +Release:      20101201
    1.16 +Summary:      Transport Independent RPC Library
    1.17 +Vendor:       Europalab Software
    1.18 +Packager:     Michael Schloh von Bennewitz
    1.19 +Distribution: MeeGo Thirdparty
    1.20 +Group:        System Environment/Libraries
    1.21 +License:      SISSL and BSD
    1.22 +URL:          http://nfsv4.bullopensource.org/
    1.23  
    1.24 -Patch001: libtirpc-0-2-2-rc2.patch
    1.25 +Patch0:       libtirpc1.patch
    1.26 +Patch1:       libtirpc2.patch
    1.27 +Patch2:       libtirpc3.patch
    1.28 +Patch3:       libtirpc4.patch
    1.29  
    1.30 -Patch100: libtirpc-0.2.1-SISSL-license.patch
    1.31 -Patch101: libtirpc-0.2.1-replace-SISSL-with-BSD.patch
    1.32 -Patch102: libtirpc-0.2.1-BSD-license.patch
    1.33 +BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1.34 +Source0:      http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
    1.35  
    1.36 -BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1.37 -Source0:	http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
    1.38 -
    1.39 -BuildRequires:		automake, autoconf, libtool, pkgconfig
    1.40 -BuildRequires:		libgssglue-devel
    1.41 +BuildRequires:    automake, autoconf, libtool, pkgconfig
    1.42 +BuildRequires:    libgssglue-devel
    1.43  
    1.44  %description
    1.45  This package contains SunLib's implementation of transport-independent
    1.46 -RPC (TI-RPC) documentation.  This library forms a piece of the base of 
    1.47 -Open Network Computing (ONC), and is derived directly from the 
    1.48 +RPC (TI-RPC) documentation.  This library forms a piece of the base of
    1.49 +Open Network Computing (ONC), and is derived directly from the
    1.50  Solaris 2.3 source.
    1.51  
    1.52 -TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V 
    1.53 -Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface 
    1.54 -(XTI).  TI-RPC is on-the-wire compatible with the TS-RPC, which is supported 
    1.55 -by almost 70 vendors on all major operating systems.  TS-RPC source code 
    1.56 +TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
    1.57 +Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
    1.58 +(XTI).  TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
    1.59 +by almost 70 vendors on all major operating systems.  TS-RPC source code
    1.60  (RPCSRC 4.0) remains available from several internet sites.
    1.61  
    1.62  %package devel
    1.63 -Summary:	Development files for the libtirpc library
    1.64 -Group:	Development/Libraries
    1.65 -Requires:	%{name} = %{version}-%{release}
    1.66 -Requires(devel):	pkgconfig man-db
    1.67 +Summary:          Development files for the libtirpc library
    1.68 +Vendor:           Europalab Software
    1.69 +Packager:         Michael Schloh von Bennewitz
    1.70 +Distribution:     MeeGo Thirdparty
    1.71 +Group:            Development/Libraries
    1.72 +Requires:         %{name} = %{version}-%{release}
    1.73 +Requires(devel):  pkgconfig man
    1.74  
    1.75  %description devel
    1.76  This package includes header files and libraries necessary for
    1.77 @@ -45,12 +50,10 @@
    1.78  
    1.79  %prep
    1.80  %setup -q
    1.81 -
    1.82 -%patch001 -p1
    1.83 -
    1.84 -%patch100 -p1
    1.85 -%patch101 -p1
    1.86 -%patch102 -p1
    1.87 +%patch0 -p1
    1.88 +%patch1 -p1
    1.89 +%patch2 -p1
    1.90 +%patch3 -p1
    1.91  
    1.92  # Remove .orig files
    1.93  find . -name "*.orig" | xargs rm -f
    1.94 @@ -67,7 +70,7 @@
    1.95  mkdir -p %{buildroot}%{_root_libdir}
    1.96  mkdir -p %{buildroot}%{_libdir}/pkgconfig
    1.97  make install DESTDIR=%{buildroot} \
    1.98 -	libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig
    1.99 +    libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig
   1.100  # Don't package .a or .la files
   1.101  rm -f %{buildroot}%{_root_libdir}/*.{a,la}
   1.102  
   1.103 @@ -81,10 +84,10 @@
   1.104  %post devel
   1.105  # Register the new man section
   1.106  #if [ "$1" -eq 1 ]; then
   1.107 -#	makewhatis -s 3t	
   1.108 +#    makewhatis -s 3t
   1.109  #fi
   1.110  
   1.111 -%postun devel 
   1.112 +%postun devel
   1.113  # Remove the existance of the man section
   1.114  #makewhatis -s 3t
   1.115  
   1.116 @@ -139,8 +142,11 @@
   1.117  %{_mandir}/*/*
   1.118  
   1.119  %changelog
   1.120 +* Sat Dec 4 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.2.1-20101201
   1.121 +- Repackage for MeeGo 1.1
   1.122 +
   1.123  * Thu Dec  2 2010 Steve Dickson  <steved@redhat.com> 0.2.1-6
   1.124 -- Moved the libraries from /usr/lib to /lib 
   1.125 +- Moved the libraries from /usr/lib to /lib
   1.126  
   1.127  * Mon Aug 30 2010 Steve Dickson  <steved@redhat.com> 0.2.1-5
   1.128  - Relicense these SISSL files to 3 clause BSD
   1.129 @@ -188,7 +194,7 @@
   1.130  - Updated to libtirpc-0.1.12-rc1
   1.131  
   1.132  * Mon Apr 20 2009 Steve Dickson  <steved@redhat.com> 0.1.11-1
   1.133 -- Updated to the latest release: 0.1.11 
   1.134 +- Updated to the latest release: 0.1.11
   1.135  
   1.136  * Fri Mar 13 2009 Steve Dickson  <steved@redhat.com> 0.1.10-6
   1.137  - libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed
   1.138 @@ -202,7 +208,7 @@
   1.139  - Converted all uids and uids to type uid_t and gid_t (sf 2446314)
   1.140  
   1.141  * Wed Jan 28 2009 Steve Dickson  <steved@redhat.com> 0.1.10-3
   1.142 -- backwards compatibility: fix order of fields in TI-RPC's 
   1.143 +- backwards compatibility: fix order of fields in TI-RPC's
   1.144    svc_req (bz 481388)
   1.145  - Removed a number warnings.
   1.146  
   1.147 @@ -216,7 +222,7 @@
   1.148  - Fixed some incorrect function declarations (bz468815)
   1.149  
   1.150  * Mon Oct 27 2008 Steve Dickson  <steved@redhat.com> 0.1.9-6
   1.151 -- Fix bad assumption taddr2uaddr processing that 
   1.152 +- Fix bad assumption taddr2uaddr processing that
   1.153    caused a segfault (bz468014)
   1.154  
   1.155  * Tue Sep 16 2008 Steve Dickson <steved@redhat.com> 0.1.9-5

mercurial