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