]> git.pld-linux.org Git - packages/gnome-shell.git/blob - gnome-shell.spec
- fix path to xulrunner
[packages/gnome-shell.git] / gnome-shell.spec
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
9 # Source0-md5:  a9f93a6f03da60f2f6e3fb82a9e7dc94
10 BuildRequires:  clutter-devel
11 BuildRequires:  gjs-devel
12 BuildRequires:  gnome-desktop-devel
13 BuildRequires:  gobject-introspection-devel
14 BuildRequires:  mutter-devel
15 # for libmozjs.so
16 BuildRequires:  xulrunner-libs
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
36 export LD_LIBRARY_PATH=%{_libdir}/xulrunner
37 %configure \
38         --disable-schemas-install \
39         --disable-silent-rules \
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)
65 %attr(755,root,root) %{_bindir}/gnome-shell
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}
71 %{_desktopdir}/*.desktop
This page took 0.036399 seconds and 4 git commands to generate.