diff --git a/ghostview.changes b/ghostview.changes index 3864f80..865b255 100644 --- a/ghostview.changes +++ b/ghostview.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 8 11:14:34 UTC 2014 - jengelh@inai.de + +- Enable parallel build and remove old specfile tags/sections + ------------------------------------------------------------------- Tue Nov 8 12:08:26 UTC 2011 - werner@suse.de diff --git a/ghostview.spec b/ghostview.spec index c8ead9b..dde547d 100644 --- a/ghostview.spec +++ b/ghostview.spec @@ -1,7 +1,7 @@ # -# spec file for package ghostview (Version 1.5) +# spec file for package ghostview # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,47 +15,35 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: ghostview -BuildRequires: update-desktop-files xorg-x11 xorg-x11-devel +Version: 1.5 +Release: 0 +Summary: Ghostview License: GPL-2.0+ Group: Productivity/Publishing/PS -Provides: gsview ghstview -Obsoletes: gsview -Requires: ghostscript_x11 -Conflicts: gs_serv gs_vga -AutoReqProv: on -Version: 1.5 -Release: 420 -Summary: Ghostview +Url: http://pages.cs.wisc.edu/~ghost/gv/index.htm Source: ghostview-1.5.tar.bz2 Source1: ghostview.desktop Source2: ghostview.png Patch: ghostview-1.5.dif Patch1: ghostview-1.5-ad.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} -%if "%_exec_prefix" == "/usr/X11R6" -%global _mandir %{_exec_prefix}/man -%define _x11data %{_exec_prefix}/lib/X11 -%define _appdefdir %{_x11data}/app-defaults -%else +BuildRequires: update-desktop-files +BuildRequires: xorg-x11 +BuildRequires: xorg-x11-devel +Provides: ghstview +Provides: gsview +Obsoletes: gsview +Requires: ghostscript_x11 +Conflicts: gs_serv gs_vga %define _x11data %{_datadir}/X11 %define _appdefdir %{_x11data}/app-defaults -%endif %description Ghostview offers an X11 GUI for viewing PostScript files. This is an X11 interface to ghostscript. - - -Authors: --------- - Tim Theisen - %prep %setup -q %patch @@ -63,17 +51,13 @@ Authors: %build xmkmf -a -make CCOPTIONS="$RPM_OPT_FLAGS" +make CCOPTIONS="%{optflags}" %{?_smp_mflags} %install -rm -rf %{buildroot} make install DESTDIR=%{buildroot} make install.man DESTDIR=%{buildroot} %suse_update_desktop_file -i ghostview Office Viewer -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root) /usr/share/applications/ghostview.desktop @@ -83,43 +67,3 @@ rm -rf %{buildroot} %doc %{_mandir}/man1/ghostview.1x.gz %changelog -* Tue Apr 08 2008 werner@suse.de -- Resolve file conflict by renaming gv.png to ghostview.png -* Sun Jan 13 2008 coolo@suse.de -- remove desktop-data from buildrequires -* Thu Jul 05 2007 coolo@suse.de -- put desktop file and icon into package -* Thu Nov 09 2006 werner@suse.de -- Get file stat before using it (bug #216970) -* Thu Aug 24 2006 werner@suse.de -- Don't package icon already present in desktop-data-SuSE -* Wed Aug 02 2006 werner@suse.de -- Make it build with X11R7 -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Wed Oct 05 2005 dmueller@suse.de -- add norootforbuild -* Thu May 12 2005 meissner@suse.de -- use RPM_OPT_FLAGS -* Wed Nov 17 2004 werner@suse.de -- Add gv.png pixmap to file list -* Wed Apr 28 2004 werner@suse.de -- Avoid compiler warnings -* Sat Aug 16 2003 adrian@suse.de -- install desktop file from kappfinder -* Fri Jun 13 2003 kukuk@suse.de -- Rename to ghostview [Bug #27088] -- Add BuildRoot -- Fix filelist -* Fri Nov 08 2002 werner@suse.de -- Remove XCOMM definition to make new cpp happy -* Sat Dec 09 2000 nashif@suse.de -- sorted -* Mon Sep 20 1999 ro@suse.de -- added Requires ghostscript_x11 -* Mon Sep 13 1999 bs@suse.de -- ran old prepare_spec on spec file to switch to new prepare_spec. -* Sun Sep 20 1998 ro@suse.de -- dont redeclare sys_errlist for glibc -* Thu Feb 13 1997 werner@suse.de -- Compiled and packed under X11R6.1