File gtg.spec of Package gtg.import4276

# spec file for package gtg
# 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:           gtg
Version:        0.2.4
Release:        5.<RELEASE6>
License:        GPLv3+
Summary:        Personal Organizer for GNOME
Group:          Productivity/Office/Organizers
Source:         %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gtg-hamster-plugin-not-starting-tracking-tasks.patch lp#620313 bnc#683748 -- Fix After activiting the Hamster (Time Tracking) plugin in GTG nothing happens.
Patch0:         gtg-hamster-plugin-not-starting-tracking-tasks.patch
BuildRequires:  dbus-1
# dbus-1 is only required for file ownerships
BuildRequires:  fdupes
BuildRequires:  python-devel
BuildRequires:  python-gobject2
BuildRequires:  python-gtk
BuildRequires:  update-desktop-files
Requires:       python-configobj
Requires:       python-gobject2
Requires:       python-gtk
Requires:       python-xdg
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{suse_version} > 1110
BuildArch:      noarch
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%define python_sitearch %{py_sitedir}

Getting Things GNOME! (GTG) is a personal organizer for the GNOME desktop
environment inspired by the Getting Things Done (GTD) methodology. GTG is
designed with flexibility, adaptability, and ease of use in mind so it can be
used as more than just GTD software.

GTG is intended to help you track everything you needto do and need to know,
from small tasks to large projects.

%setup -q
%patch0 -p1

%{__python} build

%{__python} install --prefix=%{_prefix} --root=%{buildroot}
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file %{name} ProjectManagement
%fdupes -s %{buildroot}

rm -rf %{buildroot}

%if 0%{?suse_version} > 1130


%if 0%{?suse_version} > 1130


%defattr(-, root, root)

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by