]> git.pld-linux.org Git - packages/xfce4-weather-plugin.git/blobdiff - xfce4-weather-plugin.spec
- removed autocrap regen
[packages/xfce4-weather-plugin.git] / xfce4-weather-plugin.spec
index fd8ef5cca0f11b91b44912251007a860ee9c700e..b1a180db5adf1aefbc398f16c1bf72cb57be3c04 100644 (file)
@@ -1,39 +1,42 @@
-Summary:       A weather plugin for the XFce4 panel
-Summary(pl):   Wtyczka panelu XFce4 pokazuj±ca pogodê
+Summary:       A weather plugin for the Xfce panel
+Summary(pl.UTF-8):     Wtyczka panelu Xfce pokazująca pogodę
 Name:          xfce4-weather-plugin
-Version:       0.3.9.1
-Release:       1
-License:       BSD
+Version:       0.8.4
+Release:       2
+License:       GPL
 Group:         X11/Applications
-Source0:       http://download.berlios.de/xfce-goodies/%{name}-%{version}.tar.bz2
-# Source0-md5: a124a22ba65d0667f513ad6fae83c626
-URL:           http://xfce-goodies.berlios.de/
-BuildRequires: autoconf >= 2.50
+Source0:       http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.8/%{name}-%{version}.tar.bz2
+# Source0-md5: b22241c5b04a6453820b4d85ff938f84
+URL:           http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
+BuildRequires: autoconf >= 2.63
 BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: intltool
+BuildRequires: libsoup-devel >= 2.26.0
 BuildRequires: libtool
-BuildRequires: libxml2-devel >= 2.0
+BuildRequires: libxfce4ui-devel
+BuildRequires: libxml2-devel >= 1:2.6.27
 BuildRequires: pkgconfig
-BuildRequires: xfce4-panel-devel >= 4.0.0
-Requires:      xfce4-panel >= 4.0.0
+BuildRequires: rpmbuild(macros) >= 1.601
+BuildRequires: xfce4-dev-tools >= 4.4.0
+BuildRequires: xfce4-panel-devel >= 4.4.0
+Requires:      gtk-update-icon-cache
+Requires:      hicolor-icon-theme
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A weather plugin for the XFce4 panel.
+A weather plugin for the Xfce panel.
 
-%description -l pl
-Wtyczka dla panelu XFce4 wy¶wietlaj±ca pogodê.
+%description -l pl.UTF-8
+Wtyczka dla panelu Xfce wyświetlająca pogodę.
 
 %prep
 %setup -q
 
 %build
-%{__libtoolize}
-%{__aclocal} -I %{_datadir}/xfce4/m4
-%{__autoheader}
-%{__automake}
-%{__autoconf}
 %configure \
        --disable-static
+
 %{__make}
 
 %install
@@ -42,13 +45,25 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.la
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/es
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libweather.la
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog README
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libweather.so
+%{_datadir}/xfce4/panel/plugins/weather.desktop
 %{_datadir}/xfce4/weather
+%{_iconsdir}/hicolor/*/*/xfce4-weather.png
This page took 0.076277 seconds and 4 git commands to generate.