1 Summary: Transport Independent RPC Library
2 Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu
9 Source0: http://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2
10 # Source0-md5: f222e258c129c6da2f8f9cfe7f1ed745
11 Patch0: %{name}-link.patch
12 URL: http://sourceforge.net/projects/libtirpc/
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake >= 1:1.11
15 BuildRequires: glibc >= 6:2.14-9.1
16 BuildRequires: heimdal-devel
17 BuildRequires: libtool
18 BuildRequires: pkgconfig
19 Requires: heimdal-libs
20 Requires: glibc >= 6:2.14-9.1
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This package contains SunLib's implementation of transport-independent
25 RPC (TI-RPC) documentation. This library forms a piece of the base of
26 Open Network Computing (ONC), and is derived directly from the Solaris
29 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System
30 V Transport Layer Interface (TLI) or an equivalent X/Open Transport
31 Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC,
32 which is supported by almost 70 vendors on all major operating
33 systems. TS-RPC source code (RPCSRC 4.0) remains available from
34 several Internet sites.
36 %description -l pl.UTF-8
37 Ten pakiet zawiera implementację SunLib RPC niezależnego od transportu
38 (TI-RPC). Ta biblioteka tworzy element podstawy dla ONC (Open Network
39 Computing) i wywodzi się bezpośrednio ze źródeł Solarisa 2.3.
41 TI-RPC to rozszerzona wersja TS-RPC wymagająca TLI (UNIX System V
42 Transport Layer Interface). Jest kompatybilna w locie z TS-RPC,
43 obsługiwanym przez prawie 70 producentów dla wszystkich znaczących
44 systemów operacyjnych. Kod źródłowy TS-RPC (RPCSRC 4.0) pozostaje
45 dostępny z różnych stron internetowych.
48 Summary: Development files for the TI-RPC library
49 Summary(pl.UTF-8): Pliki programistyczne biblioteki TI-RPC
50 Group: Development/Libraries
51 Requires: %{name} = %{epoch}:%{version}-%{release}
52 Requires: glibc-devel >= 6:2.14-9.1
53 Requires: heimdal-devel
56 This package includes header files necessary for developing programs
57 which use the TI-RPC library.
59 %description devel -l pl.UTF-8
60 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
61 wykorzystujących bibliotekę TI-RPC.
64 Summary: Static TI-RPC library
65 Summary(pl.UTF-8): Statyczna biblioteka TI-RPC
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
70 This package includes static TI-RPC library.
72 %description static -l pl.UTF-8
73 Ten pakiet zawiera statyczną bibliotekę TI-RPC.
86 --disable-silent-rules
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}}
95 DESTDIR=$RPM_BUILD_ROOT
97 %{__make} -C doc install \
98 DESTDIR=$RPM_BUILD_ROOT
100 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libtirpc.so.* $RPM_BUILD_ROOT/%{_lib}
101 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
102 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libtirpc.so.*.*.*) \
103 $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
105 # obsoleted by pkgconfig
106 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libtirpc.la
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bindresvport.blacklist
118 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/netconfig
119 %attr(755,root,root) /%{_lib}/libtirpc.so.*.*.*
120 %attr(755,root,root) %ghost /%{_lib}/libtirpc.so.3
121 %{_mandir}/man5/netconfig.5*
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/libtirpc.so
127 %{_pkgconfigdir}/libtirpc.pc
128 %{_mandir}/man3/bindresvport.3t*
129 %{_mandir}/man3/des_crypt.3t*
130 %{_mandir}/man3/getnet*.3t*
131 %{_mandir}/man3/getrpc*.3t*
132 %{_mandir}/man3/rpc*.3t*
133 %{_mandir}/man3/rtime.3t*
136 %defattr(644,root,root,755)
137 %{_libdir}/libtirpc.a