]> git.pld-linux.org Git - SPECS.git/blob - orage.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / orage.spec
1 %define         xfce_version    4.16.0
2 Summary:        Calendar for Xfce
3 Summary(pl.UTF-8):      Kalendarz dla Xfce
4 Name:           orage
5 Version:        4.18.0
6 Release:        1
7 License:        GPL v2+
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
27 Obsoletes:      xfcalendar
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
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
34 appointments.
35
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.
41
42 %prep
43 %setup -q
44 #%patch0 -p1
45
46 %build
47 %configure \
48         --disable-static
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 # duplicate of ur
59 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
60 # unsupported
61 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/hy_AM
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 %update_icon_cache hicolor
70 %update_desktop_database
71
72 %postun
73 %update_icon_cache hicolor
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS NEWS README.md
78 %attr(755,root,root) %{_bindir}/orage
79 %{_datadir}/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
This page took 0.737495 seconds and 3 git commands to generate.