Summary: Transport Independent RPC Library Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu Name: libtirpc Version: 1.0.8 Release: 4 License: BSD-like Group: Libraries Source0: http://dl.sourceforge.net/sourceforge/libtirpc/%{name}-%{version}.tar.bz2 # Source0-md5: 595bbda41486ea769a6a0fd720ed08dc Patch1: %{name}-compile.patch Patch2: %{name}-link.patch Patch3: %{name}-svc-run.patch Patch4: %{name}-svcauthnone.patch Patch5: %{name}-first-proto.patch URL: http://sourceforge.net/projects/libtirpc/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libgssglue-devel >= 0.1 BuildRequires: libtool BuildRequires: pkgconfig Requires: libgssglue >= 0.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This package contains SunLib's implementation of transport-independent RPC (TI-RPC) documentation. This library forms a piece of the base of Open Network Computing (ONC), and is derived directly from the Solaris 2.3 source. TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported by almost 70 vendors on all major operating systems. TS-RPC source code (RPCSRC 4.0) remains available from several Internet sites. %description -l pl.UTF-8 Ten pakiet zawiera implementację SunLib RPC niezależnego od transportu (TI-RPC). Ta biblioteka tworzy element podstawy dla ONC (Open Network Computing) i wywodzi się bezpośrednio ze źródeł Solarisa 2.3. TI-RPC to rozszerzona wersja TS-RPC wymagająca TLI (UNIX System V Transport Layer Interface). Jest kompatybilna w locie z TS-RPC, obsługiwanym przez prawie 70 producentów dla wszystkich znaczących systemów operacyjnych. Kod źródłowy TS-RPC (RPCSRC 4.0) pozostaje dostępny z różnych stron internetowych. %package devel 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: libgssglue-devel >= 0.1 %description devel This package includes header files necessary for developing programs which use the TI-RPC library. %description devel -l pl.UTF-8 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów wykorzystujących bibliotekę TI-RPC. %package static Summary: Static TI-RPC library Summary(pl.UTF-8): Statyczna biblioteka TI-RPC Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static This package includes static TI-RPC library. %description static -l pl.UTF-8 Ten pakiet zawiera statyczną bibliotekę TI-RPC. %prep %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} %configure \ --enable-gss %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT 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.*.*)` \ $RPM_BUILD_ROOT%{_libdir}/libtirpc.so %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README %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* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libtirpc.so %{_libdir}/libtirpc.la %{_includedir}/tirpc %{_pkgconfigdir}/*.pc %{_mandir}/man3/*.3* %files static %defattr(644,root,root,755) %{_libdir}/libtirpc.a