File liferea.spec of Package liferea

# spec file for package liferea
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           liferea
License:        GPLv2+
Group:          Productivity/Other
Version:        1.6.5
Release:        3
Summary:        Linux Feed Reader
Source:         %{name}-%{version}.tar.bz2
# PATCH-FEATURE-OPENSUSE liferea-opensuse-feeds.patch -- Add openSUSE feeds to default feeds
Patch0:         liferea-opensuse-feeds.patch
BuildRequires:  NetworkManager-devel
BuildRequires:  dbus-1-glib-devel
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gconf2-devel
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  libnotify-devel
BuildRequires:  libwebkit-devel
BuildRequires:  libxslt-devel
BuildRequires:  lua-devel
BuildRequires:  sqlite-devel
BuildRequires:  update-desktop-files
Requires:       dbus-1 >= 0.30
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Liferea is an abbreviation for Linux Feed Reader. It is a news
aggregator for online news feeds. It supports a number of different
feed formats including RSS/RDF, CDF, Atom, OCS, and OPML. There are
many other news readers available, but these others are not available
for Linux or require many extra libraries to be installed. Liferea
tries to fill this gap by creating a fast, easy-to-use, easy-to-install
news aggregator for GTK and GNOME.

%setup -q
%patch0 -p1

autoreconf -fi
%configure \
        --disable-static \
make %{?jobs:-j %jobs}

%suse_update_desktop_file -N "Liferea" liferea X-SuSE-RSS-News
%find_lang %{name} %{?no_lang_C}
rm doc/Makefile*
rm doc/html/Makefile*
%fdupes %{buildroot}

rm -rf %{buildroot}

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%if 0%{?suse_version} > 1130


%if 0%{?suse_version} > 1130


%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc %{_mandir}/man1/liferea.1*
# We can't really move the localized manpages to the lang package, since they'd
# create a conflict between the lang subpackage and bundles
%lang(pl) %dir %{_mandir}/pl
%lang(pl) %dir %{_mandir}/pl/man1
%lang(pl) %{_mandir}/pl/man1/liferea.1*

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by