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