1 Summary: Transport Independent RPC Library
2 Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu
8 Source0: http://nfsv4.bullopensource.org/tarballs/tirpc/%{name}-%{version}.tar.bz2
9 # Source0-md5: 6b03f1567132abf546ff44643e136621
10 Patch1: %{name}-netconfig.patch
11 Patch2: %{name}-gssapi.patch
12 Patch3: %{name}-svcauthnone.patch
13 Patch4: %{name}-ppc64.patch
14 Patch5: %{name}-svcauthdestroy.patch
15 Patch6: %{name}-compile.patch
16 URL: http://nfsv4.bullopensource.org/
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: libgssapi-devel
20 BuildRequires: libtool
21 BuildRequires: pkgconfig
22 Requires: libgssapi >= 0.11
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This package contains SunLib's implementation of transport-independent
27 RPC (TI-RPC) documentation. This library forms a piece of the base of
28 Open Network Computing (ONC), and is derived directly from the Solaris
31 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System
32 V Transport Layer Interface (TLI) or an equivalent X/Open Transport
33 Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC,
34 which is supported by almost 70 vendors on all major operating
35 systems. TS-RPC source code (RPCSRC 4.0) remains available from
36 several Internet sites.
38 %description -l pl.UTF-8
39 Ten pakiet zawiera implementację SunLib RPC niezależnego od transportu
40 (TI-RPC). Ta biblioteka tworzy element podstawy dla ONC (Open Network
41 Computing) i wywodzi się bezpośrednio ze źródeł Solarisa 2.3.
43 TI-RPC to rozszerzona wersja TS-RPC wymagająca TLI (UNIX System V
44 Transport Layer Interface). Jest kompatybilna w locie z TS-RPC,
45 obsługiwanym przez prawie 70 producentów dla wszystkich znaczących
46 systemów operacyjnych. Kod źródłowy TS-RPC (RPCSRC 4.0) pozostaje
47 dostępny z różnych stron internetowych.
50 Summary: Development files for the TI-RPC library
51 Summary(pl.UTF-8): Pliki programistyczne biblioteki TI-RPC
52 Group: Development/Libraries
53 Requires: %{name} = %{version}-%{release}
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 = %{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.
96 rm -rf $RPM_BUILD_ROOT
97 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}}
100 DESTDIR=$RPM_BUILD_ROOT
102 install man/netconfig.5 $RPM_BUILD_ROOT%{_mandir}/man5
103 install man/publickey.5 $RPM_BUILD_ROOT%{_mandir}/man5
104 install man/getnetconfig.3 $RPM_BUILD_ROOT%{_mandir}/man3
105 install man/getnetpath.3 $RPM_BUILD_ROOT%{_mandir}/man3
106 install man/publickey.3 $RPM_BUILD_ROOT%{_mandir}/man3
107 install man/rpc_*.3 $RPM_BUILD_ROOT%{_mandir}/man3
108 install man/rpcbind.3 $RPM_BUILD_ROOT%{_mandir}/man3
110 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
111 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
112 ln -sf /%{_lib}/`(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*)` \
113 $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
116 rm -rf $RPM_BUILD_ROOT
118 %post -p /sbin/ldconfig
119 %postun -p /sbin/ldconfig
122 %defattr(644,root,root,755)
123 %doc AUTHORS ChangeLog NEWS README
124 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/netconfig
125 %attr(755,root,root) /%{_lib}/libtirpc.so.*.*
126 %ghost %attr(755,root,root) /%{_lib}/libtirpc.so.?
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/libtirpc.so
132 %{_libdir}/libtirpc.la
137 %defattr(644,root,root,755)
138 %{_libdir}/libtirpc.a