]>
Commit | Line | Data |
---|---|---|
53f401e9 ER |
1 | %define rel 0.1 |
2 | %define subver 408 | |
3 | Summary: GCal-syncing GTK+ Calendar application | |
7227e6f0 ER |
4 | Name: maya-calendar |
5 | Version: 0.2 | |
53f401e9 ER |
6 | Release: 0.%{subver}.%{rel} |
7 | License: GPL v3 | |
8 | Group: X11/Applications | |
7227e6f0 | 9 | Source0: maya.tar.bz2 |
53f401e9 ER |
10 | # Source0-md5: e4df43c43a68d6764298fa7a31476db4 |
11 | URL: https://launchpad.net/maya | |
7227e6f0 | 12 | BuildRequires: cmake >= 2.8 |
53f401e9 ER |
13 | BuildRequires: evolution-data-server-devel >= 3.2.0 |
14 | BuildRequires: gettext-devel | |
15 | BuildRequires: glib2-devel | |
16 | BuildRequires: granite-devel | |
17 | BuildRequires: gtk+3-devel | |
18 | BuildRequires: libgee0.6-devel | |
19 | BuildRequires: libical-devel | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: vala | |
22 | Requires: glib2 >= 1:2.26.0 | |
23 | Requires: gtk-update-icon-cache | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | Maya is a slim, lightweight, GCal-syncing GTK+ Calendar application | |
28 | written in Vala, specifically for the elementary project. | |
29 | ||
30 | %prep | |
7227e6f0 | 31 | %setup -q -n maya |
53f401e9 ER |
32 | |
33 | %build | |
34 | install -d build | |
35 | cd build | |
36 | %cmake .. | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | %{__make} install -C build \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %post | |
48 | %update_desktop_database | |
49 | %glib_compile_schemas | |
50 | ||
51 | %postun | |
52 | %update_desktop_database | |
53 | %glib_compile_schemas | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %attr(755,root,root) %{_bindir}/%{name} | |
58 | %{_desktopdir}/%{name}.desktop | |
59 | %{_datadir}/%{name} |