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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 129665 - (hide annotations) (download)
Tue Jul 26 08:23:54 2011 UTC (12 years, 9 months ago) by guillomovitch
File size: 3602 byte(s)
new version
1 ennael 33386 %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 guillomovitch 129665 Version: 0.2.2
8     Release: %mkrel 1
9 ennael 33386 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 guillomovitch 129665 Patch0: 01-remove-des-crypt.diff
14 ennael 33386 BuildRequires: pkgconfig
15     BuildRequires: gssglue-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 guillomovitch 129665 %patch0 -p1
72 ennael 33386
73     %build
74 guillomovitch 129665 autoreconf -fi
75 ennael 33386 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     %defattr(-,root,root)
97     %config(noreplace) %{_sysconfdir}/netconfig
98    
99     %files -n %{libname}
100     %defattr(-,root,root)
101     %doc AUTHORS ChangeLog NEWS README
102     %{_libdir}/*.so.*
103    
104     %files -n %{develname}
105     %defattr(-,root,root)
106     %{_libdir}/*.so
107     %{_libdir}/*.a
108     %{_libdir}/pkgconfig/libtirpc.pc
109     %{_includedir}/tirpc
110     %{_mandir}/man3/*
111     %{_mandir}/man5/*
112    
113    

  ViewVC Help
Powered by ViewVC 1.1.30