2007-01-12 15:15:08 +00:00
|
|
|
#
|
2012-02-28 13:13:04 +00:00
|
|
|
# spec file for package gtkam
|
2007-01-12 15:15:08 +00:00
|
|
|
#
|
2017-11-13 02:09:24 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-12 15:15:08 +00:00
|
|
|
#
|
2008-11-07 15:08:39 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-12 15:15:08 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-04-15 08:55:47 +00:00
|
|
|
|
2007-01-12 15:15:08 +00:00
|
|
|
Name: gtkam
|
2017-11-13 02:09:24 +00:00
|
|
|
Version: 1.0
|
|
|
|
Release: 0
|
2012-02-28 13:13:04 +00:00
|
|
|
Summary: A GTK Digital Camera Tool
|
2011-12-06 17:17:01 +00:00
|
|
|
License: GPL-2.0+
|
2007-08-09 16:57:37 +00:00
|
|
|
Group: Hardware/Camera
|
2017-11-13 02:09:24 +00:00
|
|
|
Url: http://gphoto.org
|
2016-05-30 14:14:36 +00:00
|
|
|
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
|
2016-05-27 16:16:53 +00:00
|
|
|
Source2: %{name}.keyring
|
2017-11-13 02:09:24 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gimp-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libexif-gtk-devel
|
|
|
|
BuildRequires: libgphoto2-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2007-08-09 16:57:37 +00:00
|
|
|
Requires: %{name}-lang = %{version}
|
2007-01-12 15:15:08 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
GTKam is a GTK and GNOME based tool for accessing a digital camera,
|
|
|
|
viewing thumbnails, and downloading pictures from the camera.
|
|
|
|
|
2012-09-13 08:55:06 +00:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for gtkcam
|
|
|
|
Group: Documentation/Man
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description doc
|
2016-05-27 16:16:53 +00:00
|
|
|
Documentation for gtkam.
|
2012-09-13 08:55:06 +00:00
|
|
|
|
2007-08-09 16:57:37 +00:00
|
|
|
%lang_package
|
2017-11-13 02:09:24 +00:00
|
|
|
|
2007-01-12 15:15:08 +00:00
|
|
|
%prep
|
2007-02-06 23:30:55 +00:00
|
|
|
%setup -q
|
2007-01-12 15:15:08 +00:00
|
|
|
|
|
|
|
%build
|
2007-02-06 23:30:55 +00:00
|
|
|
%configure
|
|
|
|
make %{?jobs:-j%jobs}
|
2007-01-12 15:15:08 +00:00
|
|
|
|
|
|
|
%install
|
2017-11-13 02:09:24 +00:00
|
|
|
%make_install
|
2007-01-12 15:15:08 +00:00
|
|
|
# cleanup
|
2017-11-13 02:09:24 +00:00
|
|
|
rm -r %{buildroot}%{_datadir}/doc/gtkam
|
2007-02-06 23:30:55 +00:00
|
|
|
%suse_update_desktop_file %{name} Graphics Photography
|
|
|
|
%find_lang %{name}
|
2017-11-13 02:09:24 +00:00
|
|
|
%fdupes %{buildroot}
|
2007-08-09 16:57:37 +00:00
|
|
|
|
|
|
|
%files
|
2017-11-13 02:09:24 +00:00
|
|
|
%doc COPYING
|
2007-02-06 23:30:55 +00:00
|
|
|
%{_bindir}/gtkam
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/gtkam
|
2017-11-13 02:09:24 +00:00
|
|
|
%dir %{_datadir}/gnome
|
|
|
|
%dir %{_datadir}/gnome/help
|
2007-02-06 23:30:55 +00:00
|
|
|
# FIXME: There is no generic %{_datadir}/images. Better would be %{_datadir}/pixmaps (upstream problem).
|
|
|
|
%dir %{_datadir}/images
|
2013-12-16 18:46:40 +00:00
|
|
|
%dir %{_datadir}/omf
|
2007-02-06 23:30:55 +00:00
|
|
|
%{_datadir}/images/gtkam
|
|
|
|
%{_datadir}/pixmaps/gtkam.png
|
2008-11-07 15:08:39 +00:00
|
|
|
%{_datadir}/pixmaps/gtkam-camera.png
|
2007-02-06 23:30:55 +00:00
|
|
|
%{_libdir}/gimp/2.0/plug-ins/gtkam-gimp
|
2007-01-12 15:15:08 +00:00
|
|
|
|
2007-08-09 16:57:37 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2012-09-13 08:55:06 +00:00
|
|
|
%files doc
|
2017-11-13 02:09:24 +00:00
|
|
|
%doc AUTHORS ChangeLog CHANGES NEWS README TODO
|
|
|
|
%{_mandir}/man1/*%{ext_man}
|
2012-09-13 08:55:06 +00:00
|
|
|
|
2007-08-09 16:57:37 +00:00
|
|
|
%changelog
|