Summary: Xfce panel timer plugin
Summary(pl.UTF-8): Wtyczka panelu Xfce odliczająca czas
Name: xfce4-timer-plugin
-Version: 0.6.1
-Release: 2
+Version: 1.7.2
+Release: 1
License: GPL
Group: X11/Applications
-Source0: http://goodies.xfce.org/releases/xfce4-timer-plugin/%{name}-%{version}.tar.bz2
-# Source0-md5: ba5ae0e25f69517338f74a27fbaf4ca2
+Source0: http://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/1.7/%{name}-%{version}.tar.bz2
+# Source0-md5: 7ef3c9ed6829ce810b26801f5ab6907a
URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin
BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: intltool
BuildRequires: libtool
+BuildRequires: libxfce4ui-devel
BuildRequires: pkgconfig
-BuildRequires: xfce4-dev-tools >= 4.4.0
-BuildRequires: xfce4-panel-devel >= 4.4.0
-Requires: xfce4-panel >= 4.4.0
+BuildRequires: xfce4-dev-tools >= 4.14.0
+BuildRequires: xfce4-panel-devel >= 4.14.0
+Requires: xfce4-panel >= 4.14.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%setup -q
%build
-%{__intltoolize}
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-
-mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfcetimer.la
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ie,ur_PK}
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-timer
-%{_datadir}/xfce4/panel-plugins/xfce4-timer.desktop
+%doc AUTHORS ChangeLog README.md TODO
+%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfcetimer.so
+%{_iconsdir}/hicolor/*x*/apps/xfce4-timer-plugin.png
+%{_iconsdir}/hicolor/scalable/apps/xfce4-timer-plugin.svg
+%{_datadir}/xfce4/panel/plugins/xfce4-timer-plugin.desktop