1 %define xfce_version 4.16.0
2 Summary: Calendar for Xfce
3 Summary(pl.UTF-8): Kalendarz dla Xfce
8 Group: X11/Applications
9 Source0: https://archive.xfce.org/src/apps/orage/4.18/%{name}-%{version}.tar.bz2
10 # Source0-md5: c12765da61022c710bb0d5aab3c9c56f
11 Patch0: libical3.patch
12 URL: https://www.xfce.org/projects/orage
13 BuildRequires: dbus-glib-devel
14 BuildRequires: gettext-tools
15 BuildRequires: glib2-devel >= 1:2.12.4
16 BuildRequires: libical-devel >= 0.43
17 BuildRequires: libnotify-devel >= 0.3.2
18 BuildRequires: libxfce4ui-devel >= %{xfce_version}
19 BuildRequires: pkgconfig
20 BuildRequires: popt-devel
21 BuildRequires: rpmbuild(macros) >= 1.601
22 BuildRequires: xfce4-dev-tools >= %{xfce_version}
23 BuildRequires: xfce4-panel-devel >= %{xfce_version}
24 Requires: desktop-file-utils
25 Requires: gtk-update-icon-cache
26 Requires: hicolor-icon-theme >= 0.12-4
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Orage is a time-managing application that is part of the Xfce Desktop
32 Environment and features a calendar window, lists of events and
33 reminders. It also provides an easy way to archive and manage your old
36 %description -l pl.UTF-8
37 Orage to aplikacja do zarządzania czasem będąca częścią środowiska
38 graficznego Xfce. Zawiera okno kalendarza, listę wydarzeń i
39 przypominajek. Udostępnia także łatwy sposób archiwizowania i
40 zarządzania starymi spotkaniami.
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
61 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/hy_AM
66 rm -rf $RPM_BUILD_ROOT
69 %update_icon_cache hicolor
70 %update_desktop_database
73 %update_icon_cache hicolor
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS NEWS README.md
78 %attr(755,root,root) %{_bindir}/orage
80 %{_desktopdir}/org.xfce.orage.desktop
81 %{_desktopdir}/org.xfce.orage-settings.desktop
82 %{_datadir}/dbus-1/services/org.xfce.orage.service
83 %{_datadir}/metainfo/org.xfce.orage.appdata.xml
84 %{_iconsdir}/hicolor/*/*/*.png
85 %{_iconsdir}/hicolor/scalable/*/*.svg