]>
Commit | Line | Data |
---|---|---|
644e91d3 JB |
1 | Summary: California - GNOME 3 Calendar |
2 | Summary(pl.UTF-8): California - kalendarz dla GNOME 3 | |
3 | Name: california | |
18e488d2 | 4 | Version: 0.4.0 |
c2a04286 | 5 | Release: 7 |
644e91d3 JB |
6 | License: LGPL v2.1+ |
7 | Group: X11/Applications | |
18e488d2 PG |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/california/0.4/%{name}-%{version}.tar.xz |
9 | # Source0-md5: cd8fa9cc399ee918e55b051e3b9f3124 | |
01dbb27f | 10 | Patch0: evolution-data-server-3.14.patch |
00e8aeb1 | 11 | Patch1: vala.patch |
644e91d3 JB |
12 | URL: https://wiki.gnome.org/Apps/California |
13 | BuildRequires: evolution-data-server-devel >= 3.8.5 | |
4fc5b0ab | 14 | BuildRequires: gettext-tools |
644e91d3 JB |
15 | BuildRequires: glib2-devel >= 1:2.38.0 |
16 | BuildRequires: gnome-online-accounts-devel >= 3.8.3 | |
17 | BuildRequires: gobject-introspection-devel >= 1.38.0 | |
80e0fdb4 | 18 | BuildRequires: gtk+3-devel >= 3.12.2 |
644e91d3 JB |
19 | BuildRequires: intltool >= 0.35.0 |
20 | BuildRequires: libgdata-devel >= 0.14.0 | |
21 | BuildRequires: libgee-devel >= 0.10.5 | |
22 | BuildRequires: libsoup-devel >= 2.44 | |
23 | BuildRequires: pkgconfig | |
24 | BuildRequires: rpmbuild(macros) >= 1.592 | |
25 | BuildRequires: tar >= 1:1.22 | |
80e0fdb4 | 26 | BuildRequires: vala >= 2:0.24.0 |
ee723989 | 27 | BuildRequires: vala-evolution-data-server >= 3.8.5 |
151ff854 | 28 | BuildRequires: vala-libgee |
993d3433 JB |
29 | # because of broken test XDG_EMAIL passing doesn't suffice |
30 | BuildRequires: xdg-utils | |
644e91d3 | 31 | BuildRequires: xz |
4ba7eae1 | 32 | Requires(post,postun): glib2 >= 1:2.38.0 |
2f0c7f82 JB |
33 | # requires e-d-s (not just -libs) to start |
34 | Requires: evolution-data-server >= 3.8.5 | |
644e91d3 | 35 | Requires: glib2 >= 1:2.38.0 |
ee723989 | 36 | Requires: gnome-online-accounts-libs >= 3.8.3 |
80e0fdb4 | 37 | Requires: gtk+3 >= 3.12.2 |
644e91d3 | 38 | Requires: libsoup >= 2.44 |
b401e97b | 39 | Requires: xdg-utils |
644e91d3 JB |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
41 | ||
42 | %description | |
43 | California is a calendar built for GNOME 3. It allows you to view and | |
44 | manage your online calendars with a simple and modern interface. | |
45 | ||
46 | %description -l pl.UTF-8 | |
47 | California to kalendarz napisany dla GNOME 3. Pozwala na przeglądanie | |
48 | i zarządzanie kalendarzami online poprzez prosty i nowoczesny | |
49 | interfejs. | |
50 | ||
51 | %prep | |
52 | %setup -q | |
01dbb27f | 53 | %patch0 -p1 |
00e8aeb1 | 54 | %patch1 -p1 |
644e91d3 JB |
55 | |
56 | %build | |
ea929606 JB |
57 | %configure |
58 | # cannot pass because it's not equal "yes" (see xdg-utils BR note above) | |
59 | # XDG_EMAIL=/usr/bin/xdg-email | |
644e91d3 JB |
60 | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | # packaged as %doc | |
70 | %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/california | |
71 | ||
80e0fdb4 | 72 | %find_lang %{name} --with-gnome |
644e91d3 JB |
73 | |
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
4ba7eae1 JB |
77 | %post |
78 | %glib_compile_schemas | |
79 | ||
80 | %postun | |
81 | %glib_compile_schemas | |
82 | ||
644e91d3 JB |
83 | %files -f %{name}.lang |
84 | %defattr(644,root,root,755) | |
85 | %doc AUTHORS NEWS README THANKS | |
86 | %attr(755,root,root) %{_bindir}/california | |
87 | %{_datadir}/appdata/california.appdata.xml | |
80e0fdb4 | 88 | %{_datadir}/california |
4ba7eae1 | 89 | %{_datadir}/glib-2.0/schemas/org.yorba.california.gschema.xml |
644e91d3 | 90 | %{_desktopdir}/california.desktop |