]> git.pld-linux.org Git - packages/libtirpc.git/blob - libtirpc.spec
- rel 2; readd svcauthnone
[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:        2
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 URL:            http://sourceforge.net/projects/libtirpc/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libgssglue-devel >= 0.1
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 Requires:       libgssglue >= 0.1
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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
27 2.3 source.
28
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.
35
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.
40
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.
46
47 %package devel
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} = %{version}-%{release}
52 Requires:       libgssglue-devel >= 0.1
53
54 %description devel
55 This package includes header files necessary for developing programs
56 which use the TI-RPC library.
57
58 %description devel -l pl.UTF-8
59 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
60 wykorzystujących bibliotekę TI-RPC.
61
62 %package static
63 Summary:        Static TI-RPC library
64 Summary(pl.UTF-8):      Statyczna biblioteka TI-RPC
65 Group:          Development/Libraries
66 Requires:       %{name}-devel = %{version}-%{release}
67
68 %description static
69 This package includes static TI-RPC library.
70
71 %description static -l pl.UTF-8
72 Ten pakiet zawiera statyczną bibliotekę TI-RPC.
73
74 %prep
75 %setup -q
76 %patch1 -p1
77 %patch2 -p1
78 %patch3 -p1
79 %patch4 -p1
80
81 %build
82 %{__libtoolize}
83 %{__aclocal}
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure \
88         --enable-gss
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}}
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
100 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
101 ln -sf /%{_lib}/`(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*)` \
102         $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
110 %files
111 %defattr(644,root,root,755)
112 %doc AUTHORS ChangeLog NEWS README
113 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/netconfig
114 %attr(755,root,root) /%{_lib}/libtirpc.so.*.*
115 %ghost %attr(755,root,root) /%{_lib}/libtirpc.so.?
116 %{_mandir}/man5/*.5*
117
118 %files devel
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libtirpc.so
121 %{_libdir}/libtirpc.la
122 %{_includedir}/tirpc
123 %{_pkgconfigdir}/*.pc
124 %{_mandir}/man3/*.3*
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/libtirpc.a
This page took 0.084711 seconds and 4 git commands to generate.