File orage.spec of Package orage

#
# spec file for package orage (Version 4.5.14.0)
#
# 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


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

%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
cp %{SOURCE1} .
%patch0
%patch1

%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
%suse_update_desktop_file -i xfcalendar X-XFCE Settings DesktopSettings
# not a real desktop file
#suse_update_desktop_file -i orageclock X-XFCE

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc README README.SUSE 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.*
%{_libdir}/xfce4*/*
%{_libexecdir}/xfce4/panel-plugins/orageclock

%changelog
* Tue Nov 18 2008 pnemec@suse.cz
- call update_desktop_file macro on desktop files [bnc#445722]
* Tue Oct 14 2008 prusnak@suse.cz
- link against distribution libical (shared-libical.patch) [bnc#434984]
- updated to 4.5.14.0
  * Man page created for orage and globaltime
  * Globaltime added.
      - shows several clocks from different timezones
      - can be raised and hidden by clicking middle mouse
  button on orage clock panel plugin
      - has timetune feature, which makes it easy to see what
  the time is in other clocks on certain time
  * All visible dates are now in country native format (strftime (%%x))
  * All parameters now visible in preferences
      - restructured parameter screens
  * New appointment types: TODO and JOURNAL
      - TODO can be used to remember things that needs to done
      - JOURNALs are for notes and things to remember
  * Possible to rename Orage calendar files
  * External files can be used
      - it is possible to add files from other sources
  and Orage keeps track on those.
  * Export and import appointments.
  * Text search in event list
  * Orage is now dependent on local libical.
      - standard libical cannot be used due to several fixes
  done to Orage's private copy
  * Daylist view
      - possible to see calendar in day view format in addition
  to the old list view.
  * New alarms.
      - libnotify alarms
      - script type alarms
  * Possibility to set alarm based on end time also
  * Possible to define default alarm
  * Persistent alarms
      - persistent alarms are raised after Orage is started
  even if your computer or Orage has been turned off when the
  alarm happened.
  * Orage and orageclock now only wake up when needed.
      - saves battery in laptops when timer wakes up only when
  needed instead of regularly every second.
  * Main calendar now has list of events and todos.
  * Better compatibility with evolution ical files
  * Categories added
      - also possible to give colour to certain category
  and then colour is shown in even list view
* Thu May 08 2008 aj@suse.de
- Fix missing return value (missing-retval.patch)
* Mon Dec 03 2007 bwalle@suse.de
- update to 4.4.2
  o Recurrence not recurring at the limit date. Missing fix:
  convert time back to UTC when reading. Caused day to be
  incremented for -GMT timezones
  o Added missing last update time
  o Orage clock now wakes up only when needed. This fix sacrifies a
  little of accuracy to save wakeups. If seconds are not visible
  clock wakes up only once per minute
  o Updated and new translations
* Tue Apr 10 2007 bwalle@suse.de
- update to 4.4.1
  o Bug when adding All day event from iCal. All day events were
  handled wrongly in Orage.
  o Recurring events need to happen on ending date also.
  o Erroneous warning when adding panel plugin.
  o Change field before save so that spin buttons activate always.
  o Many translation updates.
* Wed Mar 21 2007 prusnak@suse.cz
- fixed errors in filelist
* Sun Jan 21 2007 bwalle@suse.de
- upgraded to 4.4.0
* Sun Nov 05 2006 bwalle@suse.de
- updated to 4.3.99.2 (4.4 rc2)
* Tue Sep 05 2006 pnemec@suse.cz
- updated to new version 4.3.99.1
* Thu Aug 24 2006 pnemec@suse.cz
- added dbus-devel to build requires
* Wed Aug 02 2006 pnemec@suse.cz
- initial comment, version is 4.3.90.2
- package moved into BuildService
- added orage-desktop.patch - small modificatin of desktop file
openSUSE Build Service is sponsored by