ea66ed
Summary: A X front-end for the Ghostscript PostScript(TM) interpreter
ea66ed
Name: gv
483703
Version: 3.7.1
1ae5a6
Release: 3%{?dist}
540480
License: GPLv3+
ea66ed
Group: Applications/Publishing
ea66ed
Requires: ghostscript
ea66ed
URL: http://www.gnu.org/software/gv/
483703
Source0: ftp://ftp.gnu.org/gnu/gv/gv-%{version}.tar.gz
483703
#Source0: ftp://alpha.gnu.org/gnu/gv/gv-%{version}.tar.gz
99dac9
Source1: gv.png
84549d
BuildRequires: /usr/bin/makeinfo
3290f8
BuildRequires: Xaw3d-devel
3290f8
%if 0%{?rhel} != 04
3290f8
BuildRequires: libXinerama-devel
3290f8
%endif
c6d6aa
BuildRequires: zlib-devel, bzip2-devel
c6d6aa
BuildRequires: desktop-file-utils
ea66ed
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ea66ed
Requires(post): /sbin/install-info, /usr/bin/update-mime-database
ea66ed
Requires(post): /usr/bin/update-desktop-database
ea66ed
Requires(preun): /sbin/install-info
ea66ed
Requires(postun): /usr/bin/update-mime-database
ea66ed
Requires(postun): /usr/bin/update-desktop-database
ea66ed
ea66ed
ea66ed
%description
99dac9
GNU gv is a user interface for the Ghostscript PostScript(TM) interpreter.
ea66ed
Gv can display PostScript and PDF documents on an X Window System.
ea66ed
ea66ed
ea66ed
%prep
ea66ed
%setup -q
ea66ed
ea66ed
ea66ed
%build
Orion Poplawski 677825
%configure
ea66ed
make %{?_smp_mflags}
ea66ed
ea66ed
ea66ed
%install
ea66ed
rm -rf $RPM_BUILD_ROOT
ea66ed
make install DESTDIR=$RPM_BUILD_ROOT
ea66ed
ea66ed
#Still provide link
ea66ed
ln $RPM_BUILD_ROOT%{_bindir}/gv $RPM_BUILD_ROOT%{_bindir}/ghostview
ea66ed
ea66ed
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
ea66ed
ea66ed
cat > gv.desktop <
ea66ed
[Desktop Entry]
99dac9
Name=GNU GV PostScript/PDF Viewer
ea66ed
GenericName=PostScript/PDF Viewer
ea66ed
Comment="View PostScript and PDF files"
ea66ed
Type=Application
99dac9
Icon=gv
ea66ed
MimeType=application/postscript;application/pdf;
ea66ed
StartupWMClass=GV
ea66ed
Exec=gv
ea66ed
EOF
ea66ed
ea66ed
desktop-file-install --vendor=fedora \
ea66ed
       --add-category=Applications\
ea66ed
       --add-category=Graphics \
ea66ed
       --dir %{buildroot}%{_datadir}/applications/ \
ea66ed
       gv.desktop
ea66ed
99dac9
#Icon
99dac9
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
99dac9
cp -p %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/pixmaps
99dac9
ecbd01
# Remove info dir file
ecbd01
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
ecbd01
ea66ed
ea66ed
%clean
ea66ed
rm -rf $RPM_BUILD_ROOT
ea66ed
ea66ed
ea66ed
%post
84549d
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
ea66ed
/usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1 || :
ea66ed
/usr/bin/update-desktop-database /usr/share/applications > /dev/null 2>&1 || :
ea66ed
ea66ed
ea66ed
%preun
ea66ed
if [ $1 = 0 ]; then
ea66ed
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
ea66ed
fi
ea66ed
ea66ed
ea66ed
%postun
ea66ed
if [ $1 = 0 ]; then
ea66ed
    /usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1 || :
ea66ed
    /usr/bin/update-desktop-database /usr/share/applications > /dev/null 2>&1 || :
ea66ed
fi
ea66ed
ea66ed
ea66ed
%files
ea66ed
%defattr(-,root,root)
ea66ed
%doc AUTHORS ChangeLog COPYING NEWS README
ea66ed
%{_bindir}/ghostview
ea66ed
%{_bindir}/gv
c6d6aa
%{_bindir}/gv-update-userconfig
ea66ed
%{_datadir}/gv/
ea66ed
%{_datadir}/applications/fedora-gv.desktop
ea66ed
%{_datadir}/info/gv.info.gz
99dac9
%{_datadir}/pixmaps/gv.png
ea66ed
%{_mandir}/man1/gv.*
c6d6aa
%{_mandir}/man1/gv-update-userconfig.*
ea66ed
15de0d
ea66ed
%changelog
1ae5a6
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.1-3
1ae5a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1ae5a6
Orion Poplawski 677825
* Mon Nov 8 2010 Orion Poplawski <orion@cora.nwra.com> 3.7.1-2
Orion Poplawski 677825
- Re-enable international support
Orion Poplawski 677825
483703
* Mon Jun 28 2010 Orion Poplawski <orion@cora.nwra.com> 3.7.1-1
483703
- Update to 3.7.1
483703
- Disable international support to avoid segfault on exit until
483703
  bug 587349 is fixed
483703
71579d
* Thu Jun 3 2010 Orion Poplawski <orion@cora.nwra.com> 3.6.91-1
71579d
- Update to 3.6.91 to fix CVE-2010-2055 and CVE-2010-2056
71579d
15de0d
* Mon Apr 26 2010 Orion Poplawski <orion@cora.nwra.com> 3.6.9-1
15de0d
- Update to 3.6.9
15de0d
99dac9
* Tue Mar 2 2010 Orion Poplawski <orion@cora.nwra.com> 3.6.8-2
99dac9
- Ship icon, update desktop file
99dac9
b2e893
* Mon Dec 28 2009 Orion Poplawski <orion@cora.nwra.com> 3.6.8-1
b2e893
- Update to 3.6.8
b2e893
223e3b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.7-2
223e3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
223e3b
20c37f
* Tue Mar 24 2009 Orion Poplawski <orion@cora.nwra.com> 3.6.7-1
20c37f
- Update to 3.6.7
20c37f
2e7ef3
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.6-2
2e7ef3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2e7ef3
c6d6aa
* Tue Oct 21 2008 Orion Poplawski <orion@cora.nwra.com> 3.6.6-1
c6d6aa
- Update to 3.6.6
c6d6aa
- Add extra neede BuildRequires
c6d6aa
- Remove upstreamed patches
540480
- Fix license - GPLv3+
540480
f44c03
* Wed Aug 6 2008 Orion Poplawski <orion@cora.nwra.com> 3.6.5-3
f44c03
- Apply upstream patch to display more error messages
f44c03
b0fbb0
* Thu Jul 18 2008 Orion Poplawski <orion@cora.nwra.com> 3.6.5-2
b0fbb0
- Change install dir patch to be more palatable for upstream
b0fbb0
dc626d
* Thu Jul 17 2008 Orion Poplawski <orion@cora.nwra.com> 3.6.5-1
dc626d
- Update to 3.6.5
dc626d
d87c2b
* Mon Jun 2 2008 Orion Poplawski <orion@cora.nwra.com> 3.6.4-1
d87c2b
- Update to 3.6.4
d87c2b
- Cleanup desktop file a little
d87c2b
ca7994
* Sat Feb  9 2008 Orion Poplawski <orion@cora.nwra.com> 3.6.3-3
ca7994
- Rebuild for gcc 3.4
ca7994
42dd67
* Tue Aug 21 2007 Orion Poplawski <orion@cora.nwra.com> 3.6.3-2
42dd67
- Update license tag to GPLv2+
42dd67
- Rebuild for ppc32
42dd67
7690e9
* Fri Jun 29 2007 Orion Poplawski <orion@cora.nwra.com> 3.6.3-1
7690e9
- Update to 3.6.3
7690e9
9792d1
* Tue Dec  5 2006 Orion Poplawski <orion@cora.nwra.com> 3.6.2-2
9792d1
- Apply patch from Mandriva to fix CVE-2006-5864/bug 215136
9792d1
9d3c8a
* Wed Oct 11 2006 Orion Poplawski <orion@cora.nwra.com> 3.6.2-1
9d3c8a
- Update to 3.6.2
9d3c8a
139f98
* Tue Aug 29 2006 Orion Poplawski <orion@cora.nwra.com> 3.6.1-8
139f98
- Rebuild for FC6
139f98
a039aa
* Mon Feb 13 2006 Orion Poplawski <orion@cora.nwra.com> 3.6.1-7
8fde19
- Rebuild for gcc/glibc changes
8fde19
ecbd01
* Wed Feb  1 2006 Orion Poplawski <orion@cora.nwra.com> 3.6.1-6
ecbd01
- Remove info dir file
ecbd01
320574
* Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-5
320574
- Rebuild
320574
15fb89
* Thu Oct 27 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-4
84549d
- Add patch find app defaults file (#171848)
84549d
- Add BR: /usr/bin/makeinfo to properly build .info file (#171849)
84549d
15fb89
* Thu Oct 20 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-3
ea66ed
- Fixup .desktop file, add Comment and StartupWMClass
ea66ed
15fb89
* Thu Oct 20 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-2
ea66ed
- Trim install paragraph from Description
ea66ed
- Add MimeType to desktop and update mime and desktop databases
ea66ed
- Fix info file handling
ea66ed
15fb89
* Mon Oct 17 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-1
ea66ed
- Updated to 3.6.1
ea66ed
- Fedora Extras version
ea66ed
ea66ed
* Sun Sep 19 2004 Dan Williams <dcbw@redhat.com> 3.5.8-29
ea66ed
- Fix .desktop file (#125849)
ea66ed
ea66ed
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
ea66ed
- rebuilt
ea66ed
ea66ed
* Fri May 14 2004 Dan Williams <dcbw@redhat.com> 3.5.8-27
ea66ed
- display empty page when input file has size 0 (#100538)
ea66ed
ea66ed
* Fri May 14 2004 Dan Williams <dcbw@redhat.com> 3.5.8-26
ea66ed
- fix argv array size (#80672)
ea66ed
ea66ed
* Tue May  4 2004 Bill Nottingham <notting@redhat.com> 3.5.8-25
ea66ed
- fix desktop file (#120190)
ea66ed
ea66ed
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
ea66ed
- rebuilt
ea66ed
ea66ed
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
ea66ed
- rebuilt
ea66ed
ea66ed
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
ea66ed
- rebuilt
ea66ed
ea66ed
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 3.5.8-21
ea66ed
- rebuild on all arches
ea66ed
ea66ed
* Tue Nov 19 2002 Bill Nottingham <notting@redhat.com> 3.5.8-20
ea66ed
- rebuild
ea66ed
ea66ed
* Tue Sep 24 2002 Bill Nottingham <notting@redhat.com>
ea66ed
- fix handling of certain postscript/pdf headers
ea66ed
- use mkstemp
ea66ed
ea66ed
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
ea66ed
- automated rebuild
ea66ed
ea66ed
* Wed Jun 12 2002 Bill Nottingham <notting@redhat.com>
ea66ed
- remove anti-aliasing change; it causes problems
ea66ed
ea66ed
* Thu May 23 2002 Tim Powers <timp@redhat.com>
ea66ed
- automated rebuild
ea66ed
ea66ed
* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
ea66ed
- rebuild
ea66ed
ea66ed
* Fri Jan 25 2002 Bill Nottingham <notting@redhat.com>
ea66ed
- fix anti-aliasing (#58686)
ea66ed
ea66ed
* Fri Jul 13 2001 Bill Nottingham <notting@redhat.com>
ea66ed
- fix some build issues (#48983, #48984)
ea66ed
ea66ed
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
ea66ed
- automatic rebuild
ea66ed
ea66ed
* Fri Jun  9 2000 Bill Nottingham <notting@redhat.com>
ea66ed
- add filename quoting patch from debian
ea66ed
- rebuild in new build environment
ea66ed
ea66ed
* Mon May  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
ea66ed
- rebuild with new libXaw3d
ea66ed
ea66ed
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
ea66ed
- wmconfig -> desktop
ea66ed
ea66ed
* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
ea66ed
- handle compressed man pages
ea66ed
ea66ed
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
ea66ed
- auto rebuild in the new build environment (release 7)
ea66ed
ea66ed
* Mon Jan 23 1999 Michael Maher <mike@redhat.com>
ea66ed
- fixed bug #272, changed group
ea66ed
ea66ed
* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
ea66ed
- built pacakge for 6.0
ea66ed
ea66ed
* Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
ea66ed
- build root
ea66ed
ea66ed
* Fri May 08 1998 Prospector System <bugs@redhat.com>
ea66ed
- translations modified for de, fr, tr
ea66ed
ea66ed
* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
ea66ed
- Manhattan build
ea66ed
ea66ed
* Thu Nov 06 1997 Cristian Gafton <gafton@redhat.com>
ea66ed
- we are installin a symlink to ghostview
ea66ed
ea66ed
* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
ea66ed
- updated to 3.5.8
ea66ed
ea66ed
* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
ea66ed
- built against glibc
ea66ed
ea66ed
* Tue Apr 15 1997 Erik Troan <ewt@redhat.com>
ea66ed
- added ghostscript requirement, added errlist patch for glibc.