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