[packages/rpcsvc-proto] - new, replacement for rpcsvc parts removed from glibc
qboosh
qboosh at pld-linux.org
Tue Aug 18 21:20:23 CEST 2020
commit 0f4de7b5cb943c1824b414dc47be968076ae8fb5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Aug 18 21:22:20 2020 +0200
- new, replacement for rpcsvc parts removed from glibc
rpcsvc-proto.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
---
diff --git a/rpcsvc-proto.spec b/rpcsvc-proto.spec
new file mode 100644
index 0000000..315c8a4
--- /dev/null
+++ b/rpcsvc-proto.spec
@@ -0,0 +1,57 @@
+Summary: rpcsvc proto.x files and rpcgen tool
+Summary(pl.UTF-8): Pliki rpcsvc proto.x oraz narzędzie rpcgen
+Name: rpcsvc-proto
+Version: 1.4.2
+Release: 1
+License: BSD
+Group: Libraries
+Source0: https://github.com/thkukuk/rpcsvc-proto/releases/download/v%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 629c91bbc8281fcdf64442f59a9d1705
+URL: https://github.com/thkukuk/rpcsvc-proto
+BuildRequires: gettext-tools >= 0.19.8
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+# glibc used to include proto.x files in glibc-headers and rpcgen in main package
+Requires: glibc-headers >= 6:2.32
+Conflicts: glibc < 6:2.32
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains rpcsvc proto.x files from glibc, which are
+missing in libtirpc. Additionally it contains rpcgen, which is needed
+to create header files and sources from protocol files.
+
+This package is only needed for glibc versions without the deprecated
+sunrpc functionality and libtirpc should replace it.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera pliki rpcsvc proto.x z glibc, których brakuje w
+libtirpc. Dodatkowo zawiera narzędzie rpcgen, potrzebne do tworzenia
+plików nagłówkowych i źródłowych z plików protokołów.
+
+Ten pakiet jest potrzebny tylko dla wersji glibc bez przestarzałej
+funkcjonalności sunrpc, kiedy libtirpc ma ją zastąpić.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/rpcgen
+%{_mandir}/man1/rpcgen.1*
+%{_includedir}/rpcsvc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpcsvc-proto.git/commitdiff/0f4de7b5cb943c1824b414dc47be968076ae8fb5
More information about the pld-cvs-commit
mailing list