]>
Commit | Line | Data |
---|---|---|
7e4e7a57 ER |
1 | %define rel 1 |
2 | %define subver 293 | |
3 | Summary: Pantheon's Window Manager | |
4 | Name: gala | |
2f2c4d90 | 5 | Version: 0.1.0 |
7e4e7a57 ER |
6 | Release: 0.%{subver}.%{rel} |
7 | License: GPL v3 | |
8 | Group: X11/Applications | |
9 | Source0: %{name}.tar.bz2 | |
10 | # Source0-md5: 09d6ff9d0425a62cfcb623276c1a0cdf | |
11 | URL: https://launchpad.net/gala | |
12 | BuildRequires: bamf3-devel | |
13 | BuildRequires: clutter-devel >= 1.9.16 | |
14 | BuildRequires: clutter-gtk-devel | |
2f2c4d90 | 15 | BuildRequires: cmake >= 2.8 |
7e4e7a57 ER |
16 | BuildRequires: gettext-devel |
17 | BuildRequires: granite-devel | |
18 | BuildRequires: libgee0.6-devel | |
19 | BuildRequires: mutter-devel >= 3.4 | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: plank-devel >= 0.2.0.748 | |
2f2c4d90 | 22 | BuildRequires: vala >= 0.16.1 |
7e4e7a57 ER |
23 | BuildRequires: xorg-lib-libXfixes-devel |
24 | Requires: glib2 >= 1:2.26.0 | |
25 | Requires: gtk-update-icon-cache | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | Gala is a window & compositing manager based on libmutter and designed | |
30 | by elementary for use with Pantheon Shell. | |
31 | ||
32 | %prep | |
33 | %setup -q -n %{name} | |
34 | ||
35 | %build | |
36 | install -d build | |
37 | cd build | |
38 | %cmake .. | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | %{__make} install -C build \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %post | |
50 | %update_desktop_database | |
51 | %glib_compile_schemas | |
52 | ||
53 | %postun | |
54 | %update_desktop_database | |
55 | %glib_compile_schemas | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %attr(755,root,root) %{_bindir}/%{name} | |
60 | %{_desktopdir}/%{name}.desktop | |
61 | %{_datadir}/%{name} | |
62 | %{_datadir}/glib-2.0/schemas/org.pantheon.desktop.gala.gschema.xml |