1 Summary: A weather plugin for the Xfce panel
2 Summary(pl.UTF-8): Wtyczka panelu Xfce pokazująca pogodę
3 Name: xfce4-weather-plugin
7 Group: X11/Applications
8 Source0: http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.8/%{name}-%{version}.tar.bz2
9 # Source0-md5: 755b33089c02afe88abb39253003a7f3
10 URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
11 BuildRequires: autoconf >= 2.63
12 BuildRequires: automake
13 BuildRequires: gettext-devel
14 BuildRequires: intltool
15 BuildRequires: libsoup-devel >= 2.26.0
16 BuildRequires: libtool
17 BuildRequires: libxfce4ui-devel
18 BuildRequires: libxml2-devel >= 1:2.6.27
19 BuildRequires: pkgconfig
20 BuildRequires: rpmbuild(macros) >= 1.601
21 BuildRequires: xfce4-dev-tools >= 4.4.0
22 BuildRequires: xfce4-panel-devel >= 4.4.0
23 Requires: gtk-update-icon-cache
24 Requires: hicolor-icon-theme
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 A weather plugin for the Xfce panel.
30 %description -l pl.UTF-8
31 Wtyczka dla panelu Xfce wyświetlająca pogodę.
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
54 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
55 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/es
56 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libweather.la
61 rm -rf $RPM_BUILD_ROOT
64 %update_icon_cache hicolor
67 %update_icon_cache hicolor
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README TODO
72 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libweather.so
73 %{_datadir}/xfce4/panel/plugins/weather.desktop
74 %{_datadir}/xfce4/weather
75 %{_iconsdir}/hicolor/*/*/xfce4-weather.png