]> git.pld-linux.org Git - packages/libtirpc.git/blob - libtirpc.spec
- more verbose files
[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:        5
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 Patch1:         %{name}-git.patch
13 URL:            http://sourceforge.net/projects/libtirpc/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libgssglue-devel >= 0.1
17 BuildRequires:  libtool
18 BuildRequires:  pkgconfig
19 Requires:       libgssglue >= 0.1
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
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.
45
46 %package devel
47 Summary:        Development files for the TI-RPC library
48 Summary(pl.UTF-8):      Pliki programistyczne biblioteki TI-RPC
49 Group:          Development/Libraries
50 Requires:       %{name} = %{epoch}:%{version}-%{release}
51 Requires:       libgssglue-devel >= 0.1
52
53 %description devel
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.
60
61 %package static
62 Summary:        Static TI-RPC library
63 Summary(pl.UTF-8):      Statyczna biblioteka TI-RPC
64 Group:          Development/Libraries
65 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
66
67 %description static
68 This package includes static TI-RPC library.
69
70 %description static -l pl.UTF-8
71 Ten pakiet zawiera statyczną bibliotekę TI-RPC.
72
73 %prep
74 %setup -q
75 %patch0 -p1
76 %patch1 -p1
77
78 %build
79 %{__libtoolize}
80 %{__aclocal}
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
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
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
104 %post   -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
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.1
113 %{_mandir}/man5/netconfig.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
120 %{_pkgconfigdir}/libtirpc.pc
121 %{_mandir}/man3/*.3t*
122
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/libtirpc.a
This page took 0.300033 seconds and 4 git commands to generate.