]> git.pld-linux.org Git - packages/gnome-shell.git/commitdiff
- up to 3.1.91.1
authorArtur Frysiak <artur@frysiak.net>
Thu, 15 Sep 2011 09:36:06 +0000 (09:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added browser-plugin-gnome-shell subpackage

Changed files:
    gnome-shell.spec -> 1.21.2.8

gnome-shell.spec

index 8a6ff8fcd87dda5a34e2637a5962e4332c65c598..7b97b35d0fb945cf0b4dd42b5a146481ed0b7395 100644 (file)
@@ -1,11 +1,11 @@
 Summary:       Window manager and application launcher for GNOME
 Name:          gnome-shell
-Version:       3.1.91
+Version:       3.1.91.1
 Release:       1
 License:       GPL v2+
 Group:         X11/Window Managers
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.1/%{name}-%{version}.tar.xz
-# Source0-md5: 0bd0fdf1e45bf467f650d55e97a15fdb
+# Source0-md5: 938e2899de498a66e121829e784a8999
 URL:           http://live.gnome.org/GnomeShell
 BuildRequires: GConf2-devel
 BuildRequires: NetworkManager-devel >= 0.8.999
@@ -27,6 +27,7 @@ BuildRequires:        gstreamer-devel >= 0.10.21
 BuildRequires: gstreamer-plugins-base-devel >= 0.10.21
 BuildRequires: gtk+3-devel >= 3.0.0
 BuildRequires: intltool >= 0.26
+BuildRequires: json-glib-devel >= 0.13.90
 BuildRequires: libcanberra-devel
 BuildRequires: libcroco-devel
 BuildRequires: libtool >= 2:2.2.6
@@ -64,6 +65,24 @@ capabilities of modern graphics hardware and introduces innovative
 user interface concepts to provide a delightful and easy to use
 experience.
 
+%package -n browser-plugin-%{name}
+Summary:       gnome-shell plugin for WWW browsers
+Summary(pl.UTF-8):     Wtyczka gnome-shell do przeglÄ…darek WWW
+Group:         X11/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      browser-plugins >= 2.0
+Requires:      browser-plugins(%{_target_base_arch})
+Provides:      mozilla-firefox-plugin-gnome-shell = %{version}-%{release}
+Provides:      mozilla-plugin-gnome-shell = %{version}-%{release}
+Obsoletes:     mozilla-firefox-plugin-gnome-shell < %{version}-%{release}
+Obsoletes:     mozilla-plugin-gnome-shell < %{version}-%{release}
+
+%description -n browser-plugin-%{name}
+gnome-shell plugin for WWW browsers.
+
+%description -n browser-plugin-%{name} -l pl.UTF-8
+Wtyczka gnome-shell do przeglÄ…darek WWW.
+
 %prep
 %setup -q
 
@@ -76,6 +95,7 @@ experience.
 %{__automake}
 export LD_LIBRARY_PATH=%{_libdir}/xulrunner
 %configure \
+       --with-ca-certificates=/etc/certs/ca-certificates.crt \
        --disable-schemas-install \
        --disable-silent-rules \
        --disable-static
@@ -85,7 +105,8 @@ export LD_LIBRARY_PATH=%{_libdir}/xulrunner
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       mozillalibdir=%{_browserpluginsdir}
 
 mv $RPM_BUILD_ROOT%{_bindir}/gnome-shell{,.bin}
 cat > $RPM_BUILD_ROOT%{_bindir}/gnome-shell <<'EOF'
@@ -96,7 +117,8 @@ 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
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell.la \
+       $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
 
 %find_lang %{name}
 
@@ -115,6 +137,14 @@ if [ "$1" = "0" ]; then
        %glib_compile_schemas
 fi
 
+%post -n browser-plugin-%{name}
+%update_browser_plugins
+
+%postun -n browser-plugin-%{name}
+if [ "$1" = 0 ]; then
+       %update_browser_plugins
+fi
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/gnome-shell
@@ -135,3 +165,7 @@ fi
 %{_datadir}/gnome-shell
 %{_desktopdir}/gnome-shell.desktop
 %{_mandir}/man1/gnome-shell.1*
+
+%files -n browser-plugin-%{name}
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so
This page took 0.398121 seconds and 4 git commands to generate.