Summary: A weather plugin for the Xfce panel
Summary(pl.UTF-8): Wtyczka panelu Xfce pokazująca pogodę
Name: xfce4-weather-plugin
-Version: 0.7.3
+Version: 0.8.4
Release: 2
License: GPL
Group: X11/Applications
-Source0: http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.7/%{name}-%{version}.tar.bz2
-# Source0-md5: b3436929dd94cdd8acc744c474cca5c4
+Source0: http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.8/%{name}-%{version}.tar.bz2
+# Source0-md5: b22241c5b04a6453820b4d85ff938f84
URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: intltool
+BuildRequires: libsoup-devel >= 2.26.0
+BuildRequires: libtool
+BuildRequires: libxfce4ui-devel
BuildRequires: libxml2-devel >= 1:2.6.27
BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: rpmbuild(macros) >= 1.601
BuildRequires: xfce4-dev-tools >= 4.4.0
BuildRequires: xfce4-panel-devel >= 4.4.0
-Requires(post,postun): gtk+2
-Requires(post,postun): hicolor-icon-theme
+Requires: gtk-update-icon-cache
+Requires: hicolor-icon-theme
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/es
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libweather.la
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-weather-plugin
-%{_datadir}/xfce4/panel-plugins/weather.desktop
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libweather.so
+%{_datadir}/xfce4/panel/plugins/weather.desktop
%{_datadir}/xfce4/weather
%{_iconsdir}/hicolor/*/*/xfce4-weather.png