diff --git a/gv.spec b/gv.spec index 802421b..c9f9058 100644 --- a/gv.spec +++ b/gv.spec @@ -1,7 +1,7 @@ Summary: A X front-end for the Ghostscript PostScript(TM) interpreter Name: gv Version: 3.6.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL Group: Applications/Publishing Requires: ghostscript @@ -9,6 +9,8 @@ URL: http://www.gnu.org/software/gv/ Source0: ftp://ftp.gnu.org/gnu/gv/gv-%{version}.tar.gz Patch0: gv-3.5.8-buffer.patch Patch1: gv-3.6.1-pkglibdir.patch +Patch2: gv-3.6.1-resource.patch +BuildRequires: /usr/bin/makeinfo BuildRequires: Xaw3d-devel, /usr/bin/desktop-file-install BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): /sbin/install-info, /usr/bin/update-mime-database @@ -27,6 +29,7 @@ Gv can display PostScript and PDF documents on an X Window System. %setup -q %patch0 -p1 -b .buffer %patch1 -p1 -b .pkglibdir +%patch2 -p1 -b .resource %build @@ -68,9 +71,7 @@ rm -rf $RPM_BUILD_ROOT %post -/sbin/install-info \ - --entry '* gv: (gv). A X front-end for the Ghostscript PostScript(TM) interpreter' \ - %{_infodir}/%{name}.info %{_infodir}/dir || : +/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : /usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1 || : /usr/bin/update-desktop-database /usr/share/applications > /dev/null 2>&1 || : @@ -99,6 +100,10 @@ fi %{_mandir}/man1/gv.* %changelog +* Thu Oct 27 2005 Orion Poplwaski 3.6.1-4 +- Add patch find app defaults file (#171848) +- Add BR: /usr/bin/makeinfo to properly build .info file (#171849) + * Thu Oct 20 2005 Orion Poplwaski 3.6.1-3 - Fixup .desktop file, add Comment and StartupWMClass