File orage.spec of Package orage

#
# spec file for package orage (Version 4.6.1)
#
# Copyright (c) 2009 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


Name:           orage
BuildRequires:  dbus-1-glib-devel gtk2-devel intltool libical-devel libnotify-devel update-desktop-files
BuildRequires:  xfce4-panel-devel
Summary:        Time-managing application for the Xfce desktop environment
Version:        4.6.1
Release:        1
License:        GPL v2 or later
Url:            http://www.xfce.org
Source:         %{name}-%{version}.tar.bz2
Patch0:         %{name}-shared-libical.patch
Group:          Productivity/Office/Organizers
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       xfcalendar = %{version}
Obsoletes:      xfcalendar < %{version}

%description
Time-managing application for the Xfce desktop environment. Orage 4.3
uses new ical interface instead of old dbh to store and utilize
calender appointments.



Authors:
--------
    Mickael Graf <korbinus@xfce.org>
    Benedikt Meurer <benny@xfce.org>
    Edscott Wilson Garcia <edscott@xfce.org>
    Juha Kautto <juha@xfce.org>

%prep
%setup -q
# rm -rf libical
# %patch0

%build
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
install -D -m 644 icons/48x48/xfcalendar.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/xfcalendar.png
%find_lang %{name}
%suse_update_desktop_file -i xfcalendar X-XFCE Office Calendar GTK

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc README ChangeLog INSTALL COPYING AUTHORS NEWS
%doc %{_datadir}/orage/doc
%{_bindir}/*
%dir %{_datadir}/orage
%doc %{_mandir}/man1/*
%{_datadir}/orage/sounds
%{_datadir}/applications/*desktop
%{_datadir}/icons/hicolor/*/*
%{_datadir}/pixmaps/xfcalendar.png
%{_datadir}/xfce4/panel-plugins/orageclock.desktop
%{_datadir}/dbus-1/services/org.xfce.*
%{_libexecdir}/xfce4
%{_datadir}/orage/zoneinfo

%changelog
openSUSE Build Service is sponsored by