From 07f504c59e56f3b7879b6e205d559e5403f59aea Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Sun, 29 Sep 2013 17:19:09 +0200 Subject: [PATCH] Update to 3.10.0 --- gnome-weather.spec | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/gnome-weather.spec b/gnome-weather.spec index a182359..1fedff1 100644 --- a/gnome-weather.spec +++ b/gnome-weather.spec @@ -1,24 +1,28 @@ Summary: A weather application for GNOME Name: gnome-weather -Version: 3.8.2 +Version: 3.10.0 Release: 1 License: GPL v2+ Group: X11/Applications -Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-weather/3.8/%{name}-%{version}.tar.xz -# Source0-md5: ee473f894a924fb75029fef284748d22 +Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-weather/3.10/%{name}-%{version}.tar.xz +# Source0-md5: 145e6c9cea9734e9e698347b04530acb BuildRequires: autoconf >= 2.63 BuildRequires: automake >= 1:1.11 +BuildRequires: gdk-pixbuf2-devel BuildRequires: gettext-devel BuildRequires: glib2-devel >= 1:2.36.0 BuildRequires: gobject-introspection-devel >= 1.36.0 BuildRequires: gtk+3-devel >= 3.8.0 BuildRequires: intltool >= 0.40.0 +BuildRequires: libgweather-devel >= 3.10.0 BuildRequires: pkgconfig Requires(post,postun): glib2 >= 1:2.36.0 +Requires(post,postun): gtk-update-icon-cache Requires: gjs Requires: glib2 >= 1:2.36.0 Requires: gtk+3 >= 3.8.0 -Requires: libgweather >= 3.8.0 +Requires: hicolor-icon-theme +Requires: libgweather >= 3.10.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -46,26 +50,32 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-weather/*.la +%{__rm} $RPM_BUILD_ROOT%{_libdir}/org.gnome.Weather.Application/*.la -%find_lang %{name} +%find_lang org.gnome.Weather.Application %clean rm -rf $RPM_BUILD_ROOT %post %glib_compile_schemas +%update_icon_cache hicolor %postun %glib_compile_schemas +%update_icon_cache hicolor -%files -f %{name}.lang +%files -f org.gnome.Weather.Application.lang %defattr(644,root,root,755) %doc NEWS %attr(755,root,root) %{_bindir}/gnome-weather -%dir %{_libdir}/gnome-weather -%{_libdir}/gnome-weather/girepository-1.0 -%attr(755,root,root) %{_libdir}/gnome-weather/libgd.so -%{_datadir}/gnome-weather +%dir %{_libdir}/org.gnome.Weather.Application +%{_libdir}/org.gnome.Weather.Application/girepository-1.0 +%attr(755,root,root) %{_libdir}/org.gnome.Weather.Application/libgd.so +%{_datadir}/appdata/org.gnome.Weather.Application.appdata.xml +%{_datadir}/dbus-1/services/org.gnome.Weather.Application.service +%{_datadir}/gnome-shell/search-providers/org.gnome.Weather.Application.search-provider.ini %{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml -%{_desktopdir}/gnome-weather.desktop +%{_datadir}/org.gnome.Weather.Application +%{_desktopdir}/org.gnome.Weather.Application.desktop +%{_iconsdir}/hicolor/*/*/org.gnome.Weather.Application.png -- 2.44.0