1 Summary: A date and time plugin for the Xfce panel
2 Name: xfce4-windowck-plugin
6 Group: X11/Applications
7 Source0: https://github.com/cedl38/xfce4-windowck-plugin/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
8 # Source0-md5: 88e0dea73ed5d6597af86432fcfb4f1c
9 URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-windowck-plugin
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: intltool
13 BuildRequires: libtool
14 BuildRequires: libxfce4ui-devel
15 BuildRequires: xfce4-dev-tools >= 4.11.0
16 BuildRequires: xfce4-panel-devel >= 4.11.0
17 BuildRequires: xfce-preferred-applications
18 Requires: xfce4-panel >= 4.11.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 An additional clock for the Xfce panel which also shows the date, with
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
47 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
52 rm -rf $RPM_BUILD_ROOT
55 %update_icon_cache hicolor
58 %update_icon_cache hicolor
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS NEWS README TODO
63 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwckbuttons.so
64 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwindowck.so
65 %{_datadir}/xfce4/panel/plugins/wckbuttons.desktop
66 %{_datadir}/xfce4/panel/plugins/windowck-plugin.desktop
67 %{_iconsdir}/hicolor/*x*/apps/wckbuttons-plugin.png
68 %{_iconsdir}/hicolor/*x*/apps/windowck-plugin.png
69 %{_datadir}/themes/Windowck