]>
Commit | Line | Data |
---|---|---|
1a7ebb2b | 1 | Summary: Window and compositing manager based on Clutter |
2 | Name: gnome-shell | |
3 | Version: 2.28.0 | |
76380569 | 4 | Release: 2 |
1a7ebb2b | 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 |
76380569 | 11 | BuildRequires: gettext-devel |
86502514 | 12 | BuildRequires: gjs-devel |
a6aa8343 | 13 | BuildRequires: gnome-desktop-devel |
14 | BuildRequires: gobject-introspection-devel | |
76380569 | 15 | BuildRequires: intltool >= 0.26 |
86502514 | 16 | BuildRequires: mutter-devel |
76380569 AF |
17 | BuildRequires: pango-devel >= 1.26.0 |
18 | BuildRequires: pkgconfig >= 0.16 | |
86502514 | 19 | # for libmozjs.so |
20 | BuildRequires: xulrunner-libs | |
1a7ebb2b | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | A window manager based on metacity and clutter | |
25 | ||
26 | %package devel | |
27 | Summary: Development package for %{name} | |
28 | Group: Development/Libraries | |
29 | Requires: %{name} = %{version}-%{release} | |
30 | Requires: gtk-doc | |
31 | Requires: pkgconfig | |
32 | ||
33 | %description devel | |
34 | Files for development with %{name}. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
184c4ba1 | 40 | export LD_LIBRARY_PATH=%{_libdir}/xulrunner |
1a7ebb2b | 41 | %configure \ |
42 | --disable-schemas-install \ | |
184c4ba1 | 43 | --disable-silent-rules \ |
1a7ebb2b | 44 | --disable-static |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
53 | %find_lang %{name} --with-gnome --all-name | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %post | |
59 | %gconf_schema_install gnome-shell.schemas | |
60 | /sbin/ldconfig | |
61 | ||
62 | %preun | |
63 | %gconf_schema_uninstall gnome-shell.schemas | |
64 | ||
65 | %postun -p /sbin/ldconfig | |
66 | ||
67 | %files -f %{name}.lang | |
68 | %defattr(644,root,root,755) | |
9f710482 | 69 | %attr(755,root,root) %{_bindir}/gnome-shell |
86502514 | 70 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
71 | %{_libdir}/%{name} | |
72 | %attr(755,root,root) %{_libdir}/mutter/plugins/*.so | |
73 | %attr(755,root,root) %{_libdir}/mutter/plugins/*.la | |
74 | %{_datadir}/%{name} | |
1215f192 | 75 | %{_desktopdir}/*.desktop |