Summary(pl.UTF-8): Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
Name: libgweather
Version: 3.0.2
-Release: 1
+Release: 2
License: GPL v2+
Group: X11/Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.0/%{name}-%{version}.tar.bz2
find $RPM_BUILD_ROOT -name "Locations.*.xml" | sed 's:'"$RPM_BUILD_ROOT"'::
s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather-3.0.lang
+# gnome-icon-theme doesn't provide this directory
+rm -rf $RPM_BUILD_ROOT%{_iconsdir}/gnome/scalable
+
%clean
rm -rf $RPM_BUILD_ROOT
%dir %{_datadir}/libgweather
%{_datadir}/libgweather/Locations.xml
%{_datadir}/libgweather/locations.dtd
-%{_iconsdir}/gnome/*/status/*.png
-# XXX: gnome-icon-theme doesn't provide this directory
-%{_iconsdir}/gnome/scalable
+%{_iconsdir}/gnome/*x*/status/*.png
%{_libdir}/girepository-1.0/GWeather-3.0.typelib
%files devel