File mingw64-evolution-rss.spec of Package mingw64-evolution-rss

#
# spec file for package mingw64-evolution-rss
#
# Copyright (c) 2018 SUSE LINUX 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 http://bugs.opensuse.org/
#


Name:           mingw64-evolution-rss
Version:        0.2.5
Release:        0
Summary:        Evolution RSS Reader
License:        GPL-2.0-only
Group:          Development/Libraries
Url:            http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin
Source:         http://gnome.eu.org/evolution-rss-%{version}.tar.gz
Patch0:         evolution-rss-0.2.5-gnomecanvas.patch
Patch1:         evolution-rss-0.2.5-interface.patch
#!BuildIgnore: post-build-checks
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  coreutils
BuildRequires:  diffutils
BuildRequires:  gcc-c++
BuildRequires:  gconf2
BuildRequires:  gconf2-devel
BuildRequires:  gettext
BuildRequires:  gettext-devel
BuildRequires:  intltool
BuildRequires:  libtool
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-dbus-1-glib-devel
BuildRequires:  mingw64-evolution-data-server-devel
BuildRequires:  mingw64-evolution-devel
BuildRequires:  mingw64-gconf2-devel
BuildRequires:  mingw64-gettext-tools
BuildRequires:  mingw64-gtkhtml2-devel
BuildRequires:  mingw64-libsoup-devel
Requires:       %{name}-lang >= %{version}
%_mingw64_package_header_debug
BuildArch:      noarch

%description
This is an evolution plugin which enables evolution to read rss feeds.

Evolution RSS Readers Features
==============================
    * RDF,RSS and ATOM support
    * Searching and filtering using Evolution support (a feed article is infact an email message in Evolution)
    * HTML articles page rendering
    * Offline reading of feed content
    * Webkit and Gecko support for rendering articles (firefox-devel si required for Gecko support, and latest cvs from upstream apple's webkit see FAQ)

%_mingw64_debug_package

%lang_package

%prep
%setup -q -n evolution-rss-%{version}
%patch -P 0 -p1 -b .gnomecanvas
%patch -P 1 -p1 -b .interface

%build
libtoolize --force --copy --install
autoreconf -f -i
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
MINGW64_CFLAGS="%{_mingw64_cflags} -fcommon"
%{_mingw64_configure} \
	--disable-schemas-install \
	--disable-webkit \
	--with-primary-render=gtkhtml
make %{?_smp_mflags} || make

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -rf %{buildroot}%{_mingw64_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.dll.a

%find_lang evolution-rss

%files
%defattr(-,root,root)
%{_mingw64_bindir}/evolution-import-rss.exe
%{_mingw64_sysconfdir}/gconf/schemas/evolution-rss.schemas
%{_mingw64_datadir}/evolution/*/errors/org-gnome-evolution-rss.error
%{_mingw64_datadir}/evolution/*/ui/*.ui
%{_mingw64_datadir}/evolution/*/images/*.png
%{_mingw64_libdir}/evolution/*/plugins/org-gnome-evolution-rss.eplug
%{_mingw64_libdir}/evolution/*/plugins/org-gnome-evolution-rss.xml
%{_mingw64_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.dll

%files lang -f evolution-rss.lang
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by