]>
Commit | Line | Data |
---|---|---|
b306eae4 | 1 | %define xfce_version 4.10.0 |
c7d8a4e6 | 2 | Summary: Calendar for Xfce |
a8541bc8 | 3 | Summary(pl.UTF-8): Kalendarz dla Xfce |
c7d8a4e6 | 4 | Name: orage |
b8dc3f88 | 5 | Version: 4.12.1 |
1cbd9065 | 6 | Release: 2 |
3f14a102 | 7 | License: GPL v2+ |
c7d8a4e6 | 8 | Group: X11/Applications |
b8dc3f88 JR |
9 | Source0: http://archive.xfce.org/src/apps/orage/4.12/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: 2b7f5d38cb5c6edbcc65d0f52a742e46 | |
980a3d42 | 11 | URL: http://www.xfce.org/projects/orage |
cc898d19 | 12 | BuildRequires: dbus-glib-devel |
b5542ffc | 13 | BuildRequires: gettext-tools |
fde115e1 | 14 | BuildRequires: glib2-devel >= 1:2.12.4 |
980a3d42 MB |
15 | BuildRequires: libical-devel >= 0.43 |
16 | BuildRequires: libnotify-devel >= 0.3.2 | |
17 | BuildRequires: libxfce4ui-devel >= %{xfce_version} | |
c7d8a4e6 | 18 | BuildRequires: pkgconfig |
980a3d42 MB |
19 | BuildRequires: popt-devel |
20 | BuildRequires: rpmbuild(macros) >= 1.601 | |
b8dc3f88 | 21 | BuildRequires: xfce4-dev-tools >= 4.14.0 |
980a3d42 | 22 | BuildRequires: xfce4-panel-devel >= %{xfce_version} |
e110de21 | 23 | Requires: desktop-file-utils |
980a3d42 | 24 | Requires: gtk-update-icon-cache |
3f14a102 | 25 | Requires: hicolor-icon-theme >= 0.12-4 |
c7d8a4e6 KK |
26 | Obsoletes: xfcalendar |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | Orage is a time-managing application that is part of the Xfce Desktop | |
31 | Environment and features a calendar window, lists of events and | |
32 | reminders. It also provides an easy way to archive and manage your old | |
33 | appointments. | |
34 | ||
c22495b7 JR |
35 | %description -l pl.UTF-8 |
36 | Orage to aplikacja do zarządzania czasem będąca częścią środowiska | |
37 | graficznego Xfce. Zawiera okno kalendarza, listę wydarzeń i | |
38 | przypominajek. Udostępnia także łatwy sposób archiwizowania i | |
39 | zarządzania starymi spotkaniami. | |
a98d0e03 | 40 | |
c7d8a4e6 KK |
41 | %prep |
42 | %setup -q | |
c7d8a4e6 KK |
43 | |
44 | %build | |
c7d8a4e6 KK |
45 | %configure \ |
46 | --disable-static | |
e74b4492 | 47 | |
c7d8a4e6 KK |
48 | %{__make} |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
ad387fc0 | 56 | # duplicate of ur |
980a3d42 MB |
57 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
58 | ||
c7d8a4e6 KK |
59 | %find_lang %{name} |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
e74b4492 MB |
64 | %post |
65 | %update_icon_cache hicolor | |
2333b1e4 | 66 | %update_desktop_database |
e74b4492 MB |
67 | |
68 | %postun | |
69 | %update_icon_cache hicolor | |
70 | ||
c7d8a4e6 KK |
71 | %files -f %{name}.lang |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS ChangeLog NEWS README | |
cc898d19 MB |
74 | %attr(755,root,root) %{_bindir}/globaltime |
75 | %attr(755,root,root) %{_bindir}/orage | |
980a3d42 | 76 | %attr(755,root,root) %{_bindir}/tz_convert |
b8dc3f88 | 77 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/liborageclock.so |
c7d8a4e6 | 78 | %{_datadir}/orage |
980a3d42 | 79 | %{_desktopdir}/globaltime.desktop |
cc898d19 MB |
80 | %{_desktopdir}/xfcalendar.desktop |
81 | %{_desktopdir}/xfce-xfcalendar-settings.desktop | |
82 | %{_datadir}/dbus-1/services/org.xfce.calendar.service | |
83 | %{_datadir}/dbus-1/services/org.xfce.orage.service | |
b8dc3f88 | 84 | %{_datadir}/xfce4/panel/plugins/xfce4-orageclock-plugin.desktop |
cc898d19 MB |
85 | %{_mandir}/man1/globaltime.1* |
86 | %{_mandir}/man1/orage.1* | |
980a3d42 | 87 | %{_mandir}/man1/tz_convert.1* |
a3382866 | 88 | %{_iconsdir}/hicolor/*/*/*.png |
3f14a102 | 89 | %{_iconsdir}/hicolor/*/*/*.xpm |
a3382866 | 90 | %{_iconsdir}/hicolor/scalable/*/*.svg |