]>
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 |
febd85ba MB |
4 | Version: 0.7.4 |
5 | Release: 1 | |
5a1b400a | 6 | License: GPL |
9cac9e1a | 7 | Group: X11/Applications |
91634936 | 8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.7/%{name}-%{version}.tar.bz2 |
febd85ba | 9 | # Source0-md5: 03c972d13eba5cd226432ff66e3ff282 |
5a1b400a | 10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin |
0b16db97 | 11 | BuildRequires: gettext-devel |
dbff1470 | 12 | BuildRequires: intltool |
5a1b400a | 13 | BuildRequires: libxml2-devel >= 1:2.6.27 |
9cac9e1a | 14 | BuildRequires: pkgconfig |
febd85ba | 15 | BuildRequires: rpmbuild(macros) >= 1.601 |
aad230a9 MB |
16 | BuildRequires: xfce4-dev-tools >= 4.4.0 |
17 | BuildRequires: xfce4-panel-devel >= 4.4.0 | |
febd85ba MB |
18 | Requires: gtk-update-icon-cache |
19 | Requires: hicolor-icon-theme | |
15d80b33 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
ad2960d6 | 23 | A weather plugin for the Xfce panel. |
15d80b33 | 24 | |
ad17ee67 JR |
25 | %description -l pl.UTF-8 |
26 | Wtyczka dla panelu Xfce wyświetlająca pogodę. | |
15d80b33 | 27 | |
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
9cac9e1a JB |
32 | %configure \ |
33 | --disable-static | |
91634936 | 34 | |
15d80b33 | 35 | %{__make} |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
febd85ba | 43 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
15d80b33 | 44 | |
5a1b400a | 45 | %find_lang %{name} |
12302477 | 46 | |
15d80b33 | 47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
5a1b400a MB |
50 | %post |
51 | %update_icon_cache hicolor | |
52 | ||
53 | %postun | |
54 | %update_icon_cache hicolor | |
55 | ||
56 | %files -f %{name}.lang | |
15d80b33 | 57 | %defattr(644,root,root,755) |
5a1b400a MB |
58 | %doc AUTHORS ChangeLog README |
59 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-weather-plugin | |
60 | %{_datadir}/xfce4/panel-plugins/weather.desktop | |
9cac9e1a | 61 | %{_datadir}/xfce4/weather |
5a1b400a | 62 | %{_iconsdir}/hicolor/*/*/xfce4-weather.png |