SPECS (AC-branch): liferea.spec - updated to 1.2.7, use xulrunner

hawk hawk at pld-linux.org
Thu Mar 1 14:59:15 CET 2007


Author: hawk                         Date: Thu Mar  1 13:59:15 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- updated to 1.2.7, use xulrunner

---- Files affected:
SPECS:
   liferea.spec (1.116 -> 1.116.2.1) 

---- Diffs:

================================================================
Index: SPECS/liferea.spec
diff -u SPECS/liferea.spec:1.116 SPECS/liferea.spec:1.116.2.1
--- SPECS/liferea.spec:1.116	Tue Jan 23 16:18:28 2007
+++ SPECS/liferea.spec	Thu Mar  1 14:59:09 2007
@@ -4,18 +4,19 @@
 %bcond_without	dbus		# without DBUS support
 %bcond_without	mozilla		# without mozilla
 %bcond_without	gtkhtml		# without GtkHTML
-%bcond_without	mozilla_firefox	# build with mozilla-firefox-devel
+%bcond_without	xulrunner	# without XULRunner backend
 #
 Summary:	A RSS feed reader
 Summary(pl):	Program do pobierania informacji w formacie RSS
 Name:		liferea
-Version:	1.2.4
+Version:	1.2.7
 Release:	1
 License:	GPL v2
 Group:		X11/Applications/Networking
 Source0:	http://dl.sourceforge.net/liferea/%{name}-%{version}.tar.gz
-# Source0-md5:	2bed06c06e7b90281cf51fa3e83ee023
+# Source0-md5:	e15b37b9f96606581c941431a38fd933
 Patch0:		%{name}-desktop.patch
+Patch1:		%{name}-xulrunner.patch
 URL:		http://liferea.sourceforge.net/
 BuildRequires:	GConf2-devel >= 2.10.0
 BuildRequires:	autoconf
@@ -28,15 +29,9 @@
 BuildRequires:	libtool
 BuildRequires:	libxml2-devel >= 1:2.6.19
 BuildRequires:	libxslt-devel
-%if %{with mozilla}
-%if %{with mozilla_firefox}
-BuildRequires:	mozilla-firefox-devel
-%else
-BuildRequires:	mozilla-devel
-%endif
-%endif
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.311
+%{?with_xulrunner:BuildRequires:	xulrunner-devel}
 Requires(post,postun):	gtk+2
 Requires(post,postun):	hicolor-icon-theme
 Requires(post,preun):	GConf2
@@ -70,11 +65,7 @@
 Summary(pl):	Moduł przeglądarki HTML dla Liferea oparty na Mozilli
 Group:		X11/Applications/Networking
 Requires:	%{name} = %{version}-%{release}
-%if %{with mozilla_firefox}
-%requires_eq	mozilla-firefox-libs
-%else
-Requires:	mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
-%endif
+%requires_eq_to	xulrunner xulrunner-devel	
 Provides:	%{name}-backend = %{version}-%{release}
 
 %description mozilla
@@ -86,6 +77,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 #%{__glib_gettextize}
@@ -98,7 +90,7 @@
 	--disable-schemas-install \
 	%{!?with_dbus: --disable-dbus} \
 	%{!?with_gtkhtml: --disable-gtkhtml2} \
-	%{!?with_mozilla: --disable-gecko}
+	%{!?with_xulrunner: --disable-xulrunner}
 %{__make}
 
 %install
@@ -144,10 +136,10 @@
 %attr(755,root,root) %{_libdir}/%{name}/liblihtmlg.so*
 %endif
 
-%if %{with mozilla}
+%if %{with xulrunner}
 %files mozilla
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/liblihtmlm.so*
+%attr(755,root,root) %{_libdir}/%{name}/liblihtmlx.so*
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -156,6 +148,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.116.2.1  2007/03/01 13:59:09  hawk
+- updated to 1.2.7, use xulrunner
+
 Revision 1.116  2007/01/23 15:18:28  megabajt
 - up to 1.2.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/liferea.spec?r1=1.116&r2=1.116.2.1&f=u



More information about the pld-cvs-commit mailing list