]> git.pld-linux.org Git - packages/xfce4-weather-plugin.git/blob - xfce4-weather-plugin.spec
- up to 0.6.0 (for Xfce 4.4.0)
[packages/xfce4-weather-plugin.git] / xfce4-weather-plugin.spec
1 Summary:        A weather plugin for the Xfce panel
2 Summary(pl):    Wtyczka panelu Xfce pokazuj±ca pogodê
3 Name:           xfce4-weather-plugin
4 Version:        0.6.0
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:  6d7ed190950b2cc99c70b9481169f9fa
10 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  gettext-devel
14 BuildRequires:  libtool
15 BuildRequires:  libxml2-devel >= 1:2.6.27
16 BuildRequires:  pkgconfig
17 BuildRequires:  rpmbuild(macros) >= 1.311
18 BuildRequires:  xfce4-dev-tools >= 4.4.0
19 BuildRequires:  xfce4-panel-devel >= 4.4.0
20 Requires(post,postun):  gtk+2
21 Requires(post,postun):  hicolor-icon-theme
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 A weather plugin for the Xfce panel.
26
27 %description -l pl
28 Wtyczka dla panelu Xfce wy¶wietlaj±ca pogodê.
29
30 %prep
31 %setup -q
32
33 %build
34 %{__libtoolize}
35 %{__aclocal}
36 %{__autoheader}
37 %{__automake}
38 %{__autoconf}
39 %configure \
40         --disable-static
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.la
50
51 %find_lang %{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 %update_icon_cache hicolor
58
59 %postun
60 %update_icon_cache hicolor
61
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog README
65 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-weather-plugin
66 %{_datadir}/xfce4/panel-plugins/weather.desktop
67 %{_datadir}/xfce4/weather
68 %{_iconsdir}/hicolor/*/*/xfce4-weather.png
This page took 0.039746 seconds and 4 git commands to generate.