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