X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=xfce4-datetime-plugin.spec;h=d77845a920149637b195db50f8d7a877e6d7e837;hb=970f341;hp=8cf30786b0af2f0bfbb92cacc7f1577cf44a33a0;hpb=8e8668c4e0dbe8ad18572e6bc7acf761d7c30274;p=packages%2Fxfce4-datetime-plugin.git diff --git a/xfce4-datetime-plugin.spec b/xfce4-datetime-plugin.spec index 8cf3078..d77845a 100644 --- a/xfce4-datetime-plugin.spec +++ b/xfce4-datetime-plugin.spec @@ -1,43 +1,61 @@ -Summary: A date and time plugin for the XFce4 panel -Summary(pl): Plugin pokazuj±cy datê i czas +Summary: A date and time plugin for the Xfce panel +Summary(pl.UTF-8): Wtyczka panelu Xfce pokazująca datę i czas Name: xfce4-datetime-plugin -Version: 0.2 -Release: 1 -License: GPL -Source0: http://download.berlios.de/xfce-goodies/%{name}-%{version}.tar.gz -# Source0-md5: ff4d9b545550fa72eba1c37a5d48edb6 +Version: 0.6.2 +Release: 2 +License: GPL v2 Group: X11/Applications -URL: http://xfce-goodies.berlios.de/ -BuildRequires: xfce4-panel-devel >= 4.0.0 -Requires: xfce4-panel >= 4.0.0 +Source0: http://archive.xfce.org/src/panel-plugins/xfce4-datetime-plugin/0.6/%{name}-%{version}.tar.bz2 +# Source0-md5: fe604a251eadbc5b0f2b4737b85d92c8 +URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-datetime-plugin +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: intltool +BuildRequires: libtool +BuildRequires: libxfce4ui-devel +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 XFce4 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 -Plugin dla panelu XFce4 wy¶wietlaj±cy datê i czas, wyposa¿ony w +%description -l pl.UTF-8 +Wtyczka dla panelu Xfce wyświetlająca datę i czas, wyposażona w kalendarz. %prep %setup -q %build -%{configure} +%{__intltoolize} +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --disable-static %{__make} %install rm -rf $RPM_BUILD_ROOT + %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.la +%{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la +%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK + +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files +%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