]>
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 |
3f91ce4f SS |
4 | Version: 0.8.3 |
5 | Release: 0.1 | |
5a1b400a | 6 | License: GPL |
9cac9e1a | 7 | Group: X11/Applications |
3f91ce4f SS |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.8/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 755b33089c02afe88abb39253003a7f3 | |
089e14be | 10 | Patch0: %{name}-ui.patch |
5a1b400a | 11 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin |
089e14be JR |
12 | BuildRequires: autoconf >= 2.63 |
13 | BuildRequires: automake | |
0b16db97 | 14 | BuildRequires: gettext-devel |
dbff1470 | 15 | BuildRequires: intltool |
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 |
aad230a9 MB |
21 | BuildRequires: xfce4-dev-tools >= 4.4.0 |
22 | BuildRequires: xfce4-panel-devel >= 4.4.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 | |
089e14be | 35 | %patch0 -p1 |
15d80b33 | 36 | |
37 | %build | |
089e14be JR |
38 | %{__intltoolize} |
39 | %{__libtoolize} | |
40 | %{__aclocal} | |
41 | %{__autoconf} | |
42 | %{__autoheader} | |
43 | %{__automake} | |
9cac9e1a JB |
44 | %configure \ |
45 | --disable-static | |
91634936 | 46 | |
15d80b33 | 47 | %{__make} |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
febd85ba | 55 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
15d80b33 | 56 | |
5a1b400a | 57 | %find_lang %{name} |
12302477 | 58 | |
15d80b33 | 59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
5a1b400a MB |
62 | %post |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %postun | |
66 | %update_icon_cache hicolor | |
67 | ||
68 | %files -f %{name}.lang | |
15d80b33 | 69 | %defattr(644,root,root,755) |
5a1b400a MB |
70 | %doc AUTHORS ChangeLog README |
71 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-weather-plugin | |
72 | %{_datadir}/xfce4/panel-plugins/weather.desktop | |
9cac9e1a | 73 | %{_datadir}/xfce4/weather |
5a1b400a | 74 | %{_iconsdir}/hicolor/*/*/xfce4-weather.png |