-%define _xfce 4.1.99.2
Summary: A date and time plugin for the Xfce panel
Summary(pl): Wtyczka panelu Xfce pokazuj±ca datê i czas
Name: xfce4-datetime-plugin
-Version: 0.3.1
-Release: 4
+Version: 0.4.1
+Release: 1
License: GPL
Group: X11/Applications
-Source0: http://download.berlios.de/xfce-goodies/%{name}-%{version}.tar.gz
-# Source0-md5: 92b7ebee7f0c8074f5cf590f77f676f2
-URL: http://xfce-goodies.berlios.de/
+Source0: http://goodies.xfce.org/releases/xfce4-datetime-plugin/%{name}-%{version}.tar.gz
+# Source0-md5: b21889b5c220f2dac8abdb63a6ed253d
+URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-datetime-plugin
+BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: xfce4-panel-devel >= %{_xfce}
-Requires: xfce4-panel >= %{_xfce}
+BuildRequires: intltool
+BuildRequires: libtool
+BuildRequires: xfce4-dev-tools >= 4.4.0
+BuildRequires: xfce4-panel-devel >= 4.4.0
+Requires: xfce4-panel >= 4.4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-An additional clock for the Xfce panel which also shows the date,
-with adjustable font.
+An additional clock for the Xfce panel which also shows the date, with
+adjustable font.
%description -l pl
Wtyczka dla panelu Xfce wy¶wietlaj±ca datê i czas, wyposa¿ona w
%build
cp -f /usr/share/automake/config.sub .
-%configure
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --disable-static
%{__make}
%install
rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.la
-%find_lang xfce4-datetime
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%files -f xfce4-datetime.lang
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
+%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/libdatetime.so
+%{_datadir}/xfce4/panel-plugins/datetime.desktop