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