/[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 33403 - (show annotations) (download)
Sat Jan 22 23:35:25 2011 UTC (9 years, 6 months ago) by ennael
File size: 3580 byte(s)
remove mdkversion

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.1
8 Release: %mkrel 3
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: gssglue-devel
15 BuildRoot: %{_tmppath}/%{name}-%{version}
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
72 %build
73 export CFLAGS="%{optflags} -fPIC"
74 %configure2_5x \
75 --enable-gss
76 %make all
77
78 %install
79 rm -rf %{buildroot}
80
81
82 %makeinstall_std
83 install -m 755 -d %{buildroot}%{_sysconfdir}
84 install -m 644 doc/etc_netconfig %{buildroot}%{_sysconfdir}/netconfig
85
86 # remove the .la file, it makes libtool reorder args when linking nfs-utils:
87 # http://lists.gnu.org/archive/html/libtool/2010-03/msg00023.html
88 rm -f %{buildroot}%{_libdir}/*.la
89
90 %clean
91 rm -rf %{buildroot}
92
93 %files
94 %defattr(-,root,root)
95 %config(noreplace) %{_sysconfdir}/netconfig
96
97 %files -n %{libname}
98 %defattr(-,root,root)
99 %doc AUTHORS ChangeLog NEWS README
100 %{_libdir}/*.so.*
101
102 %files -n %{develname}
103 %defattr(-,root,root)
104 %{_libdir}/*.so
105 %{_libdir}/*.a
106 %{_libdir}/pkgconfig/libtirpc.pc
107 %{_includedir}/tirpc
108 %{_mandir}/man3/*
109 %{_mandir}/man5/*
110
111

  ViewVC Help
Powered by ViewVC 1.1.28