%global minor_version 0.0 Name: xfce4-kbdleds-plugin Version: 0.0.6 Release: 1%{?dist} Summary: Xfce panel plugin to show the state of keyboard LEDs Group: User Interface/Desktops License: GPLv2+ URL: http://goodies.xfce.org/projects/panel-plugins/%{name} Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xfce4-panel-devel >= 4.8.0 BuildRequires: libxklavier-devel >= 3.2 BuildRequires: gettext BuildRequires: intltool Requires: xfce4-panel >= 4.8.0 Requires: hicolor-icon-theme %description This panel plugin allows to monitor the state of the keyboard LEDs. It shows the state of the keys Caps-Lock, Scroll and Num Lock in your Xfce panel This is especially helpful if your computer doesn't have those LEDs. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README %{_libdir}/xfce4/panel-plugins/%{name} %{_datadir}/xfce4/panel-plugins/*.desktop %{_datadir}/icons/hicolor/scalable/apps/kbdleds-plugin.svg %{_datadir}/icons/hicolor/48x48/apps/kbdleds-plugin.png %changelog * Sat Jun 16 2012 Johannes Lips <hannes@fedoraproject.org> - 0.0.6-1 - Initial fedora spec.