Hello community, here is the log from the commit of package ghostview checked in at Wed Aug 2 15:58:53 CEST 2006. -------- --- ghostview/ghostview.changes 2006-01-25 21:36:11.000000000 +0100 +++ ghostview/ghostview.changes 2006-08-02 15:22:00.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Aug 2 15:21:51 CEST 2006 - werner@suse.de + +- Make it build with X11R7 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghostview.spec ++++++ --- /var/tmp/diff_new_pack.uOFjTd/_old 2006-08-02 15:58:27.000000000 +0200 +++ /var/tmp/diff_new_pack.uOFjTd/_new 2006-08-02 15:58:27.000000000 +0200 @@ -1,11 +1,11 @@ # # spec file for package ghostview (Version 1.5) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -20,15 +20,25 @@ Conflicts: gs_serv gs_vga Autoreqprov: on Version: 1.5 -Release: 190 +Release: 202 Summary: Ghostview Source: ghostview-1.5.tar.bz2 Patch: ghostview-1.5.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 +%define _x11data %{_datadir}/X11 +%define _appdefdir %{_x11data}/app-defaults +%endif %description -Ghostview offers you an X11 GUI for viewing PostScript files. This is -an X11 interface to ghostscript. +Ghostview offers an X11 GUI for viewing PostScript files. This is an +X11 interface to ghostscript. @@ -45,23 +55,25 @@ make CCOPTIONS="$RPM_OPT_FLAGS" %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -make install.man DESTDIR=$RPM_BUILD_ROOT +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +make install.man DESTDIR=%{buildroot} %suse_update_desktop_file -i ghostview Office Viewer %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files %defattr(-,root,root) /usr/share/applications/ghostview.desktop /usr/share/pixmaps/gv.png -/usr/X11R6/bin/ghostview -%config /usr/X11R6/lib/X11/app-defaults/Ghostview -%doc /usr/X11R6/man/man1/ghostview.1x.gz +%{_bindir}/ghostview +%config %{_appdefdir}/Ghostview +%doc %{_mandir}/man1/ghostview.1x.gz %changelog -n ghostview +* 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...