/[packages]/cauldron/libtirpc/current/SPECS/libtirpc.spec
ViewVC logotype

Contents of /cauldron/libtirpc/current/SPECS/libtirpc.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 661230 - (show annotations) (download)
Sat Aug 9 08:53:08 2014 UTC (9 years, 8 months ago) by wally
File size: 3389 byte(s)
- drop some trailing spaces (SILENT)
1 %define major 1
2 %define libname %mklibname tirpc %{major}
3 %define develname %mklibname tirpc -d
4
5 Summary: Transport Independent RPC Library
6 Name: libtirpc
7 Version: 0.2.4
8 Release: %mkrel 1
9 License: GPL
10 Group: System/Libraries
11 URL: http://sourceforge.net/projects/libtirpc
12 Source0: http://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2
13 BuildRequires: pkgconfig
14 BuildRequires: krb5-devel
15
16 %description
17 This package contains SunLib's implementation of transport-independent
18 RPC (TI-RPC) documentation. This library forms a piece of the base of
19 Open Network Computing (ONC), and is derived directly from the
20 Solaris 2.3 source.
21
22 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
23 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
24 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
25 by almost 70 vendors on all major operating systems. TS-RPC source code
26 (RPCSRC 4.0) remains available from several internet sites.
27
28 %package -n %{libname}
29 Summary: Transport Independent RPC Library
30 Group: System/Libraries
31 Requires: %{name} = %{version}-%{release}
32
33 %description -n %{libname}
34 This package contains SunLib's implementation of transport-independent
35 RPC (TI-RPC) documentation. This library forms a piece of the base of
36 Open Network Computing (ONC), and is derived directly from the
37 Solaris 2.3 source.
38
39 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
40 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
41 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
42 by almost 70 vendors on all major operating systems. TS-RPC source code
43 (RPCSRC 4.0) remains available from several internet sites.
44
45 %package -n %{develname}
46 Summary: Development files for the libtirpc library
47 Group: Development/C
48 Requires: %{libname} = %{version}-%{release}
49 Provides: tirpc-devel = %{version}-%{release}
50 Obsoletes: %{mklibname tirpc 1 -d}
51
52 %description -n %{develname}
53 This package contains SunLib's implementation of transport-independent
54 RPC (TI-RPC) documentation. This library forms a piece of the base of
55 Open Network Computing (ONC), and is derived directly from the
56 Solaris 2.3 source.
57
58 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
59 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
60 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
61 by almost 70 vendors on all major operating systems. TS-RPC source code
62 (RPCSRC 4.0) remains available from several internet sites.
63
64 This package includes header files and libraries necessary for developing
65 programs which use the tirpc library.
66
67
68 %prep
69 %setup -q
70
71 %build
72 autoreconf -fi
73 export CFLAGS="%{optflags} -fPIC"
74 %configure2_5x
75 %make all
76
77 %install
78
79 %makeinstall_std
80 install -m 755 -d %{buildroot}%{_sysconfdir}
81 install -m 644 doc/netconfig %{buildroot}%{_sysconfdir}/netconfig
82
83 # remove the .la file, it makes libtool reorder args when linking nfs-utils:
84 # http://lists.gnu.org/archive/html/libtool/2010-03/msg00023.html
85 rm -f %{buildroot}%{_libdir}/*.la
86
87 %files
88 %config(noreplace) %{_sysconfdir}/netconfig
89
90 %files -n %{libname}
91 %doc AUTHORS ChangeLog NEWS README
92 %{_libdir}/*.so.*
93
94 %files -n %{develname}
95 %{_libdir}/*.so
96 %{_libdir}/*.a
97 %{_libdir}/pkgconfig/libtirpc.pc
98 %{_includedir}/tirpc
99 %{_mandir}/man3/*
100 %{_mandir}/man5/*

  ViewVC Help
Powered by ViewVC 1.1.30