Author: baggins Date: Tue Apr 24 13:22:31 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - initial revision
---- Files affected: SPECS: libtirpc.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libtirpc.spec diff -u /dev/null SPECS/libtirpc.spec:1.1 --- /dev/null Tue Apr 24 15:22:31 2007 +++ SPECS/libtirpc.spec Tue Apr 24 15:22:26 2007 @@ -0,0 +1,129 @@ +# $Revision$, $Date$ +Summary: Transport Independent RPC Library +Name: libtirpc +Version: 0.1.7 +Release: 1 +License: GPL +Group: Libraries +Source0: http://nfsv4.bullopensource.org/tarballs/tirpc/%{name}-%{version}.tar.bz2 +# Source0-md5: 6b03f1567132abf546ff44643e136621 +Patch1: %{name}-netconfig.patch +Patch2: %{name}-gssapi.patch +Patch3: %{name}-svcauthnone.patch +Patch4: %{name}-ppc64.patch +Patch5: %{name}-svcauthdestroy.patch +Patch6: %{name}-compile.patch +URL: http://nfsv4.bullopensource.org/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libgssapi-devel +BuildRequires: libtool +BuildRequires: pkgconfig +Requires: libgssapi >= 0.11 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This package contains SunLib's implementation of transport-independent +RPC (TI-RPC) documentation. This library forms a piece of the base of +Open Network Computing (ONC), and is derived directly from the Solaris +2.3 source. + +TI-RPC is an enhanced version of TS-RPC that requires the UNIX System +V Transport Layer Interface (TLI) or an equivalent X/Open Transport +Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, +which is supported by almost 70 vendors on all major operating +systems. TS-RPC source code (RPCSRC 4.0) remains available from +several internet sites. + +%package devel +Summary: Development files for the TI-RPC library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package includes header files and libraries necessary for +developing programs which use the TI-RPC library. + +%package static +Summary: Static TI-RPC library +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +This package includes static TI-RPC library. + +%prep +%setup -q +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +cp -f /usr/share/automake/config.sub . +%configure \ + --enable-gss + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +install man/netconfig.5 $RPM_BUILD_ROOT%{_mandir}/man5 +install man/publickey.5 $RPM_BUILD_ROOT%{_mandir}/man5 +install man/getnetconfig.3 $RPM_BUILD_ROOT%{_mandir}/man3 +install man/getnetpath.3 $RPM_BUILD_ROOT%{_mandir}/man3 +install man/publickey.3 $RPM_BUILD_ROOT%{_mandir}/man3 +install man/rpc_*.3 $RPM_BUILD_ROOT%{_mandir}/man3 +install man/rpcbind.3 $RPM_BUILD_ROOT%{_mandir}/man3 + +mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib} +rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so +ln -sf /%{_lib}/`(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*)` \ + $RPM_BUILD_ROOT%{_libdir}/libtirpc.so + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/netconfig +%attr(755,root,root) /%{_lib}/libtirpc.so.*.* +%ghost %attr(755,root,root) /%{_lib}/libtirpc.so.? +%{_mandir}/man5/*.5* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libtirpc.so +%{_libdir}/libtirpc.la +%{_includedir}/tirpc +%{_mandir}/man3/*.3* + +%files static +%defattr(644,root,root,755) +%{_libdir}/libtirpc.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/04/24 13:22:26 baggins +- initial revision + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
