SHA256
1
0
forked from pool/gtkam
Dominique Leuenberger 2017-11-13 13:06:12 +00:00 committed by Git OBS Bridge
commit ea0d6b5866
2 changed files with 29 additions and 23 deletions

View File

@ -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 Fri May 27 16:15:56 UTC 2016 - meissner@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package gtkam # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,23 +17,21 @@
Name: gtkam 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: fdupes
BuildRequires: gimp-devel BuildRequires: gimp-devel
BuildRequires: intltool BuildRequires: intltool
BuildRequires: libexif-gtk-devel BuildRequires: libexif-gtk-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgphoto2-devel BuildRequires: libgphoto2-devel
BuildRequires: update-desktop-files 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} Requires: %{name}-lang = %{version}
%description %description
@ -49,30 +47,29 @@ Requires: %{name} = %{version}
Documentation for gtkam. Documentation for gtkam.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
%build %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 %configure
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
%install %install
%makeinstall %make_install
# cleanup # cleanup
rm -r $RPM_BUILD_ROOT%{_datadir}/doc/gtkam rm -r %{buildroot}%{_datadir}/doc/gtkam
%suse_update_desktop_file %{name} Graphics Photography %suse_update_desktop_file %{name} Graphics Photography
%find_lang %{name} %find_lang %{name}
%fdupes $RPM_BUILD_ROOT %fdupes %{buildroot}
%files %files
%defattr(-,root,root) %doc COPYING
%doc AUTHORS ChangeLog CHANGES COPYING NEWS README TODO
%{_bindir}/gtkam %{_bindir}/gtkam
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
%{_datadir}/gtkam %{_datadir}/gtkam
%dir %{_datadir}/gnome
%dir %{_datadir}/gnome/help
# FIXME: There is no generic %{_datadir}/images. Better would be %{_datadir}/pixmaps (upstream problem). # FIXME: There is no generic %{_datadir}/images. Better would be %{_datadir}/pixmaps (upstream problem).
%dir %{_datadir}/images %dir %{_datadir}/images
%dir %{_datadir}/omf %dir %{_datadir}/omf
@ -84,8 +81,7 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/doc/gtkam
%files lang -f %{name}.lang %files lang -f %{name}.lang
%files doc %files doc
%defattr(-,root,root) %doc AUTHORS ChangeLog CHANGES NEWS README TODO
%doc AUTHORS ChangeLog CHANGES COPYING NEWS README TODO %{_mandir}/man1/*%{ext_man}
%{_mandir}/man1/*.*
%changelog %changelog