commit 1897efda677e9c5fe26613ee2bacc94317a25038 Author: gnaygnil Date: Sat Nov 30 11:26:14 2019 +0800 rpcsvc-proto: openEuler init diff --git a/rpcsvc-proto-1.4.tar.xz b/rpcsvc-proto-1.4.tar.xz new file mode 100644 index 0000000..93c31a9 Binary files /dev/null and b/rpcsvc-proto-1.4.tar.xz differ diff --git a/rpcsvc-proto.spec b/rpcsvc-proto.spec new file mode 100644 index 0000000..09d3d1d --- /dev/null +++ b/rpcsvc-proto.spec @@ -0,0 +1,65 @@ +Name: rpcsvc-proto +Version: 1.4 +Release: 2 +License: BSD and LGPLv2+ +Summary: rpcsvc protocol definitions from glibc +URL: https://github.com/thkukuk/rpcsvc-proto +Source0: https://github.com/thkukuk/rpcsvc-proto/releases/v%{version}/rpcsvc-proto-%{version}.tar.xz +Conflicts: glibc-headers < 2.26.9000-36 glibc-common < 2.26.9000-36 +BuildRequires: automake autoconf + +%description +This package contains rpcsvc proto.x files from glibc, which are +missing in libtirpc. Additional it contains rpcgen, which is needed +to create header files and sources from protocol files. +This package is only needed, if glibc is installed without the +deprecated sunrpc functionality and libtirpc should replace it. + +%package devel +Summary: rpcsvc protocol definitions from glibc + +%description devel +This package contains rpcsvc proto.x files from glibc, which are +missing in libtirpc. Additional it contains rpcgen, which is needed +to create header files and sources from protocol files. +This package is only needed, if glibc is installed without the +deprecated sunrpc functionality and libtirpc should replace it. + +%package -n rpcgen +Summary: RPC protocol code generation tool +Provides: rpcgen + +%description -n rpcgen +rpcgen can automatically generate most of the code of the RPC server +program. Its input is a specification file and its output is a C +language source program. + +%package help +Summary: Help document for the rpcsvc-proto package +Buildarch: noarch + +%description help +Help document for the rpcsvc-proto package. + +%prep +%autosetup -n rpcsvc-proto-%{version} -p1 +%build +%configure +%make_build +%install +%make_install + +%files devel +%doc COPYING +%{_includedir}/rpcsvc/ +%exclude %{_includedir}/rpcsvc/rquota.[hx] + +%files -n rpcgen +%{_bindir}/rpcgen + +%files help +%{_mandir}/man1/rpcgen.1* + +%changelog +* Wed Nov 27 2019 Ling Yang - 1.4-2 +- Package init