File gtkam.spec of Package gtkam

# spec file for package gtkam
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           gtkam
Version:        1.0
Release:        0
Summary:        A GTK Digital Camera Tool
License:        GPL-2.0+
Group:          Hardware/Camera
Source2:        %{name}.keyring
BuildRequires:  fdupes
BuildRequires:  gimp-devel
BuildRequires:  intltool
BuildRequires:  libexif-gtk-devel
BuildRequires:  libgphoto2-devel
BuildRequires:  update-desktop-files
Requires:       %{name}-lang = %{version}

GTKam is a GTK and GNOME based tool for accessing a digital camera,
viewing thumbnails, and downloading pictures from the camera.

%package doc
Summary:        Documentation for gtkcam
Group:          Documentation/Man
Requires:       %{name} = %{version}

%description doc
Documentation for gtkam.


%setup -q

make %{?jobs:-j%jobs}

# cleanup
rm -r %{buildroot}%{_datadir}/doc/gtkam
%suse_update_desktop_file %{name} Graphics Photography
%find_lang %{name}
%fdupes %{buildroot}

%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

%files lang -f %{name}.lang

%files doc

openSUSE Build Service is sponsored by