]>
Commit | Line | Data |
---|---|---|
d387e46a | 1 | Summary: Transport Independent RPC Library |
2deb102b | 2 | Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu |
d387e46a | 3 | Name: libtirpc |
ad631ce4 | 4 | Version: 0.1.10 |
c3d7113b | 5 | Release: 4 |
ad631ce4 | 6 | Epoch: 1 |
9e723511 | 7 | License: BSD-like |
d387e46a | 8 | Group: Libraries |
8bed9148 | 9 | Source0: http://dl.sourceforge.net/sourceforge/libtirpc/%{name}-%{version}.tar.bz2 |
ad631ce4 JR |
10 | # Source0-md5: 4192ad1c683abb7eb2ca77d5fd64e54b |
11 | Patch0: %{name}-link.patch | |
c3d7113b | 12 | Patch1: %{name}-git.patch |
8bed9148 | 13 | URL: http://sourceforge.net/projects/libtirpc/ |
d387e46a JR |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
5b4787ba | 16 | BuildRequires: libgssglue-devel >= 0.1 |
d387e46a JR |
17 | BuildRequires: libtool |
18 | BuildRequires: pkgconfig | |
5b4787ba | 19 | Requires: libgssglue >= 0.1 |
d387e46a JR |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | This package contains SunLib's implementation of transport-independent | |
24 | RPC (TI-RPC) documentation. This library forms a piece of the base of | |
25 | Open Network Computing (ONC), and is derived directly from the Solaris | |
26 | 2.3 source. | |
27 | ||
28 | TI-RPC is an enhanced version of TS-RPC that requires the UNIX System | |
29 | V Transport Layer Interface (TLI) or an equivalent X/Open Transport | |
30 | Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, | |
31 | which is supported by almost 70 vendors on all major operating | |
32 | systems. TS-RPC source code (RPCSRC 4.0) remains available from | |
2deb102b JB |
33 | several Internet sites. |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | Ten pakiet zawiera implementację SunLib RPC niezależnego od transportu | |
37 | (TI-RPC). Ta biblioteka tworzy element podstawy dla ONC (Open Network | |
38 | Computing) i wywodzi się bezpośrednio ze źródeł Solarisa 2.3. | |
39 | ||
40 | TI-RPC to rozszerzona wersja TS-RPC wymagająca TLI (UNIX System V | |
41 | Transport Layer Interface). Jest kompatybilna w locie z TS-RPC, | |
42 | obsługiwanym przez prawie 70 producentów dla wszystkich znaczących | |
43 | systemów operacyjnych. Kod źródłowy TS-RPC (RPCSRC 4.0) pozostaje | |
44 | dostępny z różnych stron internetowych. | |
d387e46a JR |
45 | |
46 | %package devel | |
47 | Summary: Development files for the TI-RPC library | |
2deb102b | 48 | Summary(pl.UTF-8): Pliki programistyczne biblioteki TI-RPC |
d387e46a | 49 | Group: Development/Libraries |
f5c6e8f9 | 50 | Requires: %{name} = %{epoch}:%{version}-%{release} |
5b4787ba | 51 | Requires: libgssglue-devel >= 0.1 |
d387e46a JR |
52 | |
53 | %description devel | |
2deb102b JB |
54 | This package includes header files necessary for developing programs |
55 | which use the TI-RPC library. | |
56 | ||
57 | %description devel -l pl.UTF-8 | |
58 | Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów | |
59 | wykorzystujących bibliotekę TI-RPC. | |
d387e46a JR |
60 | |
61 | %package static | |
62 | Summary: Static TI-RPC library | |
2deb102b | 63 | Summary(pl.UTF-8): Statyczna biblioteka TI-RPC |
d387e46a | 64 | Group: Development/Libraries |
f5c6e8f9 | 65 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
d387e46a JR |
66 | |
67 | %description static | |
68 | This package includes static TI-RPC library. | |
69 | ||
2deb102b JB |
70 | %description static -l pl.UTF-8 |
71 | Ten pakiet zawiera statyczną bibliotekę TI-RPC. | |
72 | ||
d387e46a JR |
73 | %prep |
74 | %setup -q | |
ad631ce4 | 75 | %patch0 -p1 |
c3d7113b | 76 | %patch1 -p1 |
d387e46a JR |
77 | |
78 | %build | |
79 | %{__libtoolize} | |
80 | %{__aclocal} | |
81 | %{__autoconf} | |
82 | %{__autoheader} | |
83 | %{__automake} | |
d387e46a JR |
84 | %configure \ |
85 | --enable-gss | |
86 | ||
87 | %{__make} | |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}} | |
92 | ||
93 | %{__make} install \ | |
94 | DESTDIR=$RPM_BUILD_ROOT | |
95 | ||
d387e46a JR |
96 | mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib} |
97 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so | |
98 | ln -sf /%{_lib}/`(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*)` \ | |
99 | $RPM_BUILD_ROOT%{_libdir}/libtirpc.so | |
100 | ||
101 | %clean | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
2deb102b JB |
104 | %post -p /sbin/ldconfig |
105 | %postun -p /sbin/ldconfig | |
d387e46a JR |
106 | |
107 | %files | |
108 | %defattr(644,root,root,755) | |
109 | %doc AUTHORS ChangeLog NEWS README | |
110 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/netconfig | |
111 | %attr(755,root,root) /%{_lib}/libtirpc.so.*.* | |
112 | %ghost %attr(755,root,root) /%{_lib}/libtirpc.so.? | |
113 | %{_mandir}/man5/*.5* | |
114 | ||
115 | %files devel | |
116 | %defattr(644,root,root,755) | |
117 | %attr(755,root,root) %{_libdir}/libtirpc.so | |
118 | %{_libdir}/libtirpc.la | |
119 | %{_includedir}/tirpc | |
8bed9148 | 120 | %{_pkgconfigdir}/*.pc |
d387e46a JR |
121 | %{_mandir}/man3/*.3* |
122 | ||
123 | %files static | |
124 | %defattr(644,root,root,755) | |
125 | %{_libdir}/libtirpc.a |