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