|
|
ea66ed1 |
Summary: A X front-end for the Ghostscript PostScript(TM) interpreter
|
|
|
ea66ed1 |
Name: gv
|
|
|
ea66ed1 |
Version: 3.6.1
|
|
|
8fde192 |
Release: 7%{?dist}
|
|
|
ea66ed1 |
License: GPL
|
|
|
ea66ed1 |
Group: Applications/Publishing
|
|
|
ea66ed1 |
Requires: ghostscript
|
|
|
ea66ed1 |
URL: http://www.gnu.org/software/gv/
|
|
|
ea66ed1 |
Source0: ftp://ftp.gnu.org/gnu/gv/gv-%{version}.tar.gz
|
|
|
ea66ed1 |
Patch0: gv-3.5.8-buffer.patch
|
|
|
ea66ed1 |
Patch1: gv-3.6.1-pkglibdir.patch
|
|
|
84549d5 |
Patch2: gv-3.6.1-resource.patch
|
|
|
84549d5 |
BuildRequires: /usr/bin/makeinfo
|
|
|
ea66ed1 |
BuildRequires: Xaw3d-devel, /usr/bin/desktop-file-install
|
|
|
ea66ed1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ea66ed1 |
Requires(post): /sbin/install-info, /usr/bin/update-mime-database
|
|
|
ea66ed1 |
Requires(post): /usr/bin/update-desktop-database
|
|
|
ea66ed1 |
Requires(preun): /sbin/install-info
|
|
|
ea66ed1 |
Requires(postun): /usr/bin/update-mime-database
|
|
|
ea66ed1 |
Requires(postun): /usr/bin/update-desktop-database
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%description
|
|
|
ea66ed1 |
Gv is a user interface for the Ghostscript PostScript(TM) interpreter.
|
|
|
ea66ed1 |
Gv can display PostScript and PDF documents on an X Window System.
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%prep
|
|
|
ea66ed1 |
%setup -q
|
|
|
ea66ed1 |
%patch0 -p1 -b .buffer
|
|
|
ea66ed1 |
%patch1 -p1 -b .pkglibdir
|
|
|
84549d5 |
%patch2 -p1 -b .resource
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%build
|
|
|
ea66ed1 |
%configure
|
|
|
ea66ed1 |
make %{?_smp_mflags}
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%install
|
|
|
ea66ed1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ea66ed1 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
#Still provide link
|
|
|
ea66ed1 |
ln $RPM_BUILD_ROOT%{_bindir}/gv $RPM_BUILD_ROOT%{_bindir}/ghostview
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
cat > gv.desktop <
|
|
|
ea66ed1 |
[Desktop Entry]
|
|
|
ea66ed1 |
Name=Ghostview PostScript/PDF Viewer
|
|
|
ea66ed1 |
GenericName=PostScript/PDF Viewer
|
|
|
ea66ed1 |
Comment="View PostScript and PDF files"
|
|
|
ea66ed1 |
Type=Application
|
|
|
ea66ed1 |
Icon=postscript-viewer.png
|
|
|
ea66ed1 |
MimeType=application/postscript;application/pdf;
|
|
|
ea66ed1 |
StartupWMClass=GV
|
|
|
ea66ed1 |
Exec=gv
|
|
|
ea66ed1 |
EOF
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
desktop-file-install --vendor=fedora \
|
|
|
ea66ed1 |
--add-category=Applications\
|
|
|
ea66ed1 |
--add-category=Graphics \
|
|
|
ea66ed1 |
--add-category=X-Fedora \
|
|
|
ea66ed1 |
--dir %{buildroot}%{_datadir}/applications/ \
|
|
|
ea66ed1 |
gv.desktop
|
|
|
ea66ed1 |
|
|
|
ecbd017 |
# Remove info dir file
|
|
|
ecbd017 |
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
|
|
ecbd017 |
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%clean
|
|
|
ea66ed1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%post
|
|
|
84549d5 |
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
ea66ed1 |
/usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1 || :
|
|
|
ea66ed1 |
/usr/bin/update-desktop-database /usr/share/applications > /dev/null 2>&1 || :
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%preun
|
|
|
ea66ed1 |
if [ $1 = 0 ]; then
|
|
|
ea66ed1 |
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
ea66ed1 |
fi
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%postun
|
|
|
ea66ed1 |
if [ $1 = 0 ]; then
|
|
|
ea66ed1 |
/usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1 || :
|
|
|
ea66ed1 |
/usr/bin/update-desktop-database /usr/share/applications > /dev/null 2>&1 || :
|
|
|
ea66ed1 |
fi
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%files
|
|
|
ea66ed1 |
%defattr(-,root,root)
|
|
|
ea66ed1 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
ea66ed1 |
%{_bindir}/ghostview
|
|
|
ea66ed1 |
%{_bindir}/gv
|
|
|
ea66ed1 |
%{_datadir}/gv/
|
|
|
ea66ed1 |
%{_datadir}/applications/fedora-gv.desktop
|
|
|
ea66ed1 |
%{_datadir}/info/gv.info.gz
|
|
|
ea66ed1 |
%{_mandir}/man1/gv.*
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
%changelog
|
|
|
a039aa8 |
* Mon Feb 13 2006 Orion Poplawski <orion@cora.nwra.com> 3.6.1-7
|
|
|
8fde192 |
- Rebuild for gcc/glibc changes
|
|
|
8fde192 |
|
|
|
ecbd017 |
* Wed Feb 1 2006 Orion Poplawski <orion@cora.nwra.com> 3.6.1-6
|
|
|
ecbd017 |
- Remove info dir file
|
|
|
ecbd017 |
|
|
|
3205745 |
* Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-5
|
|
|
3205745 |
- Rebuild
|
|
|
3205745 |
|
|
|
15fb89d |
* Thu Oct 27 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-4
|
|
|
84549d5 |
- Add patch find app defaults file (#171848)
|
|
|
84549d5 |
- Add BR: /usr/bin/makeinfo to properly build .info file (#171849)
|
|
|
84549d5 |
|
|
|
15fb89d |
* Thu Oct 20 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-3
|
|
|
ea66ed1 |
- Fixup .desktop file, add Comment and StartupWMClass
|
|
|
ea66ed1 |
|
|
|
15fb89d |
* Thu Oct 20 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-2
|
|
|
ea66ed1 |
- Trim install paragraph from Description
|
|
|
ea66ed1 |
- Add MimeType to desktop and update mime and desktop databases
|
|
|
ea66ed1 |
- Fix info file handling
|
|
|
ea66ed1 |
|
|
|
15fb89d |
* Mon Oct 17 2005 Orion Poplawski <orion@cora.nwra.com> 3.6.1-1
|
|
|
ea66ed1 |
- Updated to 3.6.1
|
|
|
ea66ed1 |
- Fedora Extras version
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Sun Sep 19 2004 Dan Williams <dcbw@redhat.com> 3.5.8-29
|
|
|
ea66ed1 |
- Fix .desktop file (#125849)
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
ea66ed1 |
- rebuilt
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Fri May 14 2004 Dan Williams <dcbw@redhat.com> 3.5.8-27
|
|
|
ea66ed1 |
- display empty page when input file has size 0 (#100538)
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Fri May 14 2004 Dan Williams <dcbw@redhat.com> 3.5.8-26
|
|
|
ea66ed1 |
- fix argv array size (#80672)
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Tue May 4 2004 Bill Nottingham <notting@redhat.com> 3.5.8-25
|
|
|
ea66ed1 |
- fix desktop file (#120190)
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
ea66ed1 |
- rebuilt
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
ea66ed1 |
- rebuilt
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
ea66ed1 |
- rebuilt
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 3.5.8-21
|
|
|
ea66ed1 |
- rebuild on all arches
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Tue Nov 19 2002 Bill Nottingham <notting@redhat.com> 3.5.8-20
|
|
|
ea66ed1 |
- rebuild
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Tue Sep 24 2002 Bill Nottingham <notting@redhat.com>
|
|
|
ea66ed1 |
- fix handling of certain postscript/pdf headers
|
|
|
ea66ed1 |
- use mkstemp
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
ea66ed1 |
- automated rebuild
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Wed Jun 12 2002 Bill Nottingham <notting@redhat.com>
|
|
|
ea66ed1 |
- remove anti-aliasing change; it causes problems
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
ea66ed1 |
- automated rebuild
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
|
|
|
ea66ed1 |
- rebuild
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Fri Jan 25 2002 Bill Nottingham <notting@redhat.com>
|
|
|
ea66ed1 |
- fix anti-aliasing (#58686)
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Fri Jul 13 2001 Bill Nottingham <notting@redhat.com>
|
|
|
ea66ed1 |
- fix some build issues (#48983, #48984)
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
ea66ed1 |
- automatic rebuild
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Fri Jun 9 2000 Bill Nottingham <notting@redhat.com>
|
|
|
ea66ed1 |
- add filename quoting patch from debian
|
|
|
ea66ed1 |
- rebuild in new build environment
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Mon May 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
ea66ed1 |
- rebuild with new libXaw3d
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
|
|
|
ea66ed1 |
- wmconfig -> desktop
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
|
|
|
ea66ed1 |
- handle compressed man pages
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
ea66ed1 |
- auto rebuild in the new build environment (release 7)
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Mon Jan 23 1999 Michael Maher <mike@redhat.com>
|
|
|
ea66ed1 |
- fixed bug #272, changed group
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
|
|
|
ea66ed1 |
- built pacakge for 6.0
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
ea66ed1 |
- build root
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Fri May 08 1998 Prospector System <bugs@redhat.com>
|
|
|
ea66ed1 |
- translations modified for de, fr, tr
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
ea66ed1 |
- Manhattan build
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Thu Nov 06 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
ea66ed1 |
- we are installin a symlink to ghostview
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
ea66ed1 |
- updated to 3.5.8
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
|
|
|
ea66ed1 |
- built against glibc
|
|
|
ea66ed1 |
|
|
|
ea66ed1 |
* Tue Apr 15 1997 Erik Troan <ewt@redhat.com>
|
|
|
ea66ed1 |
- added ghostscript requirement, added errlist patch for glibc.
|