File tasque.spec of Package tasque

#
# spec file for package tasque (Version 0.1.7)
#
# Copyright (c) 2008 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 http://bugs.opensuse.org/
#

# norootforbuild

Url:            http://live.gnome.org/Tasque

Name:           tasque
%define prefix /usr
%if %suse_version < 1030
%define sysconfdirprivate etc/opt/gnome
%else
%define sysconfdirprivate etc
%endif
%define sysconfdir /%{sysconfdirprivate}
%define dbus_min_version 0.60-26
Version:        0.1.7
Release:        1
License:        LGPL v2.1 or later; X11/MIT
Obsoletes:      tasky
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  dbus-1-devel evolution-sharp fdupes gconf2-devel gnome-sharp2 intltool mono-devel ndesk-dbus ndesk-dbus-glib-devel notify-sharp
Source:         %{name}-%{version}.tar.bz2
Group:          Productivity/Office/Organizers
Summary:        A simple task management app (TODO list) for the Linux Desktop
Requires:       dbus-1-glib >= %{dbus_min_version}
Requires:       dbus-1-x11 >= %{dbus_min_version}
Requires:       ndesk-dbus
%if 0%{?suse_version}
BuildRequires:  update-desktop-files
%else
%define suse_update_desktop_file true
%endif

%description
Tasky is a simple task management app (TODO list) for the Linux
Desktop.



Authors:
--------
    Boyd Timothy
    Calvin Gaisford

%prep
%setup -q

%build
intltoolize -f
autoreconf -fi
%configure \
    --enable-backend-rtm --enable-backend-sqlite --enable-backend-eds
%__make

%install
%makeinstall
%find_lang %{name}
%suse_update_desktop_file %name Office
%fdupes -s $RPM_BUILD_ROOT

%clean
rm -rf "$RPM_BUILD_ROOT"

%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/%{name}
%{_prefix}/%_lib/pkgconfig/tasque.pc
%{_prefix}/lib/tasque
%{_datadir}/applications/tasque.desktop
%{_datadir}/dbus-1/services/org.gnome.Tasque.service
%{_datadir}/icons/hicolor/*/apps/tasque.png
%{_datadir}/icons/hicolor/scalable/apps/tasque.svg
%{_datadir}/pixmaps/note-16.png
%{_datadir}/pixmaps/rtmLogo.png
%{_datadir}/pixmaps/tasque-*.png
%{_datadir}/pixmaps/tasque.svg
%{_datadir}/tasque

%changelog
* Sun Sep 07 2008 mboman@novell.com
- Updated to version 0.1.7
  + Make translations actually work.
  + Add tooltips that show notes for a task
  + Bugs fixed: bgo#525281, bgo#543245, bgo#540588, bgo#539781,
  bgo#541190
  + Translation updates
- Reviewed work from awafaa@opensuse.org
* Thu Aug 07 2008 awafaa@opensuse.org
- Update to latest release 0.1.6
  + New task entry widget at top of Tasque window.
  + When entering a new task, parse for due date information.
  + Cleaner SVG icon
  + Use Gtk.StatusIcon
  + Crash fixes
  + Bugs fixed: bgo#525306, bgo#525282, bgo#536740, bgo#532764
  bgo#526663, bgo#525272, bgo#538144, bgo#533609, bgo#533607
- Remove patch as it is integrated in the new release
* Fri Jun 13 2008 mauro@suse.de
- Added eds and sqlite backends to fix bnc#399862.
* Mon May 26 2008 jpr@suse.de
- Make sure tasque-exe-config-fix-bnc382448.patch is applied properly
* Fri May 16 2008 btimothy@suse.de
- Add Tasque.exe.config.in to specify the proper dll libraries.
  This fixes BNC #382448, crash at startup.
* Wed Apr 02 2008 maw@suse.de
- Import into autobuild.
  Wed Mar 19 2008 calvinrg@gmail.com
- Added notify-sharp as a BuildRequires so that we'll build
  with notification support to notify the user when a
  task is created via the DBus interface.
  Thu Mar 13 2008 btimothy@gmail.com
- Added notify-sharp as a Requires so that we'll build
  with notification support to notify the user when a
  task is created via the DBus interface.
  Thu Mar 13 2008 btimothy@gmail.com
- Fix up prefix/lib so the tasque.pc file works on
  x86_64 builds.
  Thu Mar 13 2008 btimothy@gmail.com
- Updated the spec file to better build for SLE_10 by
  specifying specific DBus requirements.
  Thu Mar 13 2008 btimothy@gmail.com
- Added 'Obsoletes: tasky'
  Wed Mar 12 2008 calvinrg@gmail.com
- Updated to 0.1.5.
- Renamed package to Tasque
  Fri Mar 07 2008 btimothy@gmail.com
- Updated to 0.1.4.
- Removed tasky-remove-show-expanders.patch since it's
  included in the tarball now.
  Tue Feb 19 2008 btimothy@gmail.com
- Added tomboy-remove-show-expanders.patch so tasky will
  build on older distros.
  Tue Feb 19 2008 btimothy@gmail.com
- Updated to 0.1.3.
  Sat Feb 16 2008 btimothy@gmail.com
- Updated to 0.1.1.
- Use tar.gz since that's what Tasky's site publishes.
  Thu Feb 14 2008 btimothy@gmail.com
- Use official 0.1.0 release.
  Thu Feb 14 2008 ajorgensen@novell.com
- Initial import
openSUSE Build Service is sponsored by