]> git.pld-linux.org Git - packages/gnome-shell.git/blobdiff - gnome-shell.spec
- get rid of xulrunner dependency, BR gjs-devel >= 1.30.1, link against SpiderMonkey
[packages/gnome-shell.git] / gnome-shell.spec
index 58fbe12db14cc01d4f52050b78789ee2f25419ec..1ebb7f052264e8776b5648f202740fbfddbca50c 100644 (file)
@@ -1,11 +1,13 @@
 Summary:       Window manager and application launcher for GNOME
 Name:          gnome-shell
 Version:       3.2.1
-Release:       2
+Release:       7
 License:       GPL v2+
 Group:         X11/Window Managers
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.2/%{name}-%{version}.tar.xz
 # Source0-md5: 9519921d31d8c43d054dbc11e1f0733b
+Patch0:                browser-plugin-webkit.patch
+Patch1:                extension-delete.patch
 URL:           http://live.gnome.org/GnomeShell
 BuildRequires: GConf2-devel
 BuildRequires: NetworkManager-devel >= 0.8.999
@@ -16,7 +18,7 @@ BuildRequires:        dbus-glib-devel
 BuildRequires: evolution-data-server-devel >= 3.1.90
 BuildRequires: folks-devel >= 0.6.1
 BuildRequires: gettext-devel >= 0.17
-BuildRequires: gjs-devel >= 1.29.18
+BuildRequires: gjs-devel >= 1.30.1
 BuildRequires: glib2-devel >= 1:2.29.10
 BuildRequires: gnome-bluetooth-devel >= 3.1.0
 BuildRequires: gnome-desktop-devel >= 3.1.90
@@ -45,8 +47,6 @@ BuildRequires:        tar >= 1:1.22
 BuildRequires: telepathy-glib-devel >= 0.15.5
 BuildRequires: telepathy-logger-devel >= 0.2.4
 BuildRequires: xorg-lib-libXfixes-devel
-# for libmozjs.so
-BuildRequires: xulrunner-libs
 BuildRequires: xz
 Requires(post,postun): glib2 >= 1:2.26.0
 Requires(post,preun):  GConf2
@@ -57,8 +57,9 @@ Requires:     gnome-menus >= 3.1.90
 Requires:      gnome-settings-daemon >= 3.1.90
 Requires:      gsettings-desktop-schemas >= 3.1.90
 Requires:      mutter >= 3.2.1
+Requires:      nautilus >= 3.2.0
 Requires:      telepathy-logger >= 0.2.4
-%requires_eq   xulrunner-libs
+Suggests:      gnome-contacts >= 3.2.0
 Suggests:      gnome-icon-theme-symbolic >= 3.0.0
 Provides:      gdm-wm = 3.2.1-1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -91,6 +92,8 @@ Wtyczka gnome-shell do przeglÄ…darek WWW.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %{__intltoolize}
@@ -99,7 +102,6 @@ Wtyczka gnome-shell do przeglÄ…darek WWW.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-export LD_LIBRARY_PATH=%{_libdir}/xulrunner
 %configure \
        --with-ca-certificates=/etc/certs/ca-certificates.crt \
        --disable-schemas-install \
@@ -112,19 +114,11 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions
 
 %{__make} install \
+       INSTALL="install -p" \
+       install_sh="install -p" \
        DESTDIR=$RPM_BUILD_ROOT \
        mozillalibdir=%{_browserpluginsdir}
 
-# TODO use rpath at link time instead of this hack
-mv $RPM_BUILD_ROOT%{_bindir}/gnome-shell{,.bin}
-cat > $RPM_BUILD_ROOT%{_bindir}/gnome-shell <<'EOF'
-#!/bin/sh
-LD_LIBRARY_PATH=%{_libdir}/xulrunner
-export LD_LIBRARY_PATH
-exec %{_bindir}/gnome-shell.bin "$@"
-EOF
-chmod a+rx $RPM_BUILD_ROOT%{_bindir}/gnome-shell
-
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell.la \
        $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
 
@@ -156,7 +150,6 @@ fi
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/gnome-shell
-%attr(755,root,root) %{_bindir}/gnome-shell.bin
 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
This page took 0.93275 seconds and 4 git commands to generate.