summaryrefslogtreecommitdiffstats
path: root/groff.spec
diff options
context:
space:
mode:
Diffstat (limited to 'groff.spec')
-rw-r--r--groff.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/groff.spec b/groff.spec
index dbc1f5a..370b398 100644
--- a/groff.spec
+++ b/groff.spec
@@ -1,13 +1,16 @@
-%{!?with_x:%define with_x 1}
+%{!?with_x:%global with_x 1}
Summary: A document formatting system
Name: groff
Version: 1.22.2
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv3+ and GFDL and BSD and MIT
Group: Applications/Publishing
URL: http://www.gnu.org/software/groff/
Source: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
+# Licenses in separate files
+Source1: BSD
+Source2: MIT
# resolves: #530788
Patch0: 0001-missing-groff-x11-info-message-when-gxditview-not-fo.patch
@@ -100,6 +103,8 @@ for file in NEWS src/devices/grolbp/grolbp.man doc/{groff.info*,webpage.ms} \
mv "${file}_" "$file"
done
+%{__cp} %{SOURCE1} %{SOURCE2} .
+
%build
%configure \
--docdir=%{_docdir}/%{name}-%{version} \
@@ -230,7 +235,7 @@ fi
%{_infodir}/groff.info*
%files base
-%doc BUG-REPORT COPYING FDL LICENSES MORE.STUFF NEWS PROBLEMS
+%doc BUG-REPORT COPYING FDL LICENSES MORE.STUFF NEWS PROBLEMS BSD MIT
# configuration
%dir %{_sysconfdir}/groff/
%config(noreplace) %{_sysconfdir}/groff/*
@@ -397,6 +402,9 @@ fi
%doc %{_docdir}/%{name}-%{version}/pdf/
%changelog
+* Tue Jul 9 2013 Peter Schiffer <pschiffe@redhat.com> 1.22.2-3
+- added BSD and MIT license files
+
* Mon Mar 11 2013 Peter Schiffer <pschiffe@redhat.com> 1.22.2-2
- resolves: #915682
moved html device to the groff-base subpackage