]>
Commit | Line | Data |
---|---|---|
ad2960d6 | 1 | Summary: A weather plugin for the Xfce panel |
ccca7484 | 2 | Summary(pl.UTF-8): Wtyczka panelu Xfce pokazująca pogodę |
15d80b33 | 3 | Name: xfce4-weather-plugin |
42b64aec | 4 | Version: 0.10.2 |
25dd66f3 | 5 | Release: 1 |
5a1b400a | 6 | License: GPL |
9cac9e1a | 7 | Group: X11/Applications |
522526bf | 8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.10/%{name}-%{version}.tar.bz2 |
42b64aec | 9 | # Source0-md5: b9625f401ba666adc236443edf12c2b3 |
5a1b400a | 10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin |
089e14be JR |
11 | BuildRequires: autoconf >= 2.63 |
12 | BuildRequires: automake | |
281178b4 | 13 | BuildRequires: gettext-tools |
dbff1470 | 14 | BuildRequires: intltool |
da066ae5 | 15 | BuildRequires: libsoup-devel >= 2.26.0 |
089e14be JR |
16 | BuildRequires: libtool |
17 | BuildRequires: libxfce4ui-devel | |
5a1b400a | 18 | BuildRequires: libxml2-devel >= 1:2.6.27 |
9cac9e1a | 19 | BuildRequires: pkgconfig |
febd85ba | 20 | BuildRequires: rpmbuild(macros) >= 1.601 |
522526bf JR |
21 | BuildRequires: xfce4-dev-tools >= 4.14.0 |
22 | BuildRequires: xfce4-panel-devel >= 4.14.0 | |
febd85ba MB |
23 | Requires: gtk-update-icon-cache |
24 | Requires: hicolor-icon-theme | |
15d80b33 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
ad2960d6 | 28 | A weather plugin for the Xfce panel. |
15d80b33 | 29 | |
ad17ee67 JR |
30 | %description -l pl.UTF-8 |
31 | Wtyczka dla panelu Xfce wyświetlająca pogodę. | |
15d80b33 | 32 | |
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
9cac9e1a JB |
37 | %configure \ |
38 | --disable-static | |
91634936 | 39 | |
15d80b33 | 40 | %{__make} |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
42b64aec | 48 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es,hye,ur_PK} |
60a50782 | 49 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libweather.la |
15d80b33 | 50 | |
5a1b400a | 51 | %find_lang %{name} |
12302477 | 52 | |
15d80b33 | 53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
5a1b400a MB |
56 | %post |
57 | %update_icon_cache hicolor | |
58 | ||
59 | %postun | |
60 | %update_icon_cache hicolor | |
61 | ||
62 | %files -f %{name}.lang | |
15d80b33 | 63 | %defattr(644,root,root,755) |
4d6f3da8 | 64 | %doc AUTHORS ChangeLog NEWS README TODO |
00b5801b SS |
65 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libweather.so |
66 | %{_datadir}/xfce4/panel/plugins/weather.desktop | |
9cac9e1a | 67 | %{_datadir}/xfce4/weather |
5a1b400a | 68 | %{_iconsdir}/hicolor/*/*/xfce4-weather.png |