packages (DEVEL): gnome-shell/gnome-shell.spec - up to 3.1.91.1 - added bro...
wiget
wiget at pld-linux.org
Thu Sep 15 11:36:11 CEST 2011
Author: wiget Date: Thu Sep 15 09:36:11 2011 GMT
Module: packages Tag: DEVEL
---- Log message:
- up to 3.1.91.1
- added browser-plugin-gnome-shell subpackage
---- Files affected:
packages/gnome-shell:
gnome-shell.spec (1.21.2.7 -> 1.21.2.8)
---- Diffs:
================================================================
Index: packages/gnome-shell/gnome-shell.spec
diff -u packages/gnome-shell/gnome-shell.spec:1.21.2.7 packages/gnome-shell/gnome-shell.spec:1.21.2.8
--- packages/gnome-shell/gnome-shell.spec:1.21.2.7 Wed Sep 7 16:07:26 2011
+++ packages/gnome-shell/gnome-shell.spec Thu Sep 15 11:36:06 2011
@@ -1,12 +1,12 @@
# $Revision$, $Date$
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
@@ -28,6 +28,7 @@
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
@@ -65,6 +66,24 @@
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
@@ -77,6 +96,7 @@
%{__automake}
export LD_LIBRARY_PATH=%{_libdir}/xulrunner
%configure \
+ --with-ca-certificates=/etc/certs/ca-certificates.crt \
--disable-schemas-install \
--disable-silent-rules \
--disable-static
@@ -86,7 +106,8 @@
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'
@@ -97,7 +118,8 @@
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}
@@ -116,6 +138,14 @@
%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
@@ -137,12 +167,20 @@
%{_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
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21.2.8 2011/09/15 09:36:06 wiget
+- up to 3.1.91.1
+- added browser-plugin-gnome-shell subpackage
+
Revision 1.21.2.7 2011/09/07 14:07:26 wiget
- up to 3.1.91
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnome-shell/gnome-shell.spec?r1=1.21.2.7&r2=1.21.2.8&f=u
More information about the pld-cvs-commit
mailing list