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