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 URL: http://sourceforge.net/projects/libtirpc/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libgssglue-devel >= 0.1
16 BuildRequires: libtool
17 BuildRequires: pkgconfig
18 Requires: libgssglue >= 0.1
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This package contains SunLib's implementation of transport-independent
23 RPC (TI-RPC) documentation. This library forms a piece of the base of
24 Open Network Computing (ONC), and is derived directly from the Solaris
27 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System
28 V Transport Layer Interface (TLI) or an equivalent X/Open Transport
29 Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC,
30 which is supported by almost 70 vendors on all major operating
31 systems. TS-RPC source code (RPCSRC 4.0) remains available from
32 several Internet sites.
34 %description -l pl.UTF-8
35 Ten pakiet zawiera implementację SunLib RPC niezależnego od transportu
36 (TI-RPC). Ta biblioteka tworzy element podstawy dla ONC (Open Network
37 Computing) i wywodzi się bezpośrednio ze źródeł Solarisa 2.3.
39 TI-RPC to rozszerzona wersja TS-RPC wymagająca TLI (UNIX System V
40 Transport Layer Interface). Jest kompatybilna w locie z TS-RPC,
41 obsługiwanym przez prawie 70 producentów dla wszystkich znaczących
42 systemów operacyjnych. Kod źródłowy TS-RPC (RPCSRC 4.0) pozostaje
43 dostępny z różnych stron internetowych.
46 Summary: Development files for the TI-RPC library
47 Summary(pl.UTF-8): Pliki programistyczne biblioteki TI-RPC
48 Group: Development/Libraries
49 Requires: %{name} = %{epoch}:%{version}-%{release}
50 Requires: libgssglue-devel >= 0.1
53 This package includes header files necessary for developing programs
54 which use the TI-RPC library.
56 %description devel -l pl.UTF-8
57 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
58 wykorzystujących bibliotekę TI-RPC.
61 Summary: Static TI-RPC library
62 Summary(pl.UTF-8): Statyczna biblioteka TI-RPC
63 Group: Development/Libraries
64 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
67 This package includes static TI-RPC library.
69 %description static -l pl.UTF-8
70 Ten pakiet zawiera statyczną bibliotekę TI-RPC.
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}}
92 DESTDIR=$RPM_BUILD_ROOT
94 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
95 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
96 ln -sf /%{_lib}/`(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*)` \
97 $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
100 rm -rf $RPM_BUILD_ROOT
102 %post -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README
108 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/netconfig
109 %attr(755,root,root) /%{_lib}/libtirpc.so.*.*
110 %ghost %attr(755,root,root) /%{_lib}/libtirpc.so.?
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libtirpc.so
116 %{_libdir}/libtirpc.la
118 %{_pkgconfigdir}/*.pc
122 %defattr(644,root,root,755)
123 %{_libdir}/libtirpc.a