File frogr.spec of Package frogr

# spec file for package frogr
# Copyright (c) 2011 SUSE LINUX Products 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:           frogr
Version:        0.6.1
Release:        1
License:        GPLv3
Summary:        Tool to Manage Flickr Accounts
Group:          Productivity/Graphics/Other
BuildRequires:  gnome-doc-utils-devel >= 0.10.13
BuildRequires:  intltool
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(glib-2.0) >= 2.22
%if 0%{?favor_gtk2}
BuildRequires:  pkgconfig(gtk+-2.0) >= 2.16
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.0
BuildRequires:  pkgconfig(libexif)
BuildRequires:  pkgconfig(libsoup-2.4) >= 2.26
BuildRequires:  pkgconfig(libxml-2.0)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Frogr is a small application for the GNOME desktop that allows users to
manage their accounts in the Flickr image hosting website. It supports
all the basic Flickr features, including uploading pictures, adding
descriptions, setting tags and managing sets and groups pools.

%setup -q

make %{?_smp_mflags}

%find_lang %{name}
%suse_update_desktop_file frogr Viewer

%{?buildroot:rm -rf %{buildroot}}

%if 0%{?suse_version} > 1130
gtk-update-icon-cache %{_datadir}/icons/hicolor || true

%if 0%{?suse_version} > 1130
gtk-update-icon-cache %{_datadir}/icons/hicolor || true


%files lang -f %{name}.lang

openSUSE Build Service is sponsored by