1 Summary: Transport Independent RPC Library
2 Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu
9 Source0: http://dl.sourceforge.net/sourceforge/libtirpc/%{name}-%{version}.tar.bz2
10 # Source0-md5: 4192ad1c683abb7eb2ca77d5fd64e54b
11 Patch0: %{name}-link.patch
12 Patch1: %{name}-git.patch
13 URL: http://sourceforge.net/projects/libtirpc/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libgssglue-devel >= 0.1
17 BuildRequires: libtool
18 BuildRequires: pkgconfig
19 Requires: libgssglue >= 0.1
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This package contains SunLib's implementation of transport-independent
24 RPC (TI-RPC) documentation. This library forms a piece of the base of
25 Open Network Computing (ONC), and is derived directly from the Solaris
28 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System
29 V Transport Layer Interface (TLI) or an equivalent X/Open Transport
30 Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC,
31 which is supported by almost 70 vendors on all major operating
32 systems. TS-RPC source code (RPCSRC 4.0) remains available from
33 several Internet sites.
35 %description -l pl.UTF-8
36 Ten pakiet zawiera implementację SunLib RPC niezależnego od transportu
37 (TI-RPC). Ta biblioteka tworzy element podstawy dla ONC (Open Network
38 Computing) i wywodzi się bezpośrednio ze źródeł Solarisa 2.3.
40 TI-RPC to rozszerzona wersja TS-RPC wymagająca TLI (UNIX System V
41 Transport Layer Interface). Jest kompatybilna w locie z TS-RPC,
42 obsługiwanym przez prawie 70 producentów dla wszystkich znaczących
43 systemów operacyjnych. Kod źródłowy TS-RPC (RPCSRC 4.0) pozostaje
44 dostępny z różnych stron internetowych.
47 Summary: Development files for the TI-RPC library
48 Summary(pl.UTF-8): Pliki programistyczne biblioteki TI-RPC
49 Group: Development/Libraries
50 Requires: %{name} = %{epoch}:%{version}-%{release}
51 Requires: libgssglue-devel >= 0.1
54 This package includes header files necessary for developing programs
55 which use the TI-RPC library.
57 %description devel -l pl.UTF-8
58 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
59 wykorzystujących bibliotekę TI-RPC.
62 Summary: Static TI-RPC library
63 Summary(pl.UTF-8): Statyczna biblioteka TI-RPC
64 Group: Development/Libraries
65 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
68 This package includes static TI-RPC library.
70 %description static -l pl.UTF-8
71 Ten pakiet zawiera statyczną bibliotekę TI-RPC.
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}}
94 DESTDIR=$RPM_BUILD_ROOT
96 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
97 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
98 ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*) \
99 $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
102 rm -rf $RPM_BUILD_ROOT
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog NEWS README
110 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/netconfig
111 %attr(755,root,root) /%{_lib}/libtirpc.so.*.*
112 %ghost %attr(755,root,root) /%{_lib}/libtirpc.so.1
113 %{_mandir}/man5/netconfig.5*
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libtirpc.so
118 %{_libdir}/libtirpc.la
120 %{_pkgconfigdir}/libtirpc.pc
121 %{_mandir}/man3/*.3t*
124 %defattr(644,root,root,755)
125 %{_libdir}/libtirpc.a