rpcsvc-proto: openEuler init

This commit is contained in:
gnaygnil 2019-11-30 11:26:14 +08:00
commit 1897efda67
2 changed files with 65 additions and 0 deletions

BIN
rpcsvc-proto-1.4.tar.xz Normal file

Binary file not shown.

65
rpcsvc-proto.spec Normal file
View File

@ -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 <lingyang2@huawei.com> - 1.4-2
- Package init