X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=liferea.spec;h=93d86f6375c12d4101a56cc61b537bf4072c5ad1;hb=b0ffa6a49d0727454877705ee7a22efa94997f31;hp=ec5ebc9ca3818c8cb551344569eb1f820ba5272f;hpb=beed1c1eb5c75992af7101bf2f0f55159f224a1b;p=packages%2Fliferea.git diff --git a/liferea.spec b/liferea.spec index ec5ebc9..93d86f6 100644 --- a/liferea.spec +++ b/liferea.spec @@ -1,9 +1,13 @@ +# TODO: +# - create subpackage -lua (?) +# - webkit support # # Conditional build: %bcond_without dbus # without DBUS support %bcond_without gtkhtml # without GtkHTML %bcond_without xulrunner # without XULRunner backend %bcond_without lua # without LUA scripting support +%bcond_with nm # with NetworkManager support # %ifarch %{x8664} %undefine with_gtkhtml # GtkHTML backend disabled on x86_64 @@ -11,30 +15,35 @@ Summary: A RSS feed reader Summary(pl.UTF-8): Program do pobierania informacji w formacie RSS Name: liferea -Version: 1.2.8 -Release: 2 +Version: 1.4.10 +Release: 1 License: GPL v2 Group: X11/Applications/Networking Source0: http://dl.sourceforge.net/liferea/%{name}-%{version}.tar.gz -# Source0-md5: 695e1c3bef330faa71a0d41706fbd104 +# Source0-md5: 7a60b58fc0044f72fb0d67f77eaffad5 Patch0: %{name}-desktop.patch Patch1: %{name}-xulrunner.patch Patch2: %{name}-lua51.patch URL: http://liferea.sourceforge.net/ BuildRequires: GConf2-devel >= 2.10.0 +%{?with_nm:BuildRequires: NetworkManager-devel} BuildRequires: autoconf >= 2.59 BuildRequires: automake %{?with_dbus:BuildRequires: dbus-glib-devel >= 0.33} +BuildRequires: gnutls-devel BuildRequires: gtk+2-devel >= 2:2.8.0 +BuildRequires: intltool >= 0.35.5 +BuildRequires: libglade2-devel >= 2.0.0 %{?with_gtkhtml:BuildRequires: libgtkhtml-devel >= 2.6.3} BuildRequires: libnotify-devel >= 0.3.2 BuildRequires: libstdc++-devel BuildRequires: libtool -BuildRequires: libxml2-devel >= 1:2.6.19 +BuildRequires: libxml2-devel >= 1:2.6.27 BuildRequires: libxslt-devel >= 1.1.19 %{?with_lua:BuildRequires: lua51-devel} BuildRequires: pkgconfig BuildRequires: rpmbuild(macros) >= 1.311 +BuildRequires: sqlite3-devel %{?with_xulrunner:BuildRequires: xulrunner-devel} Requires(post,postun): gtk+2 Requires(post,postun): hicolor-icon-theme @@ -46,6 +55,8 @@ Obsoletes: liferea-gtkhtml BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _noautoreqdep libgtkembedmoz.so libxpcom.so +# we have strict deps for it +%define _noautoreq libxpcom.so %description Liferea is a GTK+ clone of FeedReader. @@ -88,7 +99,8 @@ Moduł przeglądarki HTML dla Liferea oparty na Mozilli. %patch2 -p1 %build -#%{__glib_gettextize} +%{__glib_gettextize} +%{__intltoolize} %{__aclocal} %{__libtoolize} %{__autoheader} @@ -99,6 +111,7 @@ Moduł przeglądarki HTML dla Liferea oparty na Mozilli. %{!?with_dbus: --disable-dbus} \ %{!?with_gtkhtml: --disable-gtkhtml2} \ %{!?with_lua: --disable-lua} \ + %{!?with_nm: --disable-nm} \ %{!?with_xulrunner: --disable-xulrunner} %{__make} @@ -134,10 +147,13 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/%{name}/*.so.*.*.* %{_iconsdir}/hicolor/48x48/apps/liferea.png %{_mandir}/pl/man1/liferea.1* -%{_sysconfdir}/gconf/schemas/*.schemas +%{_sysconfdir}/gconf/schemas/liferea.schemas %{_datadir}/%{name} %{_desktopdir}/*.desktop %{_mandir}/man1/liferea.1* +%if %{with lua} +%attr(755,root,root) %{_libdir}/%{name}/libliscrlua.so +%endif %if %{with gtkhtml} %files gtkhtml