]> git.pld-linux.org Git - packages/xfce4-weather-plugin.git/blob - xfce4-weather-plugin.spec
- up to 0.11.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.11.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.11/%{name}-%{version}.tar.bz2
9 # Source0-md5:  9f9743d9bb03924f8524a7dd0092fd6b
10 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
11 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake
13 BuildRequires:  gettext-tools
14 BuildRequires:  intltool
15 BuildRequires:  libsoup-devel >= 2.26.0
16 BuildRequires:  libtool
17 BuildRequires:  libxfce4ui-devel
18 BuildRequires:  libxml2-devel >= 1:2.6.27
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpmbuild(macros) >= 1.601
21 BuildRequires:  xfce4-dev-tools >= 4.14.0
22 BuildRequires:  xfce4-panel-devel >= 4.14.0
23 Requires:       gtk-update-icon-cache
24 Requires:       hicolor-icon-theme
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 A weather plugin for the Xfce panel.
29
30 %description -l pl.UTF-8
31 Wtyczka dla panelu Xfce wyświetlająca pogodę.
32
33 %prep
34 %setup -q
35
36 %build
37 %configure \
38         --disable-static
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es,hye,ur_PK}
49 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libweather.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 NEWS README
65 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libweather.so
66 %{_datadir}/xfce4/panel/plugins/weather.desktop
67 %{_datadir}/xfce4/weather
68 %{_iconsdir}/hicolor/*/*/org.xfce.panel.weather.png
69 %{_iconsdir}/hicolor/*/*/org.xfce.panel.weather.svg
This page took 0.107707 seconds and 4 git commands to generate.