]> git.pld-linux.org Git - packages/liferea.git/blobdiff - liferea.spec
- sorted BRs
[packages/liferea.git] / liferea.spec
index 4bee5b1e93a76adf053a994d6a69fde9fd666d17..54a4530fb3fd5255c98991c9a0cbf4ea7324bcc2 100644 (file)
@@ -1,67 +1,47 @@
-# TODO:
-# - create subpackage -lua (?)
-#
-# Conditional build:
-%bcond_without dbus            # without DBUS support
-%bcond_without gtkhtml         # without GtkHTML
-%bcond_without xulrunner       # without XULRunner backend
-%bcond_without lua             # without LUA scripting support
-%bcond_with    nm              # with NetworkManager support
-%bcond_without webkit          # without WebKit backend
-#
-%ifarch %{x8664}
-%undefine      with_gtkhtml    # GtkHTML backend disabled on x86_64
-%endif
 Summary:       A RSS feed reader
 Summary(pl.UTF-8):     Program do pobierania informacji w formacie RSS
 Name:          liferea
-Version:       1.4.23
+Version:       1.8.0
 Release:       1
-License:       GPL v2
+License:       GPL v2+
 Group:         X11/Applications/Networking
-Source0:       http://dl.sourceforge.net/liferea/%{name}-%{version}.tar.gz
-# Source0-md5: 7772f04bd3ed995b7ce36e52d26ec088
+Source0:       http://downloads.sourceforge.net/liferea/%{name}-%{version}.tar.gz
+# Source0-md5: 6313e3049b586be110c9402900609fe0
 Patch0:                %{name}-desktop.patch
-Patch1:                %{name}-xulrunner.patch
-Patch2:                %{name}-lua51.patch
-Patch3:                %{name}-ac.patch
 URL:           http://liferea.sourceforge.net/
 BuildRequires: GConf2-devel >= 2.10.0
-%{?with_nm:BuildRequires:      NetworkManager-devel}
 BuildRequires: autoconf >= 2.59
-BuildRequires: automake
-%{?with_dbus:BuildRequires:    dbus-glib-devel >= 0.33}
+BuildRequires: automake >= 1:1.6
+BuildRequires: avahi-glib-devel >= 0.6.0
+BuildRequires: geoclue-devel
 BuildRequires: gettext-devel
-BuildRequires: gnutls-devel
-BuildRequires: gtk+2-devel >= 2:2.8.0
-%{?with_webkit:BuildRequires:  gtk-webkit-devel}
-BuildRequires: intltool >= 0.35.5
-BuildRequires: libglade2-devel >= 2.0.0
-%{?with_gtkhtml:BuildRequires: libgtkhtml-devel >= 2.6.3}
-BuildRequires: libnotify-devel >= 0.3.2
-BuildRequires: libstdc++-devel
+BuildRequires: glib2-devel >= 1:2.26.0
+BuildRequires: gstreamer-devel >= 0.10
+BuildRequires: gtk+2-devel >= 2:2.18.0
+BuildRequires: gtk-webkit-devel >= 1.2.2
+BuildRequires: intltool >= 0.40.0
+BuildRequires: json-glib-devel
+BuildRequires: libglade2-devel >= 1:2.0.0
+BuildRequires: libnotify-devel >= 0.7.0
+BuildRequires: libsoup-devel >= 2.28.2
 BuildRequires: libtool
+BuildRequires: libunique-devel
 BuildRequires: libxml2-devel >= 1:2.6.27
 BuildRequires: libxslt-devel >= 1.1.19
-%{?with_lua:BuildRequires:     lua51-devel}
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel
-%{?with_xulrunner:BuildRequires:       xulrunner-devel >= 1.9-5}
-Requires(post,postun): gtk+2
-Requires(post,postun): hicolor-icon-theme
+BuildRequires: sqlite3-devel >= 3.6.10
+BuildRequires: xorg-lib-libSM-devel
 Requires(post,preun):  GConf2
-Requires:      %{name}-backend = %{version}-%{release}
-%ifarch %{x8664}
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): hicolor-icon-theme
+Requires:      glib2 >= 1:2.26.0
+Requires:      gtk+2 >= 2:2.18.0
 Obsoletes:     liferea-gtkhtml
-%endif
+Obsoletes:     liferea-mozilla
+Obsoletes:     liferea-webkit
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _noautoreqdep   libgtkembedmoz.so libxpcom.so
-# we have strict deps for it
-%define                _noautoreq      libxpcom.so
-
 %description
 Liferea is a GTK+ clone of FeedReader.
 
@@ -69,79 +49,29 @@ Liferea is a GTK+ clone of FeedReader.
 Liferea jest klonem, napisanym za pomocą biblioteki GTK+, programu
 FeedReader.
 
-%package gtkhtml
-Summary:       GtkHTML module for Liferea
-Summary(pl.UTF-8):     Moduł GtkHTML dla Liferea
-Group:         X11/Applications/Networking
-Requires:      %{name} = %{version}-%{release}
-Provides:      %{name}-backend = %{version}-%{release}
-
-%description gtkhtml
-GtkHTML module for Liferea.
-
-%description gtkhtml -l pl.UTF-8
-Moduł GtkHTML dla Liferea.
-
-%package mozilla
-Summary:       Mozilla HTML browser module for Liferea
-Summary(pl.UTF-8):     Moduł przeglądarki HTML dla Liferea oparty na Mozilli
-Group:         X11/Applications/Networking
-Requires:      %{name} = %{version}-%{release}
-%requires_eq_to        xulrunner xulrunner-devel
-Provides:      %{name}-backend = %{version}-%{release}
-
-%description mozilla
-Mozilla HTML browser module for Liferea.
-
-%description mozilla -l pl.UTF-8
-Moduł przeglądarki HTML dla Liferea oparty na Mozilli.
-
-%package webkit
-Summary:       WebKit module for Liferea
-Summary(pl.UTF-8):     Moduł WebKit dla Liferea
-Group:         X11/Applications/Networking
-Requires:      %{name} = %{version}-%{release}
-Provides:      %{name}-backend = %{version}-%{release}
-
-%description webkit
-WebKit module for Liferea.
-
-%description webkit -l pl.UTF-8
-Moduł WebKit dla Liferea.
-
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
 
 %build
 %{__glib_gettextize}
 %{__intltoolize}
-%{__aclocal} -I m4
+%{__aclocal}
 %{__libtoolize}
-%{__autoheader}
 %{__automake}
+%{__autoheader}
 %{__autoconf}
 %configure \
        --disable-schemas-install \
-       %{!?with_dbus: --disable-dbus} \
-       %{!?with_gtkhtml: --disable-gtkhtml2} \
-       %{!?with_lua: --disable-lua} \
-       %{!?with_nm: --disable-nm} \
-       %{!?with_xulrunner: --disable-gecko} \
-       %{!?with_webkit: --disable-webkit}
+       --disable-silent-rules
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-
-rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.la
+       DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name}
 
@@ -160,36 +90,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/liferea
 %attr(755,root,root) %{_bindir}/liferea-add-feed
-%attr(755,root,root) %{_bindir}/liferea-bin
-%dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/liblinotiflibnotify.so
-%{_iconsdir}/hicolor/48x48/apps/liferea.png
+%{_iconsdir}/hicolor/*/*/*.png
+%{_iconsdir}/hicolor/*/*/*.svg
 %{_sysconfdir}/gconf/schemas/liferea.schemas
 %{_datadir}/%{name}
-%{_desktopdir}/*.desktop
+%{_desktopdir}/liferea.desktop
 %{_mandir}/man1/liferea.1*
 %{_mandir}/pl/man1/liferea.1*
-%if %{with lua}
-%attr(755,root,root) %{_libdir}/%{name}/libliscrlua.so
-%endif
-
-%if %{with gtkhtml}
-%files gtkhtml
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/liblihtmlg.so
-%endif
-
-%if %{with xulrunner}
-%files mozilla
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/liblihtmlx.so
-%endif
-
-%if %{with webkit}
-%files webkit
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/liblihtmlw.so
-%endif
This page took 0.052582 seconds and 4 git commands to generate.