update to 0.4.0 [release 0.4.0-1mamba;Tue Mar 24 2015]
This commit is contained in:
parent
a0ab66030a
commit
2d275654b7
@ -1,15 +1,15 @@
|
|||||||
%define kdedir /opt/kde3
|
%define kdedir /opt/kde3
|
||||||
|
|
||||||
Name: macbook-tools
|
Name: macbook-tools
|
||||||
Version: 0.3.27
|
Version: 0.4.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Utilities for Apple MacBook and MacBook Pro
|
Summary: Utilities for Apple MacBook and MacBook Pro
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.mambasoft.it
|
URL: http://gitlab.openmamba.org/openmamba/macbook-tools
|
||||||
Source: macbook-tools-%{version}.tar.bz2
|
Source: http://gitlab.mambasoft.it/openmamba/macbook-tools.git/macbook-tools-%{version}.tar.bz2
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
@ -22,6 +22,7 @@ Requires: isight-firmware-tools
|
|||||||
Requires: xkbset
|
Requires: xkbset
|
||||||
Requires: kbd >= 1.15.3-2mamba
|
Requires: kbd >= 1.15.3-2mamba
|
||||||
Obsoletes: imac-utils
|
Obsoletes: imac-utils
|
||||||
|
%systemd_requires
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -42,32 +43,30 @@ Currently contains the backlight tool for MacBook for screen backlight handling
|
|||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ $1 -eq 1 ]; then
|
[ -e /etc/init.d/macbook-tools ] && /sbin/chkconfig --del macbook-tools > /dev/null || true
|
||||||
# new install
|
|
||||||
service macbook-tools start
|
|
||||||
/sbin/chkconfig --add macbook-tools
|
|
||||||
fi
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%preun
|
%posttrans
|
||||||
# erase
|
# cleanup obsolete sysv broken links
|
||||||
if [ $1 -eq 0 ]; then
|
systemctl -q daemon-reload 2>&1 || :
|
||||||
/sbin/chkconfig --del macbook-tools
|
find /etc/rc*.d/* -xtype l -delete 2>/dev/null
|
||||||
fi
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/macbook-tools
|
%{_unitdir}/appleir.service
|
||||||
%{_initrddir}/macbook-tools
|
%{_unitdir}/applesmcd.service
|
||||||
%{_bindir}/backlight
|
%{_bindir}/backlight
|
||||||
%{_bindir}/applesmc
|
%{_bindir}/applesmc
|
||||||
%{_bindir}/macbook-set-input
|
%{_bindir}/macbook-set-input
|
||||||
%{_sbindir}/macbook-lightd
|
%{_sbindir}/applesmcd
|
||||||
/lib/modprobe.d/macbook.conf
|
/lib/modprobe.d/macbook.conf
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
|
||||||
|
- update to 0.4.0
|
||||||
|
|
||||||
* Sun Apr 14 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.27-1mamba
|
* Sun Apr 14 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.27-1mamba
|
||||||
- update to 0.3.27
|
- update to 0.3.27
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user