]> git.pld-linux.org Git - packages/xfce4-datetime-plugin.git/blobdiff - xfce4-datetime-plugin.spec
- remove non existing locale
[packages/xfce4-datetime-plugin.git] / xfce4-datetime-plugin.spec
index 8cf30786b0af2f0bfbb92cacc7f1577cf44a33a0..d77845a920149637b195db50f8d7a877e6d7e837 100644 (file)
@@ -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
This page took 0.085707 seconds and 4 git commands to generate.