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