%define kdedir /opt/kde3 Name: macbook-tools Version: 0.4.0 Release: 1mamba Summary: Utilities for Apple MacBook and MacBook Pro Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://gitlab.openmamba.org/openmamba/macbook-tools Source: http://gitlab.mambasoft.it/openmamba/macbook-tools.git/macbook-tools-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: libpci-devel >= 2.2.0 BuildRequires: libusb-devel >= 0.1.12 AutoReq: 0 Requires: xbindkeys >= 1.7.3 Requires: lirc >= 0.8.1pre1 Requires: isight-firmware-tools Requires: xkbset Requires: kbd >= 1.15.3-2mamba Obsoletes: imac-utils %systemd_requires BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Utilities for Apple MacBook and MacBook Pro. Currently contains the backlight tool for MacBook for screen backlight handling and the applesmc tool for keyboard backlight, light and motion sensors. %prep %setup -q %build %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post [ -e /etc/init.d/macbook-tools ] && /sbin/chkconfig --del macbook-tools > /dev/null || true exit 0 %posttrans # cleanup obsolete sysv broken links systemctl -q daemon-reload 2>&1 || : find /etc/rc*.d/* -xtype l -delete 2>/dev/null exit 0 %files %defattr(-,root,root) %{_unitdir}/appleir.service %{_unitdir}/applesmcd.service %{_bindir}/backlight %{_bindir}/applesmc %{_bindir}/macbook-set-input %{_sbindir}/applesmcd /lib/modprobe.d/macbook.conf %doc COPYING %changelog * Tue Mar 24 2015 Silvan Calarco 0.4.0-1mamba - update to 0.4.0 * Sun Apr 14 2013 Silvan Calarco 0.3.27-1mamba - update to 0.3.27 * Thu Jan 24 2013 Silvan Calarco 0.3.26-1mamba - update to 0.3.26 * Sat Jan 21 2012 Silvan Calarco 0.3.25-1mamba - update to 0.3.25 * Thu Sep 01 2011 Silvan Calarco 0.3.24-1mamba - update to 0.3.24 - don't configure it-macbook console keyboard mapping in post script * Mon Aug 03 2009 Silvan Calarco 0.3.23-1mamba - update to 0.3.23 * Sat Jul 25 2009 Silvan Calarco 0.3.22-1mamba - update to 0.3.22 - added requirement for xkbset * Mon Jun 29 2009 Silvan Calarco 0.3.21-1mamba - update to 0.3.21 * Thu Jun 25 2009 Silvan Calarco 0.3.20-2mamba - macbook-lightd: removed debug code * Tue Jun 23 2009 Silvan Calarco 0.3.20-1mamba - update to 0.3.20 * Tue Feb 24 2009 Silvan Calarco 0.3.19-1mamba - update to 0.3.19 * Mon Apr 14 2008 Silvan Calarco 0.3.18-1mamba - update to 0.3.18 - added requirement for isight-firmware-tools * Sun Mar 09 2008 Silvan Calarco 0.3.17-1mamba - update to 0.3.17 * Fri Feb 01 2008 Silvan Calarco 0.3.16-1mamba - update to 0.3.16 * Tue Jan 08 2008 Silvan Calarco 0.3.15-1mamba - update to 0.3.15 * Fri Nov 23 2007 Silvan Calarco 0.3.14-2mamba - remove requirement for cpufreqd * Sun Nov 11 2007 Silvan Calarco 0.3.14-1mamba - update to 0.3.14 * Wed Sep 12 2007 Silvan Calarco 0.3.13-1mamba - update to 0.3.13 * Mon Sep 10 2007 Silvan Calarco 0.3.12-1mamba - update to 0.3.12 * Fri Aug 31 2007 Silvan Calarco 0.3.11-1mamba - update to 0.3.11 * Wed Aug 15 2007 Silvan Calarco 0.3.10-1mamba - update to 0.3.10 * Mon Aug 06 2007 Silvan Calarco 0.3.9-1mamba - update to 0.3.9 * Fri Aug 03 2007 Silvan Calarco 0.3.8-1mamba - update to 0.3.8 * Fri Mar 09 2007 Silvan Calarco 0.3.7-1qilnx - update to version 0.3.7 by autospec * Tue Mar 06 2007 Silvan Calarco 0.3.6-1qilnx - update to version 0.3.6 by autospec * Mon Nov 20 2006 Silvan Calarco 0.3.5-1qilnx - update to version 0.3.5 by autospec * Sun Nov 12 2006 Silvan Calarco 0.3.4-1qilnx - update to version 0.3.4 by autospec * Fri Nov 10 2006 Silvan Calarco 0.3.3-1qilnx - update to version 0.3.3 by autospec * Wed Nov 08 2006 Silvan Calarco 0.3.2-1qilnx - update to version 0.3.2 by autospec - add requirement for lirc * Wed Oct 04 2006 Silvan Calarco 0.3.1-1qilnx - update to version 0.3.1 by autospec * Tue Oct 03 2006 Silvan Calarco 0.3-1qilnx - update to version 0.3 by autospec * Mon Oct 02 2006 Silvan Calarco 0.2.2-1qilnx - update to version 0.2.2 by autospec - enable it-macbook console keyboard upon install * Mon Jul 24 2006 Silvan Calarco 0.2.1-1qilnx - update to version 0.2.1 by autospec * Mon Jul 24 2006 Silvan Calarco 0.2-2qilnx - added automatic initscript handling * Mon Jul 24 2006 Silvan Calarco 0.2-1qilnx - update to version 0.2 by autospec * Thu Jul 20 2006 Silvan Calarco 0.1b-2qilnx - added requirement for cpufreqd - added automatic loading of speedstep-centrino module * Thu Jul 13 2006 Silvan Calarco 0.1a-1qilnx - backlight tool updated - added applesmc tool * Tue May 02 2006 Silvan Calarco 0.1-1qilnx - package created by autospec