Репозитории ALT
S: | 1.15.3-alt1 |
5.1: | 1.6.0-alt2 |
4.1: | 1.4.17-alt2.M41.1 |
4.0: | 1.2.5-alt1 |
Группа :: Сети/Новости
Пакет: liferea
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%ifarch x86_64
%def_without gtkhtml
%else
%def_with gtkhtml
%endif
%def_without xulrunner
Name: liferea
Version: 1.2.5
Release: alt1
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.tar
Source100: %name.be.po.bz2
Requires: libgtk+2, libgtkhtml2, libxml2, icon-theme-hicolor
Requires(post): GConf
BuildPreReq: menu-devel
# Automatically added by buildreq on Sat Nov 04 2006
BuildRequires: GConf gcc-c++ libGConf-devel libSM-devel libgnutls-devel libgtkhtml2-devel libnotify-devel libxslt-devel intltool seamonkey-devel
%if_with xulrunner
BuildRequires: xulrunner-devel
%endif
Requires: liferea-backend = %version
%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_with gtkhtml
%package gtkhtml
Summary: Liferea backend which uses GtkHTML
Requires: liferea = %version
Provides: liferea-backend = %version
Group: System/Libraries
%description gtkhtml
library for liferea which uses the GtkHTML renderer
%endif
%package mozilla
Summary: library for liferea which uses mozilla html renderer
Requires: liferea = %version
Provides: liferea-backend = %version
Group: System/Libraries
%description mozilla
library for liferea which uses mozilla html renderer
%if_with xulrunner
%package xulrunner
Summary: xulrunner HTML-rendering engine for liferea
Requires: liferea = %version, xulrunner
Provides: liferea-backend = %version
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
%prep
%setup -q -n %name
bzcat %SOURCE100 > po/be.po
%build
%__subst 's,\(ALL_LINGUAS=\"\),\1be ,' configure
%configure --disable-schemas-install
%make_build
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
# 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
%postun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi
%clean_scrollkeeper
%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_with gtkhtml
%files gtkhtml
%_libdir/liferea/*g.so
%endif
%files mozilla
%_libdir/liferea/*m.so
%if_with xulrunner
%files xulrunner
%_libdir/liferea/*x.so
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%def_without gtkhtml
%else
%def_with gtkhtml
%endif
%def_without xulrunner
Name: liferea
Version: 1.2.5
Release: alt1
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.tar
Source100: %name.be.po.bz2
Requires: libgtk+2, libgtkhtml2, libxml2, icon-theme-hicolor
Requires(post): GConf
BuildPreReq: menu-devel
# Automatically added by buildreq on Sat Nov 04 2006
BuildRequires: GConf gcc-c++ libGConf-devel libSM-devel libgnutls-devel libgtkhtml2-devel libnotify-devel libxslt-devel intltool seamonkey-devel
%if_with xulrunner
BuildRequires: xulrunner-devel
%endif
Requires: liferea-backend = %version
%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_with gtkhtml
%package gtkhtml
Summary: Liferea backend which uses GtkHTML
Requires: liferea = %version
Provides: liferea-backend = %version
Group: System/Libraries
%description gtkhtml
library for liferea which uses the GtkHTML renderer
%endif
%package mozilla
Summary: library for liferea which uses mozilla html renderer
Requires: liferea = %version
Provides: liferea-backend = %version
Group: System/Libraries
%description mozilla
library for liferea which uses mozilla html renderer
%if_with xulrunner
%package xulrunner
Summary: xulrunner HTML-rendering engine for liferea
Requires: liferea = %version, xulrunner
Provides: liferea-backend = %version
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
%prep
%setup -q -n %name
bzcat %SOURCE100 > po/be.po
%build
%__subst 's,\(ALL_LINGUAS=\"\),\1be ,' configure
%configure --disable-schemas-install
%make_build
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
# 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
%postun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi
%clean_scrollkeeper
%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_with gtkhtml
%files gtkhtml
%_libdir/liferea/*g.so
%endif
%files mozilla
%_libdir/liferea/*m.so
%if_with xulrunner
%files xulrunner
%_libdir/liferea/*x.so
%endif
%changelog
…
Полный changelog можно просмотреть здесь