]> git.pld-linux.org Git - packages/xfce4-weather-plugin.git/blame - xfce4-weather-plugin.spec
- new
[packages/xfce4-weather-plugin.git] / xfce4-weather-plugin.spec
CommitLineData
ad2960d6 1Summary: A weather plugin for the Xfce panel
ccca7484 2Summary(pl.UTF-8): Wtyczka panelu Xfce pokazująca pogodę
15d80b33 3Name: xfce4-weather-plugin
525a7606 4Version: 0.6.2
6e1a76d1 5Release: 1
5a1b400a 6License: GPL
9cac9e1a 7Group: X11/Applications
5a1b400a 8Source0: http://goodies.xfce.org/releases/xfce4-weather-plugin/%{name}-%{version}.tar.bz2
525a7606
MB
9# Source0-md5: ba89c4f384d3a32afd0b33acad021af0
10Patch0: %{name}-locale-names.patch
5a1b400a 11URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
9cac9e1a 12BuildRequires: autoconf >= 2.50
15d80b33 13BuildRequires: automake
0b16db97 14BuildRequires: gettext-devel
525a7606 15BuildRequires: intltool
5a1b400a 16BuildRequires: libxml2-devel >= 1:2.6.27
9cac9e1a 17BuildRequires: pkgconfig
aad230a9
MB
18BuildRequires: rpmbuild(macros) >= 1.311
19BuildRequires: xfce4-dev-tools >= 4.4.0
20BuildRequires: xfce4-panel-devel >= 4.4.0
5a1b400a
MB
21Requires(post,postun): gtk+2
22Requires(post,postun): hicolor-icon-theme
15d80b33 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
ad2960d6 26A weather plugin for the Xfce panel.
15d80b33 27
ad17ee67
JR
28%description -l pl.UTF-8
29Wtyczka dla panelu Xfce wyświetlająca pogodę.
15d80b33 30
31%prep
32%setup -q
525a7606
MB
33%patch0 -p1
34
35mv -f po/{nb_NO,nb}.po
36mv -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
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
9cac9e1a 54rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.la
15d80b33 55
5a1b400a 56%find_lang %{name}
12302477 57
15d80b33 58%clean
59rm -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
This page took 0.081173 seconds and 4 git commands to generate.