summaryrefslogtreecommitdiffstats
path: root/groff.spec
diff options
context:
space:
mode:
Diffstat (limited to 'groff.spec')
-rw-r--r--groff.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/groff.spec b/groff.spec
index 0e61fda..2b70f29 100644
--- a/groff.spec
+++ b/groff.spec
@@ -3,7 +3,7 @@
Summary: A document formatting system
Name: groff
Version: 1.21
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv3+ and GFDL and BSD and MIT
Group: Applications/Publishing
URL: http://groff.ffii.org
@@ -13,6 +13,7 @@ Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
Patch1: groff-info-missing-x11.patch
Patch2: groff-makefile-typo.patch
Patch3: groff-manpages-typos.patch
+Patch4: groff-grofferdir-auto.patch
Requires: mktemp
Requires: /sbin/install-info
@@ -80,6 +81,7 @@ language and documentation for creating PDF files.
%patch1 -p1 -b .info-missing-x11
%patch2 -p1 -b .makefile-typo
%patch3 -p1 -b .manpages-typos
+%patch4 -p1 -b .grofferdir-auto
for file in NEWS src/devices/grolbp/grolbp.man doc/{groff.info*,webpage.ms} \
contrib/mm/*.man contrib/mom/examples/{README.txt,*.mom} ; do
@@ -88,15 +90,16 @@ for file in NEWS src/devices/grolbp/grolbp.man doc/{groff.info*,webpage.ms} \
done
%build
-%configure --with-appresdir=%{_datadir}/X11/app-defaults
+%configure \
+ --docdir=%{_docdir}/%{name}-%{version} \
+ --with-appresdir=%{_datadir}/X11/app-defaults \
+ --with-grofferdir=%{_datadir}/%{name}/%{version}/groffer
make
%install
rm -rf %{buildroot}
-make install DESTDIR=%{buildroot} \
- docdir=%{_docdir}/%{name}-%{version} \
- groffer_dir=%{_datadir}/%{name}/%{version}/groffer
+make install DESTDIR=%{buildroot}
# some binaries need alias with 'g' or 'z' prefix
@@ -202,6 +205,9 @@ fi
%doc %{_docdir}/%{name}-%{version}/pdf/
%changelog
+* Fri Jun 17 2011 Jan Vcelak <jvcelak@redhat.com> 1.21-3
+- fix #678572: groffer libdir is incorrect
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild