Name: axpd Version: 20170203git Release: 1mamba Summary: AXP288 I2C Daemon for Bay Trail tablets in mainline kernel Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/Icenowy/axpd ## GITSOURCE https://github.com/Icenowy/axpd.git master Source: https://github.com/Icenowy/axpd.git/master/axpd-%{version}.tar.bz2 Patch0: axpd-20170203git-Chuwi-i2c-dev-14.patch License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END Requires: i2c-tools Requires: bc BuildRoot: %{_tmppath}/%{name}-%{version}-root %description AXP288 I2C Daemon, temporary workaround, for the absence of working axp288 driver for Bay Trail tablets in mainline kernel. %debug_package %prep %setup -q %patch0 -p1 %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -D -m0644 axpd.service %{buildroot}%{_unitdir}/axpd.service install -D -m0755 axpd.sh %{buildroot}%{_prefix}/libexec/axpd.sh %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post %systemd_post axpd systemctl -q daemon-reload : %preun %systemd_preun axpd : %postun %systemd_postun axpd : %files %defattr(-,root,root) %{_prefix}/libexec/axpd.sh %{_unitdir}/axpd.service %doc LICENSE %changelog * Fri Feb 03 2017 Silvan Calarco 20170203git-1mamba - package created using the webbuild interface