]> git.pld-linux.org Git - packages/evolution-rss.git/blame - evolution-rss.spec
- release 4
[packages/evolution-rss.git] / evolution-rss.spec
CommitLineData
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
6Summary: RSS Reader for Evolution Mail
7Summary(pl.UTF-8): Czytnik kanałów informacyjnych RSS dla Evolution
8Name: evolution-rss
71ab0aff 9Version: 0.1.1
b5a5a15c 10Release: 4
ca2b7594
MWP
11License: GPL v2
12Group: X11/Applications
fa0b24e1 13Source0: http://gnome.eu.org/%{name}-%{version}.tar.gz
71ab0aff 14# Source0-md5: 94e3ce3a44f8ae4249df974a8d2a3ed3
9189d495 15Patch0: %{name}-ac.patch
989c7716 16Patch1: %{name}-libxul.patch
fa0b24e1 17URL: http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin
71ab0aff 18BuildRequires: GConf2-devel >= 2.24.0
9189d495 19BuildRequires: autoconf
ff352935 20BuildRequires: automake
fa0b24e1 21BuildRequires: dbus-glib-devel >= 0.74
71ab0aff 22BuildRequires: evolution-devel >= 2.24.0
fa0b24e1 23BuildRequires: gettext-devel
71ab0aff 24BuildRequires: gtk+2-devel >= 2:2.14.0
989c7716 25%{?with_webkit:BuildRequires: gtk-webkit-devel}
71ab0aff 26BuildRequires: intltool >= 0.40.0
fa0b24e1 27BuildRequires: libglade2-devel >= 1:2.6.2
71ab0aff 28BuildRequires: libgnomeui-devel >= 2.24.0
fa0b24e1 29BuildRequires: libsoup-devel >= 2.4.0
71ab0aff 30BuildRequires: libstdc++-devel
ff352935 31BuildRequires: libtool
ca2b7594
MWP
32BuildRequires: pkgconfig
33BuildRequires: rpmbuild(macros) >= 1.197
989c7716 34%{?with_xulrunner:BuildRequires: xulrunner-devel >= 1.9-5}
fa0b24e1 35Requires(post,postun): GConf2
71ab0aff
MB
36Requires: evolution >= 2.24.0
37Requires: gtk+2 >= 2:2.14.0
989c7716 38%{?with_xulrunner:%requires_eq xulrunner-libs}
ca2b7594
MWP
39BuildRoot: %{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 45RSS Reader for Evolution Mail.
ca2b7594
MWP
46
47%description -l pl.UTF-8
aa93b2ba 48Czytnik 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
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} install \
ff352935 71 DESTDIR=$RPM_BUILD_ROOT
ca2b7594 72
fa0b24e1
MB
73rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/liborg-gnome-evolution-rss.la
74
ca2b7594
MWP
75%find_lang %{name}
76
77%clean
78rm -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
This page took 0.671502 seconds and 4 git commands to generate.