]>
Commit | Line | Data |
---|---|---|
6a3117cf JB |
1 | Summary: Calendar application for GNOME |
2 | Summary(pl.UTF-8): Aplikacja kalendarza dla GNOME | |
3 | Name: gnome-calendar | |
a4bc5536 | 4 | Version: 3.20.0 |
a4ddcffc | 5 | Release: 2 |
6a3117cf JB |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
a4bc5536 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-calendar/3.20/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 6cb158ef73139969dbb8ebef4b07b51d | |
6a3117cf JB |
10 | URL: https://wiki.gnome.org/Apps/Calendar |
11 | BuildRequires: appstream-glib-devel | |
12 | BuildRequires: autoconf >= 2.69 | |
13 | BuildRequires: automake >= 1:1.11.1 | |
f6b1bb2c | 14 | BuildRequires: evolution-data-server-devel >= 3.18.0 |
6a3117cf JB |
15 | BuildRequires: gettext-tools |
16 | BuildRequires: glib2-devel >= 1:2.44.0 | |
17 | BuildRequires: gnome-common | |
f6b1bb2c | 18 | BuildRequires: gnome-online-accounts-devel >= 3.2.0 |
a4ddcffc | 19 | BuildRequires: gtk+3-devel >= 3.20.0 |
6a3117cf JB |
20 | BuildRequires: intltool >= 0.40.6 |
21 | BuildRequires: libical-devel >= 1.0.1 | |
22 | BuildRequires: libtool >= 2:2.2.6 | |
23 | BuildRequires: pkgconfig >= 1:0.22 | |
b1d04ebf JB |
24 | BuildRequires: tar >= 1:1.22 |
25 | BuildRequires: xz | |
6a3117cf JB |
26 | Requires(post,postun): gtk-update-icon-cache |
27 | Requires(post,postun): glib2 >= 1:2.44.0 | |
f6b1bb2c | 28 | Requires: evolution-data-server >= 3.18.0 |
6a3117cf | 29 | Requires: glib2 >= 1:2.44.0 |
a4ddcffc | 30 | Requires: gtk+3 >= 3.20.0 |
6a3117cf JB |
31 | Requires: hicolor-icon-theme |
32 | Requires: libical >= 1.0.1 | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | GNOME Calendar is a simple and beautiful calendar application designed | |
37 | to perfectly fit the GNOME desktop. By reusing the components which | |
38 | the GNOME desktop is build on, Calendar nicely integrates with the | |
39 | GNOME ecosystem. | |
40 | ||
41 | %description -l pl.UTF-8 | |
42 | GNOME Calendar to prosta i ładna aplikacja kalendarza zaprojektowana | |
43 | tak, aby idealnie pasowała do środowiska GNOME. Poprzez używanie tych | |
44 | samych komponentów, z których zbudowane jest środowisko, Calendar | |
45 | ładnie integruje się z ekosystemem GNOME. | |
46 | ||
47 | %prep | |
48 | %setup -q | |
49 | ||
50 | %build | |
51 | %{__intltoolize} | |
52 | %{__libtoolize} | |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__autoheader} | |
56 | %{__automake} | |
57 | %configure \ | |
58 | --disable-silent-rules | |
59 | ||
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
68 | %find_lang %{name} | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post | |
74 | %glib_compile_schemas | |
75 | %update_icon_cache hicolor | |
76 | ||
77 | %postun | |
78 | %glib_compile_schemas | |
79 | %update_icon_cache hicolor | |
80 | ||
81 | %files -f %{name}.lang | |
82 | %defattr(644,root,root,755) | |
83 | %doc AUTHORS ChangeLog NEWS README THANKS TODO | |
84 | %attr(755,root,root) %{_bindir}/gnome-calendar | |
85 | %{_datadir}/appdata/org.gnome.Calendar.appdata.xml | |
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 | %{_desktopdir}/org.gnome.Calendar.desktop | |
a4bc5536 MB |
91 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.Calendar.png |
92 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Calendar-symbolic.svg |