]>
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 | |
184c4ba1 | 36 | export LD_LIBRARY_PATH=%{_libdir}/xulrunner |
1a7ebb2b | 37 | %configure \ |
38 | --disable-schemas-install \ | |
184c4ba1 | 39 | --disable-silent-rules \ |
1a7ebb2b | 40 | --disable-static |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %find_lang %{name} --with-gnome --all-name | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %post | |
55 | %gconf_schema_install gnome-shell.schemas | |
56 | /sbin/ldconfig | |
57 | ||
58 | %preun | |
59 | %gconf_schema_uninstall gnome-shell.schemas | |
60 | ||
61 | %postun -p /sbin/ldconfig | |
62 | ||
63 | %files -f %{name}.lang | |
64 | %defattr(644,root,root,755) | |
9f710482 | 65 | %attr(755,root,root) %{_bindir}/gnome-shell |
86502514 | 66 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
67 | %{_libdir}/%{name} | |
68 | %attr(755,root,root) %{_libdir}/mutter/plugins/*.so | |
69 | %attr(755,root,root) %{_libdir}/mutter/plugins/*.la | |
70 | %{_datadir}/%{name} | |
1215f192 | 71 | %{_desktopdir}/*.desktop |