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