Add DMIT, GPLv2 and LPPL licenses

- Fix space and tab mixing
- Cleanup old spec file parts
This commit is contained in:
Stanislav Ochotnicky 2013-07-29 11:21:27 +02:00 committed by Michael J Gruber
parent 37228ebe69
commit cfb10b6f1e

View File

@ -2,18 +2,16 @@
Name: dblatex
Version: 0.3.4
Release: 6%{?dist}
Release: 7%{?dist}
Summary: DocBook to LaTeX/ConTeXt Publishing
BuildArch: noarch
Group: Applications/Publishing
License: GPLv2+
License: GPLv2+ and GPLv2 and LPPL and DMIT
URL: http://dblatex.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
#Source1: http://docbook.sourceforge.net/release/xsl/current/COPYING
# Source1 is from http://docbook.sourceforge.net/release/xsl/current/COPYING
Source1: COPYING-docbook-xsl
Patch0: dblatex-0.2.7-external-which.patch
Patch1: dblatex-disable-debian.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
BuildRequires: python-which
@ -83,7 +81,6 @@ rm -rf lib/contrib
%install
rm -rf $RPM_BUILD_ROOT
#%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
%{__python} setup.py install --root $RPM_BUILD_ROOT
# these are already in tetex-latex:
@ -112,12 +109,7 @@ touch -r xsl/mathml2/README README-xsltml
cp -p %{SOURCE1} COPYING-docbook-xsl
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_mandir}/man1/dblatex.1*
%doc COPYRIGHT docs/manual.pdf COPYING-docbook-xsl README-xsltml
%{python_sitelib}/dbtexmf/
@ -132,6 +124,11 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /usr/bin/texhash
%changelog
* Mon Jul 29 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.3.4-7
- Add DMIT, GPLv2 and LPPL licenses
- Fix space and tab mixing
- Cleanup old spec file parts
* Wed May 29 2013 Michael J Gruber <mjg@fedoraproject.org> - 0.3.4-6
- Add mising R texlive-multirow.
@ -265,6 +262,3 @@ rm -rf $RPM_BUILD_ROOT
* Fri Sep 7 2007 Neal Becker <ndbecker2@gmail.com> - 0.2.7-1
- Initial