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}
68 Requires: heimdal-static
71 This package includes static TI-RPC library.
73 %description static -l pl.UTF-8
74 Ten pakiet zawiera statyczną bibliotekę TI-RPC.
87 --disable-silent-rules
92 rm -rf $RPM_BUILD_ROOT
93 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}}
96 DESTDIR=$RPM_BUILD_ROOT
98 %{__make} -C doc install \
99 DESTDIR=$RPM_BUILD_ROOT
101 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libtirpc.so.* $RPM_BUILD_ROOT/%{_lib}
102 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
103 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libtirpc.so.*.*.*) \
104 $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
106 # obsoleted by pkgconfig
107 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libtirpc.la
110 rm -rf $RPM_BUILD_ROOT
112 %post -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
116 %defattr(644,root,root,755)
117 %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
118 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bindresvport.blacklist
119 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/netconfig
120 %attr(755,root,root) /%{_lib}/libtirpc.so.*.*.*
121 %attr(755,root,root) %ghost /%{_lib}/libtirpc.so.3
122 %{_mandir}/man5/netconfig.5*
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/libtirpc.so
128 %{_pkgconfigdir}/libtirpc.pc
129 %{_mandir}/man3/bindresvport.3t*
130 %{_mandir}/man3/des_crypt.3t*
131 %{_mandir}/man3/getnet*.3t*
132 %{_mandir}/man3/getrpc*.3t*
133 %{_mandir}/man3/rpc*.3t*
134 %{_mandir}/man3/rtime.3t*
137 %defattr(644,root,root,755)
138 %{_libdir}/libtirpc.a