File licenses.spec of Package licenses

# spec file for package licenses (Version 20070810)
# Copyright (c) 2009 SUSE LINUX Products 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

# norootforbuild

Name:           licenses
Version:        20070810
Release:        84
Group:          System/Packages
License:        X11/MIT
Summary:        License collection as found in the packages of SuSE Linux
Source:         licenses.tar.bz2
Source2:        fsf-funding.7.gz
Source3:        gfdl.7.gz
Source4:        gpl.7.gz
Source5:        gpl-3.0.txt 
Source6:        lgpl-3.0.txt 
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  cpio findutils grep perl rpm

Licenses is a collection of license texts found in the packages of a
SuSE Linux distribution. The files are installed at
/usr/share/doc/licenses Other packages are encouraged to symlink to
this location, instead of having a fulltext copy of a license in the

    Juergen Weigert <>

%setup -c -n %{name}-%{version}


mkdir -p           $RPM_BUILD_ROOT/usr/share/doc
cp -a licenses $RPM_BUILD_ROOT/usr/share/doc
install -d $RPM_BUILD_ROOT%{_mandir}/man7
install --mode=0644 $RPM_SOURCE_DIR/fsf-funding.7.gz $RPM_BUILD_ROOT%{_mandir}/man7
install --mode=0644 $RPM_SOURCE_DIR/gfdl.7.gz $RPM_BUILD_ROOT%{_mandir}/man7
install --mode=0644 $RPM_SOURCE_DIR/gpl.7.gz $RPM_BUILD_ROOT%{_mandir}/man7
install --mode=0644 $RPM_SOURCE_DIR/*gpl-3.0.txt $RPM_BUILD_ROOT/usr/share/doc/licenses


%defattr (-, root, root)
%doc /usr/share/doc/licenses
%doc %{_mandir}/man7/fsf-funding.7.gz
%doc %{_mandir}/man7/gfdl.7.gz
%doc %{_mandir}/man7/gpl.7.gz

* Fri Aug 10 2007
- fixed bug# 299296
  All the Requries are actually BuildRequires.
* Fri Aug 10 2007
- add GPL and LGPL version 3 from
* Wed Jun 06 2007
- remove spurious executable bits
- repackage as bzip2
* Fri May 25 2007
- add FSF manpages fsf-funding.7, gpl.7 and gfdl.7 which are
  refered to from FSF projects manpages under the GFDL.
* Thu Feb 01 2007
- 'eula' added to collect list.
* Wed Jan 31 2007
- can now feed on rpm's directly.
* Tue Jan 16 2007
- initial draft of a licenses collection.