]> git.pld-linux.org Git - packages/evolution-rss.git/blobdiff - evolution-rss.spec
- updated gettext BR
[packages/evolution-rss.git] / evolution-rss.spec
index ae03c854c8868b84117879fd7dac4dd491a9e09a..9a3bde90ba9562514b1920281eb2e3360ee20428 100644 (file)
@@ -1,37 +1,42 @@
 #
-# TODO:
-# - add webkit / xulrunner bcond
+# Conditional build:
+%bcond_with    xulrunner       # without XULRunner render
+%bcond_without webkit          # without WebKit render
 #
 Summary:       RSS Reader for Evolution Mail
 Summary(pl.UTF-8):     Czytnik kanałów informacyjnych RSS dla Evolution
 Name:          evolution-rss
-Version:       0.0.8
-Release:       3
+Version:       0.2.0
+Release:       1
 License:       GPL v2
 Group:         X11/Applications
 Source0:       http://gnome.eu.org/%{name}-%{version}.tar.gz
-# Source0-md5: c5adce093e332573bc1fcfaf23c1f8b6
-Patch0:                %{name}-ac.patch
+# Source0-md5: 8d5ba1cce5081dc777e69a83695a7962
 URL:           http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin
-BuildRequires: GConf2-devel >= 2.22.0
+BuildRequires: GConf2-devel >= 2.26.0
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: dbus-glib-devel >= 0.74
-BuildRequires: evolution-devel >= 2.22.0
-BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.12.8
-BuildRequires: intltool >= 0.36.2
+BuildRequires: evolution-devel >= 2.26.0
+BuildRequires: geoclue-devel
+BuildRequires: gettext-tools
+BuildRequires: gnome-common
+BuildRequires: gtk+2-devel >= 2:2.14.0
+%{?with_webkit:BuildRequires:  gtk-webkit-devel}
+BuildRequires: intltool >= 0.40.0
 BuildRequires: libglade2-devel >= 1:2.6.2
-BuildRequires: libgnomeui-devel >= 2.22.0
-BuildRequires: libsoup-devel >= 2.4.0
+BuildRequires: libgnomeui-devel >= 2.24.0
+BuildRequires: libproxy-devel
+BuildRequires: libsoup-gnome-devel >= 2.30
+BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.197
-BuildRequires: xulrunner-devel
+BuildRequires: rpmbuild(macros) >= 1.527
+%{?with_xulrunner:BuildRequires:       xulrunner-devel >= 1.9-5}
 Requires(post,postun): GConf2
-Requires:      evolution >= 2.22.0
-Requires:      gtk+2 >= 2:2.12.8
-%requires_eq   xulrunner-libs
+Requires:      evolution >= 2.26.0
+Requires:      gtk+2 >= 2:2.14.0
+%{?with_xulrunner:%requires_eq xulrunner-libs}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # we have strict deps for xulrunner-libs
@@ -45,7 +50,6 @@ Czytnik kanałów informacyjnych RSS dla Evolution.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__intltoolize}
@@ -54,7 +58,11 @@ Czytnik kanałów informacyjnych RSS dla Evolution.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{__enable_disable xulrunner gecko} \
+       %{__with xulrunner gecko libxul} \
+       %{__enable_disable webkit}
+
 %{__make}
 
 %install
@@ -63,9 +71,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.la
+rm $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.la
 
-%find_lang %{name}
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -81,10 +89,11 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/evolution-import-rss
 %attr(755,root,root) %{_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.so
-%{_libdir}/bonobo/servers/GNOME_Evolution_RSS_2.22.server
+#%{_libdir}/bonobo/servers/GNOME_Evolution_RSS_*.server
 %{_libdir}/evolution/*/plugins/org-gnome-evolution-rss.eplug
 %{_libdir}/evolution/*/plugins/org-gnome-evolution-rss.xml
 %{_sysconfdir}/gconf/schemas/evolution-rss.schemas
 %{_datadir}/evolution/*/errors/org-gnome-evolution-rss.error
-%{_datadir}/evolution/*/glade/rss-ui.glade
-%{_datadir}/evolution/*/images/rss.png
+%{_datadir}/evolution/*/ui/*.ui
+#%{_datadir}/evolution/*/glade/*.glade
+%{_datadir}/evolution/*/images/*.png
This page took 0.94589 seconds and 4 git commands to generate.