-# TODO: create subpackage -lua (?)
+# TODO:
+# - create subpackage -lua (?)
+# - webkit support
#
# Conditional build:
%bcond_without dbus # without DBUS support
Summary: A RSS feed reader
Summary(pl.UTF-8): Program do pobierania informacji w formacie RSS
Name: liferea
-Version: 1.4.8
-Release: 3
+Version: 1.4.11
+Release: 2
License: GPL v2
Group: X11/Applications/Networking
Source0: http://dl.sourceforge.net/liferea/%{name}-%{version}.tar.gz
-# Source0-md5: 92806e9432481e65f21e8f86ff4a4fe2
+# Source0-md5: b96a479a4b72560cbdd8df8b7efd24b3
Patch0: %{name}-desktop.patch
Patch1: %{name}-xulrunner.patch
Patch2: %{name}-lua51.patch
+Patch3: %{name}-no_versioned_soname.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: gettext-devel
+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}
-%{?with_nm:BuildRequires: NetworkManager-devel}
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: sqlite3-devel
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%{__glib_gettextize}
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/liferea
+%attr(755,root,root) %{_bindir}/liferea-add-feed
+%attr(755,root,root) %{_bindir}/liferea-bin
%dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/*.so.*.*.*
+%attr(755,root,root) %{_libdir}/%{name}/liblinotiflibnotify.so
%{_iconsdir}/hicolor/48x48/apps/liferea.png
-%{_mandir}/pl/man1/liferea.1*
%{_sysconfdir}/gconf/schemas/liferea.schemas
%{_datadir}/%{name}
%{_desktopdir}/*.desktop
%{_mandir}/man1/liferea.1*
+%{_mandir}/pl/man1/liferea.1*
%if %{with lua}
%attr(755,root,root) %{_libdir}/%{name}/libliscrlua.so
%endif
%if %{with gtkhtml}
%files gtkhtml
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/liblihtmlg.so*
+%attr(755,root,root) %{_libdir}/%{name}/liblihtmlg.so
%endif
%if %{with xulrunner}
%files mozilla
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/liblihtmlx.so*
+%attr(755,root,root) %{_libdir}/%{name}/liblihtmlx.so
%endif