minor spec cleanups, include COPYING

This commit is contained in:
Tom Callaway 2014-12-16 14:19:58 -05:00
parent 31adcd67f9
commit 7e5b13fa60
1 changed files with 14 additions and 10 deletions

View File

@ -1,17 +1,16 @@
%define _root_libdir /%{_lib}
Name: libtirpc
Name: libtirpc
Version: 0.2.5
Release: 1.0%{?dist}
Release: 2%{?dist}
Summary: Transport Independent RPC Library
Group: System Environment/Libraries
License: SISSL and BSD
URL: http://nfsv4.bullopensource.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
Patch001: libtirpc-0.2.6-rc1.patch
Patch001: libtirpc-0.2.6-rc1.patch
BuildRequires: automake, autoconf, libtool, pkgconfig
BuildRequires: krb5-devel
@ -29,10 +28,10 @@ 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 libtirpc library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig man-db
Summary: Development files for the libtirpc library
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig man-db
%description devel
This package includes header files and libraries necessary for
@ -92,6 +91,8 @@ rm -rf %{buildroot}
%files devel
%defattr(0644,root,root,755)
%{!?_licensedir:%global license %%doc}
%license COPYING
%dir %{_includedir}/tirpc
%dir %{_includedir}/tirpc/rpc
%dir %{_includedir}/tirpc/rpcsvc
@ -131,6 +132,9 @@ rm -rf %{buildroot}
%{_mandir}/*/*
%changelog
* Tue Dec 16 2014 Tom Callaway <spot@fedoraproject.org> 0.2.5-2
- minor spec cleanups, add license texts
* Tue Nov 11 2014 Steve Dickson <steved@redhat.com> 0.2.5-1.0
- Update to latest RC release: libtirpc-0-2-6-rc1 (bz 1162711)