gv/gv.spec

125 lines
3.5 KiB
RPMSpec

Name: gv
Version: 3.7.4
Release: 1mamba
Summary: An user interface for the ghostscript interpreter
Group: Graphical Desktop/Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/gv/
Source0: http://ftp.gnu.org/gnu/gv/%{name}-%{version}.tar.gz
Source1: %{name}-desktop
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXinerama-devel
BuildRequires: libXmu-devel
BuildRequires: libXpm-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
BuildRequires: Xaw3d-devel
## AUTOBUILDREQ-END
BuildRequires: libXp-devel >= 1.0.0
Requires: Xaw3d
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
GNU gv allows to view and navigate through PostScript and PDF documents on an X display by providing a user interface for the ghostscript interpreter.
gv is a improved derivation of Timothy O.
Theisen's Ghostview developed by Johannes Plass.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# create KDE menu link
install -D -m644 %{S:1} \
%{buildroot}%{_datadir}/applications/gv.desktop
install -D -m644 src/gv_icon.xbm %{buildroot}%{_datadir}/pixmaps/gv.xbm
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info gv.info
exit 0
%preun
%uninstall_info gv.info
exit 0
%files
%defattr(-,root,root)
%{_bindir}/gv
%{_bindir}/gv-update-userconfig
%{_datadir}/gv/GV
#%{_datadir}/gv/gv_class.ad
#%{_datadir}/gv/gv_copyright.dat
#%{_datadir}/gv/gv_spartan.dat
%{_datadir}/gv/gv_system.ad
#%{_datadir}/gv/gv_user.ad
#%{_datadir}/gv/gv_user_res.dat
#%{_datadir}/gv/gv_widgetless.dat
%{_mandir}/man1/gv.*
%{_mandir}/man1/gv-update-userconfig.*
%{_infodir}/gv.*
%{_datadir}/applications/gv.desktop
%{_datadir}/pixmaps/gv.xbm
%doc AUTHORS COPYING ChangeLog NEWS README
%changelog
* Wed Mar 20 2013 Automatic Build System <autodist@mambasoft.it> 3.7.4-1mamba
- automatic version update by autodist
* Wed Jun 13 2012 Automatic Build System <autodist@mambasoft.it> 3.7.3-1mamba
- automatic version update by autodist
* Tue May 10 2011 Automatic Build System <autodist@mambasoft.it> 3.7.2-1mamba
- automatic update by autodist
* Thu Nov 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.1-2mamba
- install desktop file in %{_datadir}/applications
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 3.7.1-1mamba
- automatic update by autodist
* Mon May 03 2010 Automatic Build System <autodist@mambasoft.it> 3.6.9-1mamba
- automatic update by autodist
* Wed Jan 13 2010 Automatic Build System <autodist@mambasoft.it> 3.6.8-1mamba
- automatic update by autodist
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.7-1mamba
- automatic update by autodist
* Tue Jan 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.6-1mamba
- automatic update by autodist
* Wed Oct 10 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.3-1mamba
- update to 3.6.3
* Tue Mar 13 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.2-2qilnx
- rebuilt
* Thu Oct 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.6.2-1qilnx
- update to version 3.6.2 by autospec
- new desktop file (stolen from kappfinder)
* Tue Oct 18 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 3.6.1-1qilnx
- package created by autospec