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