]>
Commit | Line | Data |
---|---|---|
4b3877c3 | 1 | # TODO: use gtk4-update-icon-cache |
6a3117cf JB |
2 | Summary: Calendar application for GNOME |
3 | Summary(pl.UTF-8): Aplikacja kalendarza dla GNOME | |
4 | Name: gnome-calendar | |
453521a5 | 5 | Version: 42.2 |
033fcab5 | 6 | Release: 1 |
305d083a | 7 | License: GPL v3+ |
6a3117cf | 8 | Group: X11/Applications |
4b3877c3 | 9 | Source0: https://download.gnome.org/sources/gnome-calendar/42/%{name}-%{version}.tar.xz |
453521a5 | 10 | # Source0-md5: 9127b19c810bb0a4ae44cf5c86ec3e65 |
4b3877c3 | 11 | Patch0: %{name}-no-update.patch |
6a3117cf | 12 | URL: https://wiki.gnome.org/Apps/Calendar |
305d083a | 13 | BuildRequires: evolution-data-server-devel >= 3.33.2 |
7b13d562 MB |
14 | BuildRequires: geoclue2-devel >= 2.4 |
15 | BuildRequires: geocode-glib-devel >= 3.24.0 | |
6a3117cf | 16 | BuildRequires: gettext-tools |
0c8405a8 | 17 | BuildRequires: glib2-devel >= 1:2.67.5 |
b458685a | 18 | BuildRequires: gsettings-desktop-schemas-devel >= 3.22.0 |
4b3877c3 JB |
19 | BuildRequires: gtk4-devel >= 4.6.0 |
20 | BuildRequires: libadwaita-devel >= 1.0.0 | |
21 | BuildRequires: libgweather4-devel >= 4.0 | |
6a3117cf | 22 | BuildRequires: libical-devel >= 1.0.1 |
2f705ee0 | 23 | BuildRequires: libsoup-devel >= 2.4 |
0c8405a8 | 24 | BuildRequires: meson >= 0.53.0 |
305d083a | 25 | BuildRequires: ninja >= 1.5 |
6a3117cf | 26 | BuildRequires: pkgconfig >= 1:0.22 |
305d083a | 27 | BuildRequires: rpmbuild(macros) >= 1.736 |
b1d04ebf JB |
28 | BuildRequires: tar >= 1:1.22 |
29 | BuildRequires: xz | |
6a3117cf | 30 | Requires(post,postun): gtk-update-icon-cache |
0c8405a8 | 31 | Requires(post,postun): glib2 >= 1:2.67.5 |
305d083a JB |
32 | Requires: evolution-data-server >= 3.33.2 |
33 | Requires: geoclue2 >= 2.4 | |
34 | Requires: geocode-glib >= 3.24.0 | |
0c8405a8 | 35 | Requires: glib2 >= 1:2.67.5 |
b458685a | 36 | Requires: gsettings-desktop-schemas >= 3.22.0 |
4b3877c3 | 37 | Requires: gtk4 >= 4.6.0 |
6a3117cf | 38 | Requires: hicolor-icon-theme |
4b3877c3 JB |
39 | Requires: libadwaita >= 1.0.0 |
40 | Requires: libgweather4 >= 4.0 | |
6a3117cf JB |
41 | Requires: libical >= 1.0.1 |
42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
43 | ||
44 | %description | |
45 | GNOME Calendar is a simple and beautiful calendar application designed | |
46 | to perfectly fit the GNOME desktop. By reusing the components which | |
47 | the GNOME desktop is build on, Calendar nicely integrates with the | |
48 | GNOME ecosystem. | |
49 | ||
50 | %description -l pl.UTF-8 | |
51 | GNOME Calendar to prosta i ładna aplikacja kalendarza zaprojektowana | |
52 | tak, aby idealnie pasowała do środowiska GNOME. Poprzez używanie tych | |
53 | samych komponentów, z których zbudowane jest środowisko, Calendar | |
54 | ładnie integruje się z ekosystemem GNOME. | |
55 | ||
56 | %prep | |
57 | %setup -q | |
4b3877c3 | 58 | %patch0 -p1 |
6a3117cf JB |
59 | |
60 | %build | |
8d464833 | 61 | %meson build |
305d083a | 62 | |
27ef4564 | 63 | %ninja_build -C build |
6a3117cf JB |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
27ef4564 | 68 | %ninja_install -C build |
6a3117cf JB |
69 | |
70 | %find_lang %{name} | |
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %post | |
76 | %glib_compile_schemas | |
77 | %update_icon_cache hicolor | |
78 | ||
79 | %postun | |
80 | %glib_compile_schemas | |
81 | %update_icon_cache hicolor | |
82 | ||
83 | %files -f %{name}.lang | |
84 | %defattr(644,root,root,755) | |
305d083a | 85 | %doc NEWS README.md THANKS.md TODO.md |
6a3117cf | 86 | %attr(755,root,root) %{_bindir}/gnome-calendar |
6a3117cf JB |
87 | %{_datadir}/dbus-1/services/org.gnome.Calendar.service |
88 | %{_datadir}/glib-2.0/schemas/org.gnome.calendar.enums.xml | |
89 | %{_datadir}/glib-2.0/schemas/org.gnome.calendar.gschema.xml | |
90 | %{_datadir}/gnome-shell/search-providers/org.gnome.Calendar.search-provider.ini | |
305d083a | 91 | %{_datadir}/metainfo/org.gnome.Calendar.appdata.xml |
6a3117cf | 92 | %{_desktopdir}/org.gnome.Calendar.desktop |
033fcab5 | 93 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Calendar.svg |
b28b7234 | 94 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Calendar.Devel.svg |
a4bc5536 | 95 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Calendar-symbolic.svg |
b28b7234 | 96 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Calendar.Devel-symbolic.svg |