Author: qboosh Date: Wed Jul 20 09:46:57 2011 GMT Module: packages Tag: HEAD ---- Log message: - initial - sh patch to fix build with sh not being bash
---- Files affected: packages/browser-plugin-spice: browser-plugin-spice.spec (NONE -> 1.1) (NEW), spice-xpi-sh.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/browser-plugin-spice/browser-plugin-spice.spec diff -u /dev/null packages/browser-plugin-spice/browser-plugin-spice.spec:1.1 --- /dev/null Wed Jul 20 11:46:57 2011 +++ packages/browser-plugin-spice/browser-plugin-spice.spec Wed Jul 20 11:46:52 2011 @@ -0,0 +1,83 @@ +# $Revision$, $Date$ +Summary: Spice-XPI plugin for Mozilla compatible browsers +Summary(pl.UTF-8): Wtyczka Spice-XPI dla przeglądarek WWW kompatybilnych z Mozillą +Name: browser-plugin-spice +Version: 2.5 +Release: 0.1 +License: MPL v1.1 or GPL v2.0 or LGPL v2.1 +Group: X11/Applications +Source0: http://spice-space.org/download/releases/spice-xpi-%{version}.tar.bz2 +# Source0-md5: 39b16babf4d1a12a345d92a8fcbf0998 +Patch0: spice-xpi-sh.patch +URL: http://spice-space.org/ +BuildRequires: autoconf >= 2.57 +BuildRequires: automake +BuildRequires: libstdc++-devel +BuildRequires: libtool +BuildRequires: log4cpp-devel +BuildRequires: nspr-devel >= 4.7.1 +BuildRequires: rpmbuild(macros) >= 1.357 +BuildRequires: xorg-lib-libX11-devel +BuildRequires: xulrunner-devel >= 1.9.1 +Requires: browser-plugins >= 2.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Spice-XPI plugin for Mozilla compatible browsers. + +%description -l pl.UTF-8 +Wtyczka Spice-XPI dla przeglądarek WWW kompatybilnych z Mozillą. + +%prep +%setup -q -n spice-xpi-%{version} +%patch0 -p1 + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --disable-static + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_browserpluginsdir} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + plugindir=%{_browserpluginsdir} + +install SpiceXPI/src/plugin/nsISpicec.xpt $RPM_BUILD_ROOT%{_browserpluginsdir} +%{__rm} $RPM_BUILD_ROOT%{_browserpluginsdir}/libnsISpicec.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%update_browser_plugins + +%postun +if [ "$1" = 0 ]; then + %update_browser_plugins +fi + +%files +%defattr(644,root,root,755) +%doc README +%attr(755,root,root) %{_browserpluginsdir}/libnsISpicec.so +%{_browserpluginsdir}/nsISpicec.xpt +%{_datadir}/spice + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/07/20 09:46:52 qboosh +- initial +- sh patch to fix build with sh not being bash ================================================================ Index: packages/browser-plugin-spice/spice-xpi-sh.patch diff -u /dev/null packages/browser-plugin-spice/spice-xpi-sh.patch:1.1 --- /dev/null Wed Jul 20 11:46:57 2011 +++ packages/browser-plugin-spice/spice-xpi-sh.patch Wed Jul 20 11:46:52 2011 @@ -0,0 +1,34 @@ +--- spice-xpi-2.5/configure.ac.orig 2011-06-07 10:36:54.000000000 +0200 ++++ spice-xpi-2.5/configure.ac 2011-07-20 11:04:03.150855074 +0200 +@@ -96,19 +96,19 @@ + ) + AC_SUBST(LIBRT) + +-SPICE_NONPKGCONFIG_LIBS+=" $LIBM $LIBRT" ++SPICE_NONPKGCONFIG_LIBS="$SPICE_NONPKGCONFIG_LIBS $LIBM $LIBRT" + + SPICE_REQUIRES="" + + PKG_CHECK_MODULES(LOG4CPP, log4cpp) + AC_SUBST(LOG4CPP_CFLAGS) + AC_SUBST(LOG4CPP_LIBS) +-SPICE_REQUIRES+=" log4cpp" ++SPICE_REQUIRES="$SPICE_REQUIRES log4cpp" + + PKG_CHECK_MODULES(X11, x11) + AC_SUBST(X11_CFLAGS) + AC_SUBST(X11_LIBS) +-SPICE_REQUIRES+=" x11" ++SPICE_REQUIRES="$SPICE_REQUIRES x11" + + # Add parameter for (partial) static linkage of spice client. + # this is used to achive single binary package for all (?) distros. +@@ -122,7 +122,7 @@ + PKG_CHECK_MODULES(XUL, libxul-embedding >= 1.9 nspr >= 4.7.1) + AC_SUBST(XUL_CFLAGS) + AC_SUBST(XUL_LIBS) +-SPICE_REQUIRES+=" libxul-embedding >= 1.9 nspr >= 4.7.1" ++SPICE_REQUIRES="$SPICE_REQUIRES libxul-embedding >= 1.9 nspr >= 4.7.1" + + # Find xpidl + for i in `pkg-config --variable=libdir libxul`/xpidl ; do ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
