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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 500749 - (show annotations) (download)
Tue Oct 15 15:06:50 2013 UTC (10 years, 6 months ago) by luigiwalser
Original Path: cauldron/libtirpc/current/SPECS/libtirpc.spec
File size: 3526 byte(s)
- 0.2.4-rc2 (upstream patch via fedora, fixes CVE-2013-1950)
- krb5 is now used instead of gssglue

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.3
8 Release: %mkrel 2
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 Patch0: libtirpc-0.2.4-rc2.patch
14 BuildRequires: pkgconfig
15 BuildRequires: krb5-devel
16
17 %description
18 This package contains SunLib's implementation of transport-independent
19 RPC (TI-RPC) documentation. This library forms a piece of the base of
20 Open Network Computing (ONC), and is derived directly from the
21 Solaris 2.3 source.
22
23 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
24 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
25 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
26 by almost 70 vendors on all major operating systems. TS-RPC source code
27 (RPCSRC 4.0) remains available from several internet sites.
28
29 %package -n %{libname}
30 Summary: Transport Independent RPC Library
31 Group: System/Libraries
32 Requires: %{name} = %{version}-%{release}
33
34 %description -n %{libname}
35 This package contains SunLib's implementation of transport-independent
36 RPC (TI-RPC) documentation. This library forms a piece of the base of
37 Open Network Computing (ONC), and is derived directly from the
38 Solaris 2.3 source.
39
40 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
41 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
42 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
43 by almost 70 vendors on all major operating systems. TS-RPC source code
44 (RPCSRC 4.0) remains available from several internet sites.
45
46 %package -n %{develname}
47 Summary: Development files for the libtirpc library
48 Group: Development/C
49 Requires: %{libname} = %{version}-%{release}
50 Provides: tirpc-devel = %{version}-%{release}
51 Obsoletes: %{mklibname tirpc 1 -d}
52
53 %description -n %{develname}
54 This package contains SunLib's implementation of transport-independent
55 RPC (TI-RPC) documentation. This library forms a piece of the base of
56 Open Network Computing (ONC), and is derived directly from the
57 Solaris 2.3 source.
58
59 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
60 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
61 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
62 by almost 70 vendors on all major operating systems. TS-RPC source code
63 (RPCSRC 4.0) remains available from several internet sites.
64
65 This package includes header files and libraries necessary for developing
66 programs which use the tirpc library.
67
68
69 %prep
70 %setup -q
71 %patch0 -p1
72
73 %build
74 autoreconf -fi
75 export CFLAGS="%{optflags} -fPIC"
76 %configure2_5x \
77 --enable-gss
78 %make all
79
80 %install
81 rm -rf %{buildroot}
82
83
84 %makeinstall_std
85 install -m 755 -d %{buildroot}%{_sysconfdir}
86 install -m 644 doc/etc_netconfig %{buildroot}%{_sysconfdir}/netconfig
87
88 # remove the .la file, it makes libtool reorder args when linking nfs-utils:
89 # http://lists.gnu.org/archive/html/libtool/2010-03/msg00023.html
90 rm -f %{buildroot}%{_libdir}/*.la
91
92 %clean
93 rm -rf %{buildroot}
94
95 %files
96 %config(noreplace) %{_sysconfdir}/netconfig
97
98 %files -n %{libname}
99 %doc AUTHORS ChangeLog NEWS README
100 %{_libdir}/*.so.*
101
102 %files -n %{develname}
103 %{_libdir}/*.so
104 %{_libdir}/*.a
105 %{_libdir}/pkgconfig/libtirpc.pc
106 %{_includedir}/tirpc
107 %{_mandir}/man3/*
108 %{_mandir}/man5/*

  ViewVC Help
Powered by ViewVC 1.1.30