/[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 2054653 - (show annotations) (download)
Fri Apr 5 16:19:20 2024 UTC (2 weeks, 3 days ago) by wally
File size: 3489 byte(s)
- basesystem rebuild for i686
1 %define major 3
2 %define libname %mklibname tirpc %{major}
3 %define develname %mklibname tirpc -d
4
5 Summary: Transport Independent RPC Library
6 Name: libtirpc
7 Version: 1.3.4
8 Release: %mkrel 2
9 License: GPLv2
10 Group: System/Libraries
11 URL: https://sourceforge.net/projects/libtirpc
12 Source0: https://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2
13 BuildRequires: pkgconfig
14 BuildRequires: pkgconfig(krb5)
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}
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 Provides: libtirpc-devel = %{version}-%{release}
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 %autosetup -p1
70
71 %build
72 export CFLAGS="%{optflags} -fPIC"
73 %configure --disable-static
74 %make_build all
75
76 %install
77 %make_install
78 install -m 755 -d %{buildroot}%{_sysconfdir}
79 install -m 644 doc/netconfig %{buildroot}%{_sysconfdir}/netconfig
80
81 # remove the .la file, it makes libtool reorder args when linking nfs-utils:
82 # https://lists.gnu.org/archive/html/libtool/2010-03/msg00023.html
83 find %{buildroot} -name '*.la' -delete
84
85 %files
86 %doc AUTHORS ChangeLog NEWS README
87 %config(noreplace) %{_sysconfdir}/netconfig
88 %config(noreplace) %{_sysconfdir}/bindresvport.blacklist
89
90 %files -n %{libname}
91 %doc AUTHORS ChangeLog NEWS README
92 %{_libdir}/*.so.%{major}{,.*}
93
94 %files -n %{develname}
95 %{_libdir}/*.so
96 %{_libdir}/pkgconfig/libtirpc.pc
97 %{_includedir}/tirpc/
98 %{_mandir}/man3/*
99 %{_mandir}/man5/*

  ViewVC Help
Powered by ViewVC 1.1.30