-#
-# Conditional build:
-%bcond_with gssglue # build with MIT Kerberos instead of Heimdal
-#
Summary: Transport Independent RPC Library
Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu
Name: libtirpc
-Version: 0.2.3
+Version: 1.0.1
Release: 1
Epoch: 1
-License: BSD-like
+License: BSD
Group: Libraries
Source0: http://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2
-# Source0-md5: b70e6c12a369a91e69fcc3b9feb23d61
+# Source0-md5: 36ce1c0ff80863bb0839d54aa0b94014
Patch0: %{name}-link.patch
-Patch1: %{name}-heimdal.patch
URL: http://sourceforge.net/projects/libtirpc/
BuildRequires: autoconf >= 2.50
-BuildRequires: automake
+BuildRequires: automake >= 1:1.11
BuildRequires: glibc >= 6:2.14-9.1
-%if %{with gssglue}
-BuildRequires: libgssglue-devel >= 0.1
-%else
BuildRequires: heimdal-devel
-%endif
BuildRequires: libtool
BuildRequires: pkgconfig
-%if %{with gssglue}
-Requires: libgssglue >= 0.1
-%else
Requires: heimdal-libs
-%endif
Requires: glibc >= 6:2.14-9.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# FIXME: this allows invalid (unresolved symbols) library to be installed.
-# Left until upstream fixes this properly.
-%define no_install_post_check_so 1
-
%description
This package contains SunLib's implementation of transport-independent
RPC (TI-RPC) documentation. This library forms a piece of the base of
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: glibc-devel >= 6:2.14-9.1
-%if %{with gssglue}
-Requires: libgssglue-devel >= 0.1
-%else
Requires: heimdal-devel
-%endif
%description devel
This package includes header files necessary for developing programs
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
-%{__autoheader}
%{__automake}
%configure \
- --enable-gss=%{?with_gssglue:libgssglue}%{!?with_gssglue:heimdal-gssapi}
+ --disable-silent-rules
%{__make}
%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.*.*
-%attr(755,root,root) %ghost /%{_lib}/libtirpc.so.1
+%attr(755,root,root) /%{_lib}/libtirpc.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libtirpc.so.3
%{_mandir}/man5/netconfig.5*
%files devel