]> git.pld-linux.org Git - packages/libtirpc.git/blobdiff - libtirpc.spec
- updated to 1.0.1 (note: new soname)
[packages/libtirpc.git] / libtirpc.spec
index 58ef7e0f230467f774c5490200a999b8cd661636..dd0b41a42a3f87aa84eca903006711b5e481a38c 100644 (file)
@@ -1,25 +1,23 @@
 Summary:       Transport Independent RPC Library
 Summary(pl.UTF-8):     Biblioteka RPC niezależnego od transportu
 Name:          libtirpc
-Version:       0.1.7
+Version:       1.0.1
 Release:       1
-License:       BSD-like
+Epoch:         1
+License:       BSD
 Group:         Libraries
-Source0:       http://nfsv4.bullopensource.org/tarballs/tirpc/%{name}-%{version}.tar.bz2
-# Source0-md5: 6b03f1567132abf546ff44643e136621
-Patch1:                %{name}-netconfig.patch
-Patch2:                %{name}-gssapi.patch
-Patch3:                %{name}-svcauthnone.patch
-Patch4:                %{name}-ppc64.patch
-Patch5:                %{name}-svcauthdestroy.patch
-Patch6:                %{name}-compile.patch
-URL:           http://nfsv4.bullopensource.org/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libgssapi-devel
+Source0:       http://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2
+# Source0-md5: 36ce1c0ff80863bb0839d54aa0b94014
+Patch0:                %{name}-link.patch
+URL:           http://sourceforge.net/projects/libtirpc/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1:1.11
+BuildRequires: glibc >= 6:2.14-9.1
+BuildRequires: heimdal-devel
 BuildRequires: libtool
 BuildRequires: pkgconfig
-Requires:      libgssapi >= 0.11
+Requires:      heimdal-libs
+Requires:      glibc >= 6:2.14-9.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,7 +48,9 @@ dostępny z różnych stron internetowych.
 Summary:       Development files for the TI-RPC library
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki TI-RPC
 Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      glibc-devel >= 6:2.14-9.1
+Requires:      heimdal-devel
 
 %description devel
 This package includes header files necessary for developing programs
@@ -64,7 +64,7 @@ wykorzystujących bibliotekę TI-RPC.
 Summary:       Static TI-RPC library
 Summary(pl.UTF-8):     Statyczna biblioteka TI-RPC
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}-%{release}
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 This package includes static TI-RPC library.
@@ -74,21 +74,15 @@ Ten pakiet zawiera statyczną bibliotekę TI-RPC.
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
+%patch0 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
-%{__autoheader}
 %{__automake}
 %configure \
-       --enable-gss
+       --disable-silent-rules
 
 %{__make}
 
@@ -99,19 +93,17 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install man/netconfig.5 $RPM_BUILD_ROOT%{_mandir}/man5
-install man/publickey.5 $RPM_BUILD_ROOT%{_mandir}/man5
-install man/getnetconfig.3 $RPM_BUILD_ROOT%{_mandir}/man3
-install man/getnetpath.3 $RPM_BUILD_ROOT%{_mandir}/man3
-install man/publickey.3 $RPM_BUILD_ROOT%{_mandir}/man3
-install man/rpc_*.3 $RPM_BUILD_ROOT%{_mandir}/man3
-install man/rpcbind.3 $RPM_BUILD_ROOT%{_mandir}/man3
-
-mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
-ln -sf /%{_lib}/`(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*)` \
+%{__make} -C doc install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+mv -f $RPM_BUILD_ROOT%{_libdir}/libtirpc.so.* $RPM_BUILD_ROOT/%{_lib}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*) \
        $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
 
+# obsoleted by pkgconfig
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtirpc.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -120,18 +112,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/netconfig
-%attr(755,root,root) /%{_lib}/libtirpc.so.*.*
-%ghost %attr(755,root,root) /%{_lib}/libtirpc.so.?
-%{_mandir}/man5/*.5*
+%attr(755,root,root) /%{_lib}/libtirpc.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libtirpc.so.3
+%{_mandir}/man5/netconfig.5*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libtirpc.so
-%{_libdir}/libtirpc.la
 %{_includedir}/tirpc
-%{_mandir}/man3/*.3*
+%{_pkgconfigdir}/libtirpc.pc
+%{_mandir}/man3/bindresvport.3t*
+%{_mandir}/man3/des_crypt.3t*
+%{_mandir}/man3/getnet*.3t*
+%{_mandir}/man3/getrpc*.3t*
+%{_mandir}/man3/rpc*.3t*
+%{_mandir}/man3/rtime.3t*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.072979 seconds and 4 git commands to generate.