File osmo.spec of Package osmo
#
# spec file for package osmo (Version 0.2.10)
#
# Copyright (c) 2008-11 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.
#
# norootforbuild
Name: osmo
BuildRequires: gcc
BuildRequires: gtk2-devel >= 2.12
BuildRequires: libxml2-devel >= 2.0.0
%if 0%{?suse_version} > 1140
BuildRequires: gtkhtml-devel >= 2.2.0
%else
BuildRequires: gtkhtml2-devel >= 2.2.0
%endif
BuildRequires: libnotify-devel >= 0.4.4
BuildRequires: update-desktop-files
BuildRequires: libsyncml-devel >= 0.4.0
#BuildRequires: libical-devel >= 0.33
BuildRequires: gtkspell-devel >= 2.0.5
# BuildRequires: libgringotts-devel >= 1.2.1
# BuildRequires: libtar-devel >= 1.2.10
Summary: Personal organizer with calendar, tasks manager and address book
Url: http://clayo.org/osmo/
License: GPL v2 or later
Group: Productivity/Office/Organizers
Version: 0.2.10
Release: 0
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{ tmppath}/%{name}-%{version}-build
AutoReqProv: on
%description
Osmo is a handy personal organizer, which includes calendar, tasks manager and address book modules. It was designed to be a small, easy to use and good looking PIM tool to help to manage personal information. In its current state the organizer is quite convenient to use - for example, the user can perform nearly all operations using the keyboard. Also, a lot of parameters are configurable to meet the user's preferences. On the technical side, Osmo is GTK+ based tool which uses a plain XML database to store all personal data.
%prep
%setup -q
%build
# autoreconf -f -i
%configure --with-libsyncml
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%suse_update_desktop_file -i %{name}
%find_lang osmo
%clean
rm -rf $RPM_BUILD_ROOT
%files -f osmo.lang
%defattr(-,root,root)
%doc %{_mandir}/man1/*
%{_datadir}/pixmaps/*
%{_datadir}/icons/hicolor/*
%{_datadir}/applications/*
%doc README AUTHORS COPYING ChangeLog
%{_bindir}/osmo
%dir %{_datadir}/sounds/osmo
%{_datadir}/sounds/osmo/*