2024-01-05 22:06:54 +01:00
|
|
|
Name: envycontrol
|
2024-08-19 10:03:13 +02:00
|
|
|
Version: 3.5.1
|
2024-01-05 22:06:54 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A program aimed to provide an easy way to switch GPU modes on Nvidia Optimus systems
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/bayasdev/envycontrol
|
|
|
|
Source: https://github.com/bayasdev/envycontrol.git/v%{version}/envycontrol-%{version}.tar.bz2
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 22:06:56 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(setuptools)
|
2024-01-05 22:06:54 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: xrandr
|
|
|
|
|
|
|
|
%description
|
|
|
|
EnvyControl is a program aimed to provide an easy way to switch GPU modes on Nvidia Optimus systems (i.e laptops with hybrid Intel + Nvidia or AMD + Nvidia graphics configurations) under Linux.
|
|
|
|
|
|
|
|
#% debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%{__python3} setup.py install --root=%{buildroot} --optimize=1
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%{_bindir}/envycontrol
|
|
|
|
%{python3_sitelib}/__pycache__/envycontrol.cpython*.pyc
|
2024-01-05 22:06:54 +01:00
|
|
|
%dir %{python3_sitelib}/envycontrol-%{version}-py*.egg-info
|
|
|
|
%{python3_sitelib}/envycontrol-%{version}-py*.egg-info/*
|
2024-01-05 22:06:54 +01:00
|
|
|
%{python3_sitelib}/envycontrol.py
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-08-19 10:03:13 +02:00
|
|
|
* Mon Aug 19 2024 Automatic Build System <autodist@openmamba.org> 3.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-18 22:47:39 +02:00
|
|
|
* Sat Aug 17 2024 Automatic Build System <autodist@openmamba.org> 3.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-07 09:28:00 +01:00
|
|
|
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 3.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:06:56 +01:00
|
|
|
* Tue Nov 07 2023 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:06:56 +01:00
|
|
|
* Tue Sep 12 2023 Automatic Build System <autodist@mambasoft.it> 3.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:06:55 +01:00
|
|
|
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:06:55 +01:00
|
|
|
* Tue Mar 14 2023 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:06:55 +01:00
|
|
|
* Mon Mar 13 2023 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:06:55 +01:00
|
|
|
* Sun Feb 26 2023 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:06:54 +01:00
|
|
|
* Sat Feb 25 2023 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:06:54 +01:00
|
|
|
* Sun Feb 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-1mamba
|
|
|
|
- package created using the webbuild interface
|