]> git.pld-linux.org Git - packages/maya-calendar.git/blob - maya.spec
new, version 0.2, bzr 408
[packages/maya-calendar.git] / maya.spec
1 %define         rel             0.1
2 %define         subver  408
3 Summary:        GCal-syncing GTK+ Calendar application
4 Name:           maya
5 Version:        0.1.0
6 Release:        0.%{subver}.%{rel}
7 License:        GPL v3
8 Group:          X11/Applications
9 Source0:        %{name}.tar.bz2
10 # Source0-md5:  e4df43c43a68d6764298fa7a31476db4
11 URL:            https://launchpad.net/maya
12 BuildRequires:  cmake
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
31 %setup -q -n %{name}
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}
This page took 0.057315 seconds and 3 git commands to generate.