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