bcc45c2
%define gecko_ver 1.8.1.15
1b5bafa
Summary: Evolution RSS Reader
1b5bafa
Name: evolution-rss
4dfef75
Version: 0.0.8
22592d1
Release: 10%{?dist}
1b5bafa
Group: Applications/Internet
1b5bafa
License: GPLv2 and GPLv2+
1b5bafa
Source: http://gnome.eu.org/%{name}-%{version}.tar.gz
4dfd65d
Patch0: evolution-rss-0.0.8-empty-desc.patch
40b7a79
Patch1: evolution-rss-0.0.8-norss-popup.patch
bcb712d
Patch2: evolution-rss-0.0.8-norss-enabled.patch
1b5bafa
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1b5bafa
URL: http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin
1b5bafa
Requires: evolution
a6e38b1
Requires: gecko-libs = %{gecko_ver}
1b5bafa
1b5bafa
Requires(pre): GConf2
1b5bafa
Requires(post): GConf2
1b5bafa
Requires(preun): GConf2
1b5bafa
1b5bafa
BuildRequires: gettext
1b5bafa
BuildRequires: evolution-devel
1b5bafa
BuildRequires: evolution-data-server-devel 
1b5bafa
BuildRequires: dbus-glib-devel
56c6e09
BuildRequires: gecko-devel = %{gecko_ver}
1b5bafa
BuildRequires: perl(XML::Parser)
1b5bafa
BuildRequires: libtool
1b5bafa
1b5bafa
%description
1b5bafa
This is an evolution plugin which enables evolution to read rss feeds.
1b5bafa
1b5bafa
%prep
1b5bafa
%setup -q -n evolution-rss-%{version}
40b7a79
%patch0 -p1 -b .empty-fix
40b7a79
%patch1 -p1 -b .norss-popup
bcb712d
%patch2 -p1 -b .norss-enabled
1b5bafa
1b5bafa
%build
a6e38b1
%configure --with-primary-render=gecko --disable-webkit
1b5bafa
make %{?_smp_mflags}
1b5bafa
1b5bafa
%install
1b5bafa
rm -rf %{buildroot}
1b5bafa
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
1b5bafa
make install DESTDIR="%{buildroot}" INSTALL="install -p"
1b5bafa
find %{buildroot} -name \*\.la -print | xargs rm -f
1b5bafa
%find_lang %{name}
1b5bafa
1b5bafa
%clean
1b5bafa
rm -rf %{buildroot}
1b5bafa
1b5bafa
%pre
1b5bafa
if [ "$1" -gt 1 ]; then
1b5bafa
	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
1b5bafa
	gconftool-2 --makefile-uninstall-rule \
1b5bafa
		%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
1b5bafa
fi
1b5bafa
1b5bafa
%post
1b5bafa
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
1b5bafa
gconftool-2 --makefile-install-rule \
1b5bafa
	%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
1b5bafa
/sbin/ldconfig
1b5bafa
1b5bafa
%preun
1b5bafa
if [ "$1" -eq 0 ]; then
1b5bafa
	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
1b5bafa
	gconftool-2 --makefile-uninstall-rule \
1b5bafa
		%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
1b5bafa
fi
1b5bafa
1b5bafa
%postun -p /sbin/ldconfig
1b5bafa
1b5bafa
%files -f %{name}.lang
1b5bafa
%defattr(-,root,root,-)
1b5bafa
# Only the following binary is under GPLv2. Other
1b5bafa
# parts are under GPLv2+.
1b5bafa
%{_bindir}/evolution-import-rss
1b5bafa
%{_sysconfdir}/gconf/schemas/%{name}.schemas
1b5bafa
%{_datadir}/evolution/*/errors/org-gnome-evolution-rss.error
1b5bafa
%{_datadir}/evolution/*/glade/rss-ui.glade
1b5bafa
%{_datadir}/evolution/*/images/rss.png
1b5bafa
%{_libdir}/evolution/*/plugins/org-gnome-evolution-rss.eplug
1b5bafa
%{_libdir}/evolution/*/plugins/org-gnome-evolution-rss.xml
1b5bafa
%{_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.so
1b5bafa
%{_libdir}/bonobo/servers/GNOME_Evolution_RSS_*.server
1b5bafa
%doc AUTHORS
1b5bafa
%doc COPYING
1b5bafa
%doc ChangeLog
1b5bafa
%doc FAQ
1b5bafa
%doc NEWS
1b5bafa
%doc README
1b5bafa
%doc TODO
1b5bafa
1b5bafa
%changelog
22592d1
* Mon Jul  7 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.8-10
22592d1
- Rebuild against newer gecko (1.8.1.15)
22592d1
4c6390a
* Thu Apr 28 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.8-9
4c6390a
- Rebuild against newer gecko (1.8.1.14)
4c6390a
a6e38b1
* Thu Apr 10 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.8-8
a6e38b1
- Make gecko primary render engine
a6e38b1
- Force gecko-libs as required deps
a6e38b1
56c6e09
* Thu Mar 28 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.8-7
56c6e09
- Rebuild against newer gecko
56c6e09
bcb712d
* Thu Mar 26 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.8-6
bcb712d
- No feeds enabled patch
bcb712d
7946680
* Thu Mar 23 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.8-5
7946680
- Fixed wrong function def in previous patch
7946680
40b7a79
* Thu Mar 22 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.8-4
40b7a79
- Fix for no rss popup
40b7a79
bb014a5
* Thu Mar 22 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.8-3
bb014a5
- Upstream fix for empty description
bb014a5
5a25a8f
* Tue Mar  3 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.8-2
40b7a79
- Misc cleanups
40b7a79
- Updated to 0.0.8 version
4dfef75
1b5bafa
* Tue Feb 19 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.7-8
1b5bafa
-Misc cleanups
1b5bafa
1b5bafa
* Sat Feb 17 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.7-7
1b5bafa
- Misc cleanup
1b5bafa
1b5bafa
* Sat Feb 16 2008 Lucian Langa <cooly@gnome.eu.org> - 0.0.7-6
1b5bafa
- Drop gecko requirements till xulrunner is fixed
1b5bafa
1b5bafa
* Tue Feb 12 2008 Lucian Langa <lucilanga@gnome.org> - 0.0.7-5
1b5bafa
- buildroot fixes
1b5bafa
1b5bafa
* Wed Feb 06 2008 Lucian Langa <lucilanga@gnome.org> - 0.0.7-4
1b5bafa
- Modified firefox-devel requirement for build
1b5bafa
1b5bafa
* Wed Jan 30 2008 Lucian Langa <lucilanga@gnome.org> - 0.0.7-1
1b5bafa
- Updates and sanitize
1b5bafa
1b5bafa
* Thu Jan 24 2008 Lucian Langa <lucilanga@gnome.org> - 0.0.7-1
1b5bafa
- Fixed rpmlint warnings
1b5bafa
- Updated to Fedora Packaging Guidelines
1b5bafa
1b5bafa
* Thu Nov 22 2007 Lucian Langa <lucilanga@gnome.org> - 0.0.6-1
1b5bafa
- Added gconf schemas
1b5bafa
- Added evolution-import-rss
1b5bafa
1b5bafa
* Tue Sep 04 2007 Lucian Langa <lucilanga@gnome.org> - 0.0.5
1b5bafa
- Updated installed files
1b5bafa
1b5bafa
* Mon Apr 23 2007 root <root@mayday> - 0.0.1
1b5bafa
- Initial spec file created by autospec ver. 0.8 with rpm 3 compatibility