9b147dd23dced533e9172b5cee86176d00c49d8c
[packages/gnome-calendar.git] / gnome-calendar.spec
1 Summary:        Calendar application for GNOME
2 Summary(pl.UTF-8):      Aplikacja kalendarza dla GNOME
3 Name:           gnome-calendar
4 Version:        3.34.2
5 Release:        1
6 License:        GPL v3+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-calendar/3.34/%{name}-%{version}.tar.xz
9 # Source0-md5:  2ca2105402c3be9e791c27a56ad1f5ff
10 URL:            https://wiki.gnome.org/Apps/Calendar
11 BuildRequires:  evolution-data-server-devel >= 3.33.2
12 BuildRequires:  geoclue2-devel >= 2.4
13 BuildRequires:  geocode-glib-devel >= 3.24.0
14 BuildRequires:  gettext-tools
15 BuildRequires:  glib2-devel >= 1:2.58.0
16 BuildRequires:  gnome-online-accounts-devel >= 3.2.0
17 BuildRequires:  gsettings-desktop-schemas-devel >= 3.22.0
18 BuildRequires:  gtk+3-devel >= 3.22.20
19 BuildRequires:  libdazzle-devel >= 3.33.1
20 BuildRequires:  libgweather-devel >= 3.28.0
21 BuildRequires:  libical-devel >= 1.0.1
22 BuildRequires:  libsoup-devel >= 2.4
23 BuildRequires:  meson >= 0.50.0
24 BuildRequires:  ninja >= 1.5
25 BuildRequires:  pkgconfig >= 1:0.22
26 BuildRequires:  rpmbuild(macros) >= 1.736
27 BuildRequires:  tar >= 1:1.22
28 BuildRequires:  xz
29 Requires(post,postun):  gtk-update-icon-cache
30 Requires(post,postun):  glib2 >= 1:2.58.0
31 Requires:       evolution-data-server >= 3.33.2
32 Requires:       geoclue2 >= 2.4
33 Requires:       geocode-glib >= 3.24.0
34 Requires:       glib2 >= 1:2.58.0
35 Requires:       gnome-online-accounts >= 3.2.0
36 Requires:       gsettings-desktop-schemas >= 3.22.0
37 Requires:       gtk+3 >= 3.22.20
38 Requires:       hicolor-icon-theme
39 Requires:       libdazzle >= 3.33.1
40 Requires:       libgweather >= 3.28.0
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
58
59 %build
60 %meson build
61
62 %ninja_build -C build
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %ninja_install -C build
68
69 %find_lang %{name}
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post
75 %glib_compile_schemas
76 %update_icon_cache hicolor
77
78 %postun
79 %glib_compile_schemas
80 %update_icon_cache hicolor
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc NEWS README.md THANKS.md TODO.md
85 %attr(755,root,root) %{_bindir}/gnome-calendar
86 %{_datadir}/dbus-1/services/org.gnome.Calendar.service
87 %{_datadir}/glib-2.0/schemas/org.gnome.calendar.enums.xml
88 %{_datadir}/glib-2.0/schemas/org.gnome.calendar.gschema.xml
89 %{_datadir}/gnome-shell/search-providers/org.gnome.Calendar.search-provider.ini
90 %{_datadir}/metainfo/org.gnome.Calendar.appdata.xml
91 %{_desktopdir}/org.gnome.Calendar.desktop
92 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Calendar.svg
93 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Calendar-symbolic.svg
This page took 0.071876 seconds and 2 git commands to generate.