e02f45c576c18849cb18a2f60dbc1bea7dd89be1
[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.20.0
5 Release:        2
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-calendar/3.20/%{name}-%{version}.tar.xz
9 # Source0-md5:  6cb158ef73139969dbb8ebef4b07b51d
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
14 BuildRequires:  evolution-data-server-devel >= 3.18.0
15 BuildRequires:  gettext-tools
16 BuildRequires:  glib2-devel >= 1:2.44.0
17 BuildRequires:  gnome-common
18 BuildRequires:  gnome-online-accounts-devel >= 3.2.0
19 BuildRequires:  gtk+3-devel >= 3.20.0
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
24 BuildRequires:  tar >= 1:1.22
25 BuildRequires:  xz
26 Requires(post,postun):  gtk-update-icon-cache
27 Requires(post,postun):  glib2 >= 1:2.44.0
28 Requires:       evolution-data-server >= 3.18.0
29 Requires:       glib2 >= 1:2.44.0
30 Requires:       gtk+3 >= 3.20.0
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
91 %{_iconsdir}/hicolor/*x*/apps/org.gnome.Calendar.png
92 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Calendar-symbolic.svg
This page took 0.088764 seconds and 2 git commands to generate.