From 201eee2a8c7fe8a04cb5698c6ed1a187ffb66a3de19af5f085575d0b4d250f26 Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Tue, 27 Feb 2018 01:21:46 +0000 Subject: [PATCH] Accepting request 580325 from home:elvigia:branches:Publishing - Remove deprecated buildrequires on xorg-x11-devel metapackage OBS-URL: https://build.opensuse.org/request/show/580325 OBS-URL: https://build.opensuse.org/package/show/Publishing/ghostview?expand=0&rev=8 --- ghostview.changes | 5 +++++ ghostview.spec | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ghostview.changes b/ghostview.changes index 865b255..8cadf55 100644 --- a/ghostview.changes +++ b/ghostview.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 18:46:23 UTC 2018 - crrodriguez@opensuse.org + +- Remove deprecated buildrequires on xorg-x11-devel metapackage + ------------------------------------------------------------------- Wed Oct 8 11:14:34 UTC 2014 - jengelh@inai.de diff --git a/ghostview.spec b/ghostview.spec index dde547d..6f6e13b 100644 --- a/ghostview.spec +++ b/ghostview.spec @@ -1,7 +1,7 @@ # # spec file for package ghostview # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -20,7 +20,7 @@ Name: ghostview Version: 1.5 Release: 0 Summary: Ghostview -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Publishing/PS Url: http://pages.cs.wisc.edu/~ghost/gv/index.htm Source: ghostview-1.5.tar.bz2 @@ -29,9 +29,12 @@ Source2: ghostview.png Patch: ghostview-1.5.dif Patch1: ghostview-1.5-ad.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: imake BuildRequires: update-desktop-files -BuildRequires: xorg-x11 -BuildRequires: xorg-x11-devel +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xaw7) +BuildRequires: pkgconfig(xmu) +BuildRequires: pkgconfig(xt) Provides: ghstview Provides: gsview Obsoletes: gsview @@ -63,6 +66,7 @@ make install.man DESTDIR=%{buildroot} /usr/share/applications/ghostview.desktop /usr/share/pixmaps/ghostview.png %{_bindir}/ghostview +%dir %{_appdefdir} %config %{_appdefdir}/Ghostview %doc %{_mandir}/man1/ghostview.1x.gz