]> git.pld-linux.org Git - packages/libtirpc.git/blame - libtirpc.spec
- pl
[packages/libtirpc.git] / libtirpc.spec
CommitLineData
d387e46a 1Summary: Transport Independent RPC Library
2deb102b 2Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu
d387e46a
JR
3Name: libtirpc
4Version: 0.1.7
5Release: 1
9e723511 6License: BSD-like
d387e46a
JR
7Group: Libraries
8Source0: http://nfsv4.bullopensource.org/tarballs/tirpc/%{name}-%{version}.tar.bz2
9# Source0-md5: 6b03f1567132abf546ff44643e136621
10Patch1: %{name}-netconfig.patch
11Patch2: %{name}-gssapi.patch
12Patch3: %{name}-svcauthnone.patch
13Patch4: %{name}-ppc64.patch
14Patch5: %{name}-svcauthdestroy.patch
15Patch6: %{name}-compile.patch
16URL: http://nfsv4.bullopensource.org/
17BuildRequires: autoconf
18BuildRequires: automake
19BuildRequires: libgssapi-devel
20BuildRequires: libtool
21BuildRequires: pkgconfig
22Requires: libgssapi >= 0.11
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This package contains SunLib's implementation of transport-independent
27RPC (TI-RPC) documentation. This library forms a piece of the base of
28Open Network Computing (ONC), and is derived directly from the Solaris
292.3 source.
30
31TI-RPC is an enhanced version of TS-RPC that requires the UNIX System
32V Transport Layer Interface (TLI) or an equivalent X/Open Transport
33Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC,
34which is supported by almost 70 vendors on all major operating
35systems. TS-RPC source code (RPCSRC 4.0) remains available from
2deb102b
JB
36several Internet sites.
37
38%description -l pl.UTF-8
39Ten pakiet zawiera implementację SunLib RPC niezależnego od transportu
40(TI-RPC). Ta biblioteka tworzy element podstawy dla ONC (Open Network
41Computing) i wywodzi się bezpośrednio ze źródeł Solarisa 2.3.
42
43TI-RPC to rozszerzona wersja TS-RPC wymagająca TLI (UNIX System V
44Transport Layer Interface). Jest kompatybilna w locie z TS-RPC,
45obsługiwanym przez prawie 70 producentów dla wszystkich znaczących
46systemów operacyjnych. Kod źródłowy TS-RPC (RPCSRC 4.0) pozostaje
47dostępny z różnych stron internetowych.
d387e46a
JR
48
49%package devel
50Summary: Development files for the TI-RPC library
2deb102b 51Summary(pl.UTF-8): Pliki programistyczne biblioteki TI-RPC
d387e46a
JR
52Group: Development/Libraries
53Requires: %{name} = %{version}-%{release}
54
55%description devel
2deb102b
JB
56This package includes header files necessary for developing programs
57which use the TI-RPC library.
58
59%description devel -l pl.UTF-8
60Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
61wykorzystujących bibliotekę TI-RPC.
d387e46a
JR
62
63%package static
64Summary: Static TI-RPC library
2deb102b 65Summary(pl.UTF-8): Statyczna biblioteka TI-RPC
d387e46a
JR
66Group: Development/Libraries
67Requires: %{name}-devel = %{version}-%{release}
68
69%description static
70This package includes static TI-RPC library.
71
2deb102b
JB
72%description static -l pl.UTF-8
73Ten pakiet zawiera statyczną bibliotekę TI-RPC.
74
d387e46a
JR
75%prep
76%setup -q
77%patch1 -p1
78%patch2 -p1
79%patch3 -p1
80%patch4 -p1
81%patch5 -p1
82%patch6 -p1
83
84%build
85%{__libtoolize}
86%{__aclocal}
87%{__autoconf}
88%{__autoheader}
89%{__automake}
d387e46a
JR
90%configure \
91 --enable-gss
92
93%{__make}
94
95%install
96rm -rf $RPM_BUILD_ROOT
97install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}}
98
99%{__make} install \
100 DESTDIR=$RPM_BUILD_ROOT
101
102install man/netconfig.5 $RPM_BUILD_ROOT%{_mandir}/man5
103install man/publickey.5 $RPM_BUILD_ROOT%{_mandir}/man5
104install man/getnetconfig.3 $RPM_BUILD_ROOT%{_mandir}/man3
105install man/getnetpath.3 $RPM_BUILD_ROOT%{_mandir}/man3
106install man/publickey.3 $RPM_BUILD_ROOT%{_mandir}/man3
107install man/rpc_*.3 $RPM_BUILD_ROOT%{_mandir}/man3
108install man/rpcbind.3 $RPM_BUILD_ROOT%{_mandir}/man3
109
110mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
111rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
112ln -sf /%{_lib}/`(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*)` \
113 $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
114
115%clean
116rm -rf $RPM_BUILD_ROOT
117
2deb102b
JB
118%post -p /sbin/ldconfig
119%postun -p /sbin/ldconfig
d387e46a
JR
120
121%files
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.?
127%{_mandir}/man5/*.5*
128
129%files devel
130%defattr(644,root,root,755)
131%attr(755,root,root) %{_libdir}/libtirpc.so
132%{_libdir}/libtirpc.la
133%{_includedir}/tirpc
134%{_mandir}/man3/*.3*
135
136%files static
137%defattr(644,root,root,755)
138%{_libdir}/libtirpc.a
This page took 0.092916 seconds and 4 git commands to generate.