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 69863fa..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: %{name}-%{version}.tar.bz2 -Source1: %{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