]>
Commit | Line | Data |
---|---|---|
ff352935 | 1 | # |
989c7716 MB |
2 | # Conditional build: |
3 | %bcond_without xulrunner # without XULRunner render | |
4 | %bcond_without webkit # without WebKit render | |
ff352935 | 5 | # |
ca2b7594 MWP |
6 | Summary: RSS Reader for Evolution Mail |
7 | Summary(pl.UTF-8): Czytnik kanałów informacyjnych RSS dla Evolution | |
8 | Name: evolution-rss | |
71ab0aff | 9 | Version: 0.1.1 |
b5a5a15c | 10 | Release: 4 |
ca2b7594 MWP |
11 | License: GPL v2 |
12 | Group: X11/Applications | |
fa0b24e1 | 13 | Source0: http://gnome.eu.org/%{name}-%{version}.tar.gz |
71ab0aff | 14 | # Source0-md5: 94e3ce3a44f8ae4249df974a8d2a3ed3 |
9189d495 | 15 | Patch0: %{name}-ac.patch |
989c7716 | 16 | Patch1: %{name}-libxul.patch |
fa0b24e1 | 17 | URL: http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin |
71ab0aff | 18 | BuildRequires: GConf2-devel >= 2.24.0 |
9189d495 | 19 | BuildRequires: autoconf |
ff352935 | 20 | BuildRequires: automake |
fa0b24e1 | 21 | BuildRequires: dbus-glib-devel >= 0.74 |
71ab0aff | 22 | BuildRequires: evolution-devel >= 2.24.0 |
fa0b24e1 | 23 | BuildRequires: gettext-devel |
71ab0aff | 24 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
989c7716 | 25 | %{?with_webkit:BuildRequires: gtk-webkit-devel} |
71ab0aff | 26 | BuildRequires: intltool >= 0.40.0 |
fa0b24e1 | 27 | BuildRequires: libglade2-devel >= 1:2.6.2 |
71ab0aff | 28 | BuildRequires: libgnomeui-devel >= 2.24.0 |
fa0b24e1 | 29 | BuildRequires: libsoup-devel >= 2.4.0 |
71ab0aff | 30 | BuildRequires: libstdc++-devel |
ff352935 | 31 | BuildRequires: libtool |
ca2b7594 MWP |
32 | BuildRequires: pkgconfig |
33 | BuildRequires: rpmbuild(macros) >= 1.197 | |
989c7716 | 34 | %{?with_xulrunner:BuildRequires: xulrunner-devel >= 1.9-5} |
fa0b24e1 | 35 | Requires(post,postun): GConf2 |
71ab0aff MB |
36 | Requires: evolution >= 2.24.0 |
37 | Requires: gtk+2 >= 2:2.14.0 | |
989c7716 | 38 | %{?with_xulrunner:%requires_eq xulrunner-libs} |
ca2b7594 MWP |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
76100b89 | 41 | # we have strict deps for xulrunner-libs |
ff352935 MB |
42 | %define _noautoreq libxpcom.so |
43 | ||
ca2b7594 | 44 | %description |
aa93b2ba | 45 | RSS Reader for Evolution Mail. |
ca2b7594 MWP |
46 | |
47 | %description -l pl.UTF-8 | |
aa93b2ba | 48 | Czytnik kanałów informacyjnych RSS dla Evolution. |
ca2b7594 MWP |
49 | |
50 | %prep | |
51 | %setup -q | |
9189d495 | 52 | %patch0 -p1 |
989c7716 | 53 | %patch1 -p1 |
ca2b7594 MWP |
54 | |
55 | %build | |
ff352935 MB |
56 | %{__intltoolize} |
57 | %{__libtoolize} | |
58 | %{__aclocal} -I m4 | |
9189d495 | 59 | %{__autoconf} |
ff352935 MB |
60 | %{__autoheader} |
61 | %{__automake} | |
989c7716 MB |
62 | %configure \ |
63 | %{?!with_xulrunner:--disable-gecko} \ | |
64 | %{?!with_webkit:--disable-webkit} | |
ca2b7594 MWP |
65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
ff352935 | 71 | DESTDIR=$RPM_BUILD_ROOT |
ca2b7594 | 72 | |
fa0b24e1 MB |
73 | rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.la |
74 | ||
ca2b7594 MWP |
75 | %find_lang %{name} |
76 | ||
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
fa0b24e1 MB |
80 | %post |
81 | %gconf_schema_install evolution-rss.schemas | |
82 | ||
83 | %preun | |
84 | %gconf_schema_uninstall evolution-rss.schemas | |
ca2b7594 MWP |
85 | |
86 | %files -f %{name}.lang | |
87 | %defattr(644,root,root,755) | |
88 | %doc AUTHORS ChangeLog NEWS README TODO | |
fa0b24e1 MB |
89 | %attr(755,root,root) %{_bindir}/evolution-import-rss |
90 | %attr(755,root,root) %{_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.so | |
71ab0aff | 91 | %{_libdir}/bonobo/servers/GNOME_Evolution_RSS_2.24.server |
fa0b24e1 MB |
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 | |
989c7716 MB |
96 | %{_datadir}/evolution/*/glade/*.glade |
97 | %{_datadir}/evolution/*/images/*.png |