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

  ViewVC Help
Powered by ViewVC 1.1.28