]> git.pld-linux.org Git - packages/liferea.git/blame - liferea.spec
- Requires(post,postun): gtk-update-icon-cache
[packages/liferea.git] / liferea.spec
CommitLineData
b0ffa6a4
MB
1# TODO:
2# - create subpackage -lua (?)
93a9f7c2 3#
ce065e76 4# Conditional build:
711a6809 5%bcond_without dbus # without D-Bus support
beed1c1e 6%bcond_without lua # without LUA scripting support
711a6809 7%bcond_without nm # with NetworkManager support
f6d80c17 8#
c3a7ac07 9Summary: A RSS feed reader
94e05515 10Summary(pl.UTF-8): Program do pobierania informacji w formacie RSS
7d878c33 11Name: liferea
3d56977e 12Version: 1.6.5
bcc9d4aa 13Release: 2
d61c977e 14License: GPL v2
057d358d 15Group: X11/Applications/Networking
95af9119 16Source0: http://downloads.sourceforge.net/liferea/%{name}-%{version}.tar.gz
3d56977e 17# Source0-md5: b5a2c0803eec5d0aff0b9ca4114eaf16
923f28f9 18Patch0: %{name}-desktop.patch
711a6809 19Patch1: %{name}-lua51.patch
7d878c33 20URL: http://liferea.sourceforge.net/
f6d80c17 21BuildRequires: GConf2-devel >= 2.10.0
b0ffa6a4 22%{?with_nm:BuildRequires: NetworkManager-devel}
c53f3073 23BuildRequires: autoconf >= 2.59
711a6809 24BuildRequires: automake >= 1:1.6
25BuildRequires: avahi-glib-devel >= 0.6.0
7500482a 26%{?with_dbus:BuildRequires: dbus-glib-devel >= 0.33}
3d56977e 27BuildRequires: geoclue-devel
199241d0 28BuildRequires: gettext-devel
94cc7c61 29BuildRequires: gstreamer-devel >= 0.10
711a6809 30BuildRequires: gtk+2-devel >= 2:2.16.0
31BuildRequires: gtk-webkit-devel >= 1.1.7
97d7d603 32BuildRequires: intltool >= 0.35.5
711a6809 33BuildRequires: libglade2-devel >= 1:2.0.0
8c6ef9d1 34BuildRequires: libnotify-devel >= 0.3.2
711a6809 35BuildRequires: libsoup-devel >= 2.26.1
c678d658 36BuildRequires: libtool
b0ffa6a4 37BuildRequires: libxml2-devel >= 1:2.6.27
33391785 38BuildRequires: libxslt-devel >= 1.1.19
beed1c1e 39%{?with_lua:BuildRequires: lua51-devel}
21efbadf 40BuildRequires: pkgconfig
a7124b62 41BuildRequires: rpmbuild(macros) >= 1.311
711a6809 42BuildRequires: sqlite3-devel >= 3.6.10
43BuildRequires: xorg-lib-libSM-devel
bcc9d4aa 44Requires(post,postun): gtk-update-icon-cache
8c6ef9d1 45Requires(post,postun): hicolor-icon-theme
a7124b62 46Requires(post,preun): GConf2
5d157e09 47Obsoletes: liferea-gtkhtml
711a6809 48Obsoletes: liferea-mozilla
49Obsoletes: liferea-webkit
7d878c33 50BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52%description
c3a7ac07 53Liferea is a GTK+ clone of FeedReader.
e3a76882 54
abc7ef2a
JR
55%description -l pl.UTF-8
56Liferea jest klonem, napisanym za pomocą biblioteki GTK+, programu
c3a7ac07 57FeedReader.
7d878c33 58
59%prep
84e0b8d3 60%setup -q
923f28f9 61%patch0 -p1
5d157e09 62%patch1 -p1
4998f7bb 63
7d878c33 64%build
97d7d603
MB
65%{__glib_gettextize}
66%{__intltoolize}
5d7b95f7 67%{__aclocal}
07652b7c 68%{__libtoolize}
07652b7c 69%{__automake}
711a6809 70%{__autoheader}
07652b7c 71%{__autoconf}
4575ec8b 72%configure \
ce065e76 73 --disable-schemas-install \
cfb7ca5b 74 %{!?with_dbus: --disable-dbus} \
beed1c1e 75 %{!?with_lua: --disable-lua} \
711a6809 76 %{!?with_nm: --disable-nm}
77
7d878c33 78%{__make}
79
80%install
81rm -rf $RPM_BUILD_ROOT
82
83%{__make} install \
711a6809 84 DESTDIR=$RPM_BUILD_ROOT
7d878c33 85
d87234a1
JB
86rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.la
87
deb1b71a 88%find_lang %{name}
89
4575ec8b 90%post
e9666971 91%gconf_schema_install liferea.schemas
dca7406c 92%update_icon_cache hicolor
f6d80c17 93
94%preun
e9666971 95%gconf_schema_uninstall liferea.schemas
4575ec8b 96
dca7406c 97%postun
98%update_icon_cache hicolor
99
7d878c33 100%clean
101rm -rf $RPM_BUILD_ROOT
102
deb1b71a 103%files -f %{name}.lang
7d878c33 104%defattr(644,root,root,755)
14552208 105%doc AUTHORS ChangeLog NEWS README
69d12f62
MB
106%attr(755,root,root) %{_bindir}/liferea
107%attr(755,root,root) %{_bindir}/liferea-add-feed
d87234a1 108%dir %{_libdir}/%{name}
69d12f62 109%attr(755,root,root) %{_libdir}/%{name}/liblinotiflibnotify.so
711a6809 110%if %{with lua}
111%attr(755,root,root) %{_libdir}/%{name}/libliscrlua.so
112%endif
113%{_iconsdir}/hicolor/*/*/*.png
114%{_iconsdir}/hicolor/*/*/*.svg
d8954fa2 115%{_sysconfdir}/gconf/schemas/liferea.schemas
7d878c33 116%{_datadir}/%{name}
711a6809 117%{_desktopdir}/liferea.desktop
b0c9bbae 118%{_mandir}/man1/liferea.1*
95af9119 119%lang(pl) %{_mandir}/pl/man1/liferea.1*
This page took 0.089316 seconds and 4 git commands to generate.