]>
Commit | Line | Data |
---|---|---|
1a7ebb2b | 1 | Summary: Window and compositing manager based on Clutter |
2 | Name: gnome-shell | |
3 | Version: 2.28.0 | |
4 | Release: 1 | |
5 | License: GPL v2+ | |
6 | Group: X11/Window Managers | |
7 | URL: http://git.gnome.org/cgit/gnome-shell | |
8 | Source0: http://download.gnome.org/sources/gnome-shell/2.28/%{name}-%{version}.tar.bz2 | |
86502514 | 9 | # Source0-md5: a9f93a6f03da60f2f6e3fb82a9e7dc94 |
d72173ca | 10 | BuildRequires: clutter-devel |
86502514 | 11 | BuildRequires: gjs-devel |
a6aa8343 | 12 | BuildRequires: gnome-desktop-devel |
13 | BuildRequires: gobject-introspection-devel | |
86502514 | 14 | BuildRequires: mutter-devel |
15 | # for libmozjs.so | |
16 | BuildRequires: xulrunner-libs | |
1a7ebb2b | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | A window manager based on metacity and clutter | |
21 | ||
22 | %package devel | |
23 | Summary: Development package for %{name} | |
24 | Group: Development/Libraries | |
25 | Requires: %{name} = %{version}-%{release} | |
26 | Requires: gtk-doc | |
27 | Requires: pkgconfig | |
28 | ||
29 | %description devel | |
30 | Files for development with %{name}. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
86502514 | 36 | export LD_LIBRARY_PATH=/usr/lib/xulrunner |
1a7ebb2b | 37 | %configure \ |
38 | --disable-schemas-install \ | |
39 | --disable-static | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | %find_lang %{name} --with-gnome --all-name | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %post | |
54 | %gconf_schema_install gnome-shell.schemas | |
55 | /sbin/ldconfig | |
56 | ||
57 | %preun | |
58 | %gconf_schema_uninstall gnome-shell.schemas | |
59 | ||
60 | %postun -p /sbin/ldconfig | |
61 | ||
62 | %files -f %{name}.lang | |
63 | %defattr(644,root,root,755) | |
86502514 | 64 | %attr(755,root,root) %{_bindir}/mutter |
65 | %{_sysconfdir}/gconf/schemas/%{name}.schemas | |
66 | %{_libdir}/%{name} | |
67 | %attr(755,root,root) %{_libdir}/mutter/plugins/*.so | |
68 | %attr(755,root,root) %{_libdir}/mutter/plugins/*.la | |
69 | %{_datadir}/%{name} |