diff --git a/.gitignore b/.gitignore index e69de29..284cceb 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/xfce4-kbdleds-plugin-0.0.6.tar.bz2 diff --git a/sources b/sources index e69de29..d07ada8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +db6ad8e3502f3373f087ba2034141552 xfce4-kbdleds-plugin-0.0.6.tar.bz2 diff --git a/xfce4-kbdleds-plugin.spec b/xfce4-kbdleds-plugin.spec new file mode 100644 index 0000000..43abdd6 --- /dev/null +++ b/xfce4-kbdleds-plugin.spec @@ -0,0 +1,52 @@ +%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 - 0.0.6-1 +- Initial fedora spec.