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