From a97e42b836f6af56017ab16c73036af31357b8ed53fc1ed07d2cc8c6b3085548 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 30 May 2016 14:14:36 +0000 Subject: [PATCH 1/2] Accepting request 398974 from home:AndreasStieger:branches:graphics source url OBS-URL: https://build.opensuse.org/request/show/398974 OBS-URL: https://build.opensuse.org/package/show/graphics/gtkam?expand=0&rev=12 --- gtkam.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtkam.spec b/gtkam.spec index 69863fa..385e457 100644 --- a/gtkam.spec +++ b/gtkam.spec @@ -29,8 +29,8 @@ License: GPL-2.0+ Group: Hardware/Camera Version: 1.0 Release: 0 -Source: %{name}-%{version}.tar.bz2 -Source1: %{name}-%{version}.tar.bz2.asc +Source: https://sourceforge.net/projects/gphoto/files/gtkam/1.0/%{name}-%{version}.tar.bz2 +Source1: https://sourceforge.net/projects/gphoto/files/gtkam/1.0/%{name}-%{version}.tar.bz2.asc Source2: %{name}.keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://gphoto.org From 295ae7af8ad58f44dfcac06abdc032296ff0fdad1aced52aa3a6d67b9f73563f Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Mon, 13 Nov 2017 02:09:24 +0000 Subject: [PATCH 2/2] Accepting request 540669 from home:Zaitor:branches:graphics - Drop obsolete libgnomeui-devel BuildRequires: GNOME 2 support is no longer needed. - Own gnome help dirs. - Cleanup with spec-cleaner. - Stop exporting SUSE_ASNEEDED=0, no longer fails to build with as needed. OBS-URL: https://build.opensuse.org/request/show/540669 OBS-URL: https://build.opensuse.org/package/show/graphics/gtkam?expand=0&rev=14 --- gtkam.changes | 10 ++++++++++ gtkam.spec | 42 +++++++++++++++++++----------------------- 2 files changed, 29 insertions(+), 23 deletions(-) diff --git a/gtkam.changes b/gtkam.changes index a7e4a12..efc0e46 100644 --- a/gtkam.changes +++ b/gtkam.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Nov 11 00:04:16 UTC 2017 - zaitor@opensuse.org + +- Drop obsolete libgnomeui-devel BuildRequires: GNOME 2 support is + no longer needed. +- Own gnome help dirs. +- Cleanup with spec-cleaner. +- Stop exporting SUSE_ASNEEDED=0, no longer fails to build with as + needed. + ------------------------------------------------------------------- Fri May 27 16:15:56 UTC 2016 - meissner@suse.com diff --git a/gtkam.spec b/gtkam.spec index 385e457..218fe8c 100644 --- a/gtkam.spec +++ b/gtkam.spec @@ -1,7 +1,7 @@ # # spec file for package gtkam # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,23 +17,21 @@ Name: gtkam +Version: 1.0 +Release: 0 +Summary: A GTK Digital Camera Tool +License: GPL-2.0+ +Group: Hardware/Camera +Url: http://gphoto.org +Source: https://sourceforge.net/projects/gphoto/files/gtkam/1.0/%{name}-%{version}.tar.bz2 +Source1: https://sourceforge.net/projects/gphoto/files/gtkam/1.0/%{name}-%{version}.tar.bz2.asc +Source2: %{name}.keyring BuildRequires: fdupes BuildRequires: gimp-devel BuildRequires: intltool BuildRequires: libexif-gtk-devel -BuildRequires: libgnomeui-devel BuildRequires: libgphoto2-devel BuildRequires: update-desktop-files -Summary: A GTK Digital Camera Tool -License: GPL-2.0+ -Group: Hardware/Camera -Version: 1.0 -Release: 0 -Source: https://sourceforge.net/projects/gphoto/files/gtkam/1.0/%{name}-%{version}.tar.bz2 -Source1: https://sourceforge.net/projects/gphoto/files/gtkam/1.0/%{name}-%{version}.tar.bz2.asc -Source2: %{name}.keyring -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://gphoto.org Requires: %{name}-lang = %{version} %description @@ -49,30 +47,29 @@ Requires: %{name} = %{version} Documentation for gtkam. %lang_package + %prep %setup -q %build -# This package failed when testing with -Wl,-as-needed being default. -# So we disable it here, if you want to retest, just delete this comment and the line below. -export SUSE_ASNEEDED=0 %configure make %{?jobs:-j%jobs} %install -%makeinstall +%make_install # cleanup -rm -r $RPM_BUILD_ROOT%{_datadir}/doc/gtkam +rm -r %{buildroot}%{_datadir}/doc/gtkam %suse_update_desktop_file %{name} Graphics Photography %find_lang %{name} -%fdupes $RPM_BUILD_ROOT +%fdupes %{buildroot} %files -%defattr(-,root,root) -%doc AUTHORS ChangeLog CHANGES COPYING NEWS README TODO +%doc COPYING %{_bindir}/gtkam %{_datadir}/applications/*.desktop %{_datadir}/gtkam +%dir %{_datadir}/gnome +%dir %{_datadir}/gnome/help # FIXME: There is no generic %{_datadir}/images. Better would be %{_datadir}/pixmaps (upstream problem). %dir %{_datadir}/images %dir %{_datadir}/omf @@ -84,8 +81,7 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/doc/gtkam %files lang -f %{name}.lang %files doc -%defattr(-,root,root) -%doc AUTHORS ChangeLog CHANGES COPYING NEWS README TODO -%{_mandir}/man1/*.* +%doc AUTHORS ChangeLog CHANGES NEWS README TODO +%{_mandir}/man1/*%{ext_man} %changelog