|
@@ -1,5 +1,5 @@
|
|
Name: liferea
|
|
Name: liferea
|
|
-Version: 1.8.15
|
|
|
|
|
|
+Version: 1.10.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
@@ -7,18 +7,34 @@ URL: http://liferea.sourceforge.net/
|
|
Source0: http://prdownloads.sourceforge.net/liferea/%{name}-%{version}.tar.bz2
|
|
Source0: http://prdownloads.sourceforge.net/liferea/%{name}-%{version}.tar.bz2
|
|
#Patch0: lX11.patch
|
|
#Patch0: lX11.patch
|
|
|
|
|
|
-Requires(post): GConf2
|
|
|
|
-Requires(preun): GConf2
|
|
|
|
-
|
|
|
|
-BuildRequires: GConf2-devel gtk2-devel gnome-vfs2-devel
|
|
|
|
-BuildRequires: libxml2-devel zlib-devel gettext
|
|
|
|
-BuildRequires: libxslt-devel sqlite3-devel libglade2-devel
|
|
|
|
-BuildRequires: libnotify-devel gnutls-devel
|
|
|
|
-BuildRequires: dbus-devel dbus-glib-devel
|
|
|
|
-BuildRequires: libsoup-devel WebKit-gtk-devel
|
|
|
|
-BuildRequires: intltool >= 0.35
|
|
|
|
-BuildRequires: libtool libSM-devel perl-XML-Parser
|
|
|
|
-BuildRequires: unique-devel json-glib-devel
|
|
|
|
|
|
+#Requires(post): GConf2
|
|
|
|
+#Requires(preun): GConf2
|
|
|
|
+
|
|
|
|
+BuildRequires: dbus-devel
|
|
|
|
+BuildRequires: dbus-glib-devel
|
|
|
|
+BuildRequires: gettext
|
|
|
|
+BuildRequires: gnome-vfs2-devel
|
|
|
|
+BuildRequires: gnutls-devel
|
|
|
|
+BuildRequires: gsettings-desktop-schemas-devel
|
|
|
|
+BuildRequires: gtk3-devel
|
|
|
|
+BuildRequires: gnutls-devel
|
|
|
|
+BuildRequires: gnome-vfs2-devel
|
|
|
|
+BuildRequires: intltool >= 0.40.3
|
|
|
|
+BuildRequires: json-glib-devel
|
|
|
|
+BuildRequires: libglade2-devel
|
|
|
|
+BuildRequires: libnotify-devel
|
|
|
|
+BuildRequires: libpeas-devel
|
|
|
|
+BuildRequires: libSM-devel
|
|
|
|
+BuildRequires: libsoup-devel
|
|
|
|
+BuildRequires: libtool
|
|
|
|
+BuildRequires: libxml2-devel
|
|
|
|
+BuildRequires: libxslt-devel
|
|
|
|
+BuildRequires: perl-XML-Parser
|
|
|
|
+BuildRequires: sqlite3-devel
|
|
|
|
+BuildRequires: unique-devel
|
|
|
|
+BuildRequires: WebKit3-gtk-devel
|
|
|
|
+BuildRequires: zlib-devel
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
Summary: aggregator for online news feeds
|
|
Summary: aggregator for online news feeds
|
|
@@ -60,15 +76,16 @@ Liferea は Linux Feed Reader を省略したものです。
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
#%patch0 -p1 -b .lX11
|
|
#%patch0 -p1 -b .lX11
|
|
|
|
+sed -i 's/MimeType=application\/rss+xml;application\/atom+xml;application\/rdf+xml/&;/g' liferea.desktop.in
|
|
|
|
|
|
%build
|
|
%build
|
|
#libtoolize --copy --force
|
|
#libtoolize --copy --force
|
|
-%configure --disable-schemas-install --enable-static=no
|
|
|
|
|
|
+%configure --enable-static=no
|
|
%{__make} %{?_smp_mflags}
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
%{__rm} -rf %{buildroot}
|
|
%{__rm} -rf %{buildroot}
|
|
-%makeinstall
|
|
|
|
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/liferea/*.{a,la}
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/liferea/*.{a,la}
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
|
@@ -78,11 +95,10 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
|
%clean
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
-%preun
|
|
|
|
-GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null
|
|
|
|
|
|
+%posttrans
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
%post
|
|
%post
|
|
-GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
@@ -93,18 +109,35 @@ touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
fi
|
|
fi
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog INSTALL README
|
|
%doc AUTHORS COPYING ChangeLog INSTALL README
|
|
-%config %{_sysconfdir}/gconf/schemas/*
|
|
|
|
|
|
+#%config %{_sysconfdir}/gconf/schemas/*
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
%{_datadir}/applications/*
|
|
%{_datadir}/applications/*
|
|
%{_datadir}/%{name}/*
|
|
%{_datadir}/%{name}/*
|
|
%{_datadir}/icons/*
|
|
%{_datadir}/icons/*
|
|
|
|
+%{_datadir}/glib-2.0/schemas/*
|
|
|
|
+%{_libdir}/%{name}/girepository-1.0/*
|
|
|
|
+%{_libdir}/%{name}/plugins/*
|
|
%{_mandir}/man?/*
|
|
%{_mandir}/man?/*
|
|
|
|
+%{_mandir}/pl/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Jul 20 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.10.0-1
|
|
|
|
+- new upstream release
|
|
|
|
+- maintained BuildRequires
|
|
|
|
+ - added: libpeas-devel, gsettings-desktop-schemas-devel
|
|
|
|
+ - changed: gtk2-devel to gtk3-devel
|
|
|
|
+ WebKit-gtk-devel to WebKit3-gtk-devel
|
|
|
|
+ intltool >= 0.35 to intltool >= 0.40.4
|
|
|
|
+ - deleted: GConf2-devel
|
|
|
|
+- deleted Requires: GConf2
|
|
|
|
+- deleted unrecognized option: --disable-schemas-install
|
|
|
|
+- run glib-compile-schemas in %posttrans, %postun
|
|
|
|
+
|
|
* Sat Jun 29 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.8.15-1
|
|
* Sat Jun 29 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.8.15-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|