Break licenses down to each package

This commit is contained in:
Petr Písař 2016-06-10 10:26:14 +02:00
parent c81107a80d
commit 80cb0d858b

View File

@ -5,13 +5,15 @@ Name: quota
Epoch: 1
Version: 4.03
Release: 6%{?dist}
Group: System Environment/Base
Summary: System administration tools for monitoring users' disk usage
# quota_nld.c, quotaio_xfs.h: GPLv2
# bylabel.c copied from util-linux: GPLv2+
# svc_socket.c copied from glibc: LGPLv2+
# doc/quotas.ms, quotaops.c, quot.c, quotaon.c, edquota.c, quot.h, quota.c,
# quotaio_v1.c: BSD
# COPYING: GPLv2 text and license declaration
## Only in quota-rpc and quota-nls binary package
# svc_socket.c copied from glibc: LGPLv2+
## Not involved in the binary package
# m4/iconv.m4: GPL+ with exception
# ar-lib: GPLv2 with exception
@ -22,8 +24,7 @@ Summary: System administration tools for monitoring users' disk usage
# configure: FSFUL
# aclocal.m4: FSFULLR and (GPLv2+ with exception)
# mkinstalldirs: Public Domain
License: BSD and LGPLv2+ and GPLv2 and GPLv2+
Group: System Environment/Base
License: BSD and GPLv2 and GPLv2+
URL: http://sourceforge.net/projects/linuxquota/
Source0: http://downloads.sourceforge.net/linuxquota/%{name}-%{version}.tar.gz
Source1: quota_nld.service
@ -96,6 +97,7 @@ a dialog) and writing them to the terminal user has last accessed.
%package rpc
Group: System Environment/Daemons
Summary: RPC quota daemon
License: BSD and LGPLv2+ and GPLv2 and GPLv2+
Requires: quota-nls = %{epoch}:%{version}-%{release}
Requires: rpcbind
Requires(post): systemd
@ -123,6 +125,7 @@ via cron(8).
%package nls
Group: System Environment/Base
Summary: Gettext catalogs for disk quota tools
License: BSD and LGPLv2+ and GPLv2 and GPLv2+
BuildArch: noarch
%description nls
@ -132,6 +135,7 @@ Disk quota tools messages translated into different natural languages.
%package devel
Group: Development/Libraries
Summary: Development files for quota RPC
License: GPLv2
# Do not run-require main package, the header files define RPC API to be
# implemented by the developer, not an API for an existing quota library.
@ -264,9 +268,12 @@ make check
%doc Changelog README.ldap-support README.mailserver
%files nls -f %{name}.lang
# All the other packages require quota-nls, COPYING here is enough.
%license COPYING
%doc Changelog
%files devel
%license COPYING
%dir %{_includedir}/rpcsvc
%{_includedir}/rpcsvc/*
%{_mandir}/man3/*
@ -279,6 +286,7 @@ make check
* Fri Jun 10 2016 Petr Pisar <ppisar@redhat.com> - 1:4.03-6
- Correct repquota indentation for file systems with hiden quota files
- Remove unnecessary quota dependency from quota-devel package
- Break licenses down to each package
* Thu Mar 10 2016 Petr Pisar <ppisar@redhat.com> - 1:4.03-5
- Start rpc-rquotad.service when starting nfs-server.service