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