rpcsvc-proto/rpcsvc-proto.spec

76 lines
2.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package rpcsvc-proto
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: rpcsvc-proto
Version: 1.3.1
Release: 1%{?dist}
Summary: RPC protocol definitions
License: BSD and LGPLv2+
Url: https://github.com/thkukuk/rpcsvc-proto
Source0: https://github.com/thkukuk/rpcsvc-proto/archive/v%{version}/%{name}-%{version}.tar.gz
Conflicts: glibc-headers < 2.26.9000-36
Conflicts: glibc-common < 2.26.9000-36
BuildRequires: automake, autoconf
%description
The rpcsvc-proto package includes several rpcsvc header files
and RPC protocol definitions from SunRPC sources (as shipped with
glibc).
%package devel
Summary: RPC protocol definitions
%description devel
The rpcsvc-proto package includes several rpcsvc header files
and RPC protocol definitions from SunRPC sources (as shipped with
glibc).
%package -n rpcgen
Summary: RPC protocol compiler
Provides: rpcgen
%description -n rpcgen
rpcgen is a tool that generates C code to implement an RPC protocol.
The input to rpcgen is a language similar to C known as RPC Language
(Remote Procedure Call Language).
%prep
%setup -q
%build
./autogen.sh
%configure
%make_build
%install
%make_install
%files devel
%license COPYING
%{_includedir}/rpcsvc/
%files -n rpcgen
%{_bindir}/rpcgen
%{_mandir}/man1/rpcgen.1*
%changelog
* Wed Jan 17 2018 Steve Dickson <steved@redhat.com> 1.3.1-1
- Initial commit (bz 1532364)