Mageia Bugzilla – Attachment 13177 Details for
Bug 30171
mbpfan - A simple daemon to control fan speed on all MacBook/MacBook Pros when installing Mageia on them. NEW PKG REQUEST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
mbpfan.spec (text/plain), 1.65 KB, created by
Kristoffer Grundström
on 2022-03-14 22:02:19 CET
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2022-03-14 22:02:19 CET
Size:
1.65 KB
patch
obsolete
>Name: mbpfan >Version: 2.3.0 >Release: %mkrel 1 >Summary: A simple daemon to control fan speed on all MacBook/MacBook Pros >License: GPLv3 >URL: https://github.com/linux-on-mac/mbpfan >Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz >BuildRequires: gcc >BuildRequires: make >BuildRequires: systemd >ExclusiveArch: x86_64 > >%description >This is an enhanced version of Allan McRae mbpfan > >mbpfan is a daemon that uses input from coretemp module and sets the >fan speed using the applesmc module. This enhanced version assumes any >number of processors and fans (max. 10). > >* It only uses the temperatures from the processors as input. >* It requires coretemp and applesmc kernel modules to be loaded. >* It requires root use >* It daemonizes or stays in foreground >* Verbose mode for both syslog and stdout >* Users can configure it using the file /etc/mbpfan.conf > >%prep >%setup -q > >%build >%set_build_flags >%make_build > >%install ># Installing the binaries >install -Dpm 0755 -t %{buildroot}%{_sbindir}/ bin/%{name} >install -Dpm 0755 -t %{buildroot}%{_sbindir}/ bin/%{name}-tests > ># Installing the systemd service >install -Dpm 0644 -t %{buildroot}%{_unitdir}/ %{name}.service > ># Installing the configuration file >install -Dpm 0644 -t %{buildroot}/etc/ %{name}.conf > ># Installing the manual >install -Dpm 0644 -t %{buildroot}%{_mandir}/man8/ %{name}.8.gz > >%post >%systemd_post %{name}.service > >%preun >%systemd_preun %{name}.service > >%postun >%systemd_postun_with_restart %{name}.service > >%files >%{_sbindir}/%{name} >%{_sbindir}/%{name}-tests >%{_unitdir}/%{name}.service >%{_mandir}/man8/mbpfan.8.* >%config(noreplace) /etc/%{name}.conf >%doc README.md AUTHORS >%license COPYING
Name: mbpfan Version: 2.3.0 Release: %mkrel 1 Summary: A simple daemon to control fan speed on all MacBook/MacBook Pros License: GPLv3 URL: https://github.com/linux-on-mac/mbpfan Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: systemd ExclusiveArch: x86_64 %description This is an enhanced version of Allan McRae mbpfan mbpfan is a daemon that uses input from coretemp module and sets the fan speed using the applesmc module. This enhanced version assumes any number of processors and fans (max. 10). * It only uses the temperatures from the processors as input. * It requires coretemp and applesmc kernel modules to be loaded. * It requires root use * It daemonizes or stays in foreground * Verbose mode for both syslog and stdout * Users can configure it using the file /etc/mbpfan.conf %prep %setup -q %build %set_build_flags %make_build %install # Installing the binaries install -Dpm 0755 -t %{buildroot}%{_sbindir}/ bin/%{name} install -Dpm 0755 -t %{buildroot}%{_sbindir}/ bin/%{name}-tests # Installing the systemd service install -Dpm 0644 -t %{buildroot}%{_unitdir}/ %{name}.service # Installing the configuration file install -Dpm 0644 -t %{buildroot}/etc/ %{name}.conf # Installing the manual install -Dpm 0644 -t %{buildroot}%{_mandir}/man8/ %{name}.8.gz %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %{_sbindir}/%{name} %{_sbindir}/%{name}-tests %{_unitdir}/%{name}.service %{_mandir}/man8/mbpfan.8.* %config(noreplace) /etc/%{name}.conf %doc README.md AUTHORS %license COPYING
View Attachment As Raw
Actions:
View
Attachments on
bug 30171
: 13177 |
13178