Репозиторий Sisyphus
Последнее обновление: 18 октября 2019 | Пакетов: 17501 | Посещений: 15289950
en ru br
Репозитории ALT
S:1.12.7-alt1
5.1: 1.6.0-alt2
4.1: 1.4.17-alt2.M41.1
4.0: 1.2.5-alt1
www.altlinux.org/Changes

Группа :: Сети/Новости
Пакет: liferea

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable gecko
%if_enabled gecko
%define gecko_provider firefox
%endif
%ifarch x86_64
%def_disable gtkhtml2
%else
%def_enable gtkhtml2
%endif
%def_enable xulrunner
%def_disable webkit
%def_disable lua
%def_enable dbus
%def_enable gnutls

Name: liferea
Version: 1.4.17
Release: alt2.M41.1

Summary: A RSS News Reader for GNOME
License: GPL
Group: Networking/News

Packager: Alex V. Myltsev <avm at altlinux.org>

Url: http://%name.sf.net/
Source: %name-%version.tar.gz
Patch: %name-1.4.17-xulrunner-1.9.patch
Patch1: %name-1.4.17-fix-db-schema-migration.patch

Requires(post,postun): GConf

BuildPreReq: intltool >= 0.35.0
BuildPreReq: libpango-devel >= 1.4.0
BuildPreReq: libxml2-devel >= 2.6.27
BuildPreReq: libxslt-devel >= 1.1.19
BuildPreReq: libsqlite3-devel >= 3.3
BuildPreReq: libnotify-devel >= 0.3.2

%{?_enable_gnutls:BuildRequires: libgnutls-devel}
%{?_enable_dbus:BuildRequires: libdbus-glib-devel >= 0.30}
%{?_enable_lua:BuildRequires: liblua5-devel}
%{?_enable_gecko:BuildRequires: firefox-devel}
%{?_enable_xulrunner:BuildRequires: xulrunner-devel}
%{?_enable_webkit:BuildRequires: libwebkit-gtk-devel}

BuildRequires: libgtkhtml2-devel
BuildRequires: GConf gcc-c++ libGConf-devel libSM-devel libglade-devel perl-XML-Parser

Requires: liferea-backend = %version-%release

%description
Liferea is a simple FeedReader clone for Unix distributions with GTK2
(GNOME2 is optional). It is a news aggregator for RSS/RDF feeds which
also supports CDF channels, Atom/Echo/PIE feeds and OCS or OPML
directories. The problem with FeedReader: for now its only available
for Windows. There are some projects for GNU/Linux, but no solution for
GTK/GNOME, which does not require Python or Perl. Liferea tries to fill
this gap. Liferea is an abbreviation for Linux Feed Reader.

%if_enabled gtkhtml2
%package gtkhtml
Summary: Liferea backend which uses GtkHTML
Requires: liferea = %version-%release
Provides: liferea-backend = %version-%release
Group: System/Libraries

%description gtkhtml
library for liferea which uses the GtkHTML renderer
%endif

%if_enabled gecko
%package mozilla
Summary: library for liferea which uses mozilla html renderer
Requires: liferea = %version-%release
Provides: liferea-backend = %version-%release
Group: System/Libraries

%description mozilla
library for liferea which uses mozilla html renderer
%endif

%if_enabled xulrunner
%package xulrunner
Summary: xulrunner HTML-rendering engine for liferea
Requires: liferea = %version-%release, xulrunner
Provides: liferea-backend = %version-%release
Group: Networking/News

%description xulrunner
Liferea is a simple FeedReader clone for Unix distributions with GTK2.

This package provides a xulrunner-based HTML rendering engine for Liferea.
%endif

%if_enabled lua
%package lua
Summary: LUA module for liferea
Requires: liferea = %version-%release, xulrunner
Provides: liferea-backend = %version-%release
Group: Networking/News

%description lua
Liferea is a simple FeedReader clone for Unix distributions with GTK2.

This package provides a LUA scripting support for liferea.
%endif

%prep
%setup -q
%patch -p1
%patch1 -p0 -b .fix-db-schema-migration

%build
%autoreconf
export CXXFLAGS="$CXXFLAGS -I%_includedir/nspr"
%configure \
--disable-schemas-install \
%{subst_enable gecko} \
%if_enabled gecko
   --enable-gecko=%gecko_provider \
%endif
%{subst_enable gtkhtml2} \
%{subst_enable xulrunner} \
%{subst_enable webkit} \
%{subst_enable dbus} \
%{subst_enable lua} \
%{subst_enable gnutls}
%make_build

%install
%makeinstall

# remove unpackaged files

rm -f %buildroot%_libdir/%name/*.la
rm -f %buildroot%_iconsdir/hicolor/icon-theme.cache

%find_lang --with-gnome %name

%post
%gconf2_install %name
%update_scrollkeeper
%update_menus

%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi

%postun
%clean_scrollkeeper
%clean_menus

%files -f %name.lang
%doc AUTHORS COPYING ChangeLog NEWS README
%_bindir/%name
%_bindir/%name-bin
%_bindir/%name-add-feed
%dir %_libdir/liferea/
%_libdir/liferea/liblinotif*
%_datadir/liferea
%_datadir/applications/%name.desktop
%_liconsdir/%name.png
%config %_sysconfdir/gconf/schemas/%name.schemas
%_man1dir/%name.1*

%if_enabled gtkhtml2
%files gtkhtml
%_libdir/liferea/liblihtmlg.so
%endif

%if_enabled gecko
%files mozilla
%_libdir/liferea/liblihtmlm.so
%endif

%if_enabled xulrunner
%files xulrunner
%_libdir/liferea/liblihtmlx.so
%endif

%if_enabled lua
%files lua
%_libdir/liferea/libliscrlua.so
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin