3 %bcond_without xulrunner # without XULRunner render
4 %bcond_without webkit # without WebKit render
6 Summary: RSS Reader for Evolution Mail
7 Summary(pl.UTF-8): Czytnik kanałów informacyjnych RSS dla Evolution
12 Group: X11/Applications
13 Source0: http://gnome.eu.org/%{name}-%{version}.tar.gz
14 # Source0-md5: e6df6ae91fe41882ccb54231b28d7efd
15 Patch0: %{name}-ac.patch
16 Patch1: %{name}-libxul.patch
17 URL: http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin
18 BuildRequires: GConf2-devel >= 2.26.0
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: dbus-glib-devel >= 0.74
22 BuildRequires: evolution-devel >= 2.26.0
23 BuildRequires: gettext-devel
24 BuildRequires: gtk+2-devel >= 2:2.14.0
25 %{?with_webkit:BuildRequires: gtk-webkit-devel}
26 BuildRequires: intltool >= 0.40.0
27 BuildRequires: libglade2-devel >= 1:2.6.2
28 BuildRequires: libgnomeui-devel >= 2.24.0
29 BuildRequires: libsoup-devel >= 2.4.0
30 BuildRequires: libstdc++-devel
31 BuildRequires: libtool
32 BuildRequires: pkgconfig
33 BuildRequires: rpmbuild(macros) >= 1.197
34 %{?with_xulrunner:BuildRequires: xulrunner-devel >= 1.9-5}
35 Requires(post,postun): GConf2
36 Requires: evolution >= 2.26.0
37 Requires: gtk+2 >= 2:2.14.0
38 %{?with_xulrunner:%requires_eq xulrunner-libs}
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 # we have strict deps for xulrunner-libs
42 %define _noautoreq libxpcom.so
45 RSS Reader for Evolution Mail.
47 %description -l pl.UTF-8
48 Czytnik kanałów informacyjnych RSS dla Evolution.
63 %{?!with_xulrunner:--disable-gecko} \
64 %{?!with_webkit:--disable-webkit}
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
73 rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.la
78 rm -rf $RPM_BUILD_ROOT
81 %gconf_schema_install evolution-rss.schemas
84 %gconf_schema_uninstall evolution-rss.schemas
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README TODO
89 %attr(755,root,root) %{_bindir}/evolution-import-rss
90 %attr(755,root,root) %{_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.so
91 %{_libdir}/bonobo/servers/GNOME_Evolution_RSS_2.28.server
92 %{_libdir}/evolution/*/plugins/org-gnome-evolution-rss.eplug
93 %{_libdir}/evolution/*/plugins/org-gnome-evolution-rss.xml
94 %{_sysconfdir}/gconf/schemas/evolution-rss.schemas
95 %{_datadir}/evolution/*/errors/org-gnome-evolution-rss.error
96 %{_datadir}/evolution/*/glade/*.glade
97 %{_datadir}/evolution/*/images/*.png