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