envycontrol/envycontrol.spec

64 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: envycontrol
Version: 3.2.0
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
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(setuptools)
## 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
%dir %{python3_sitelib}/envycontrol-%{version}-py*.egg-info
%{python3_sitelib}/envycontrol-%{version}-py*.egg-info/*
%{python3_sitelib}/envycontrol.py
%doc LICENSE
%changelog
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- automatic version update by autodist
* Tue Mar 14 2023 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Mon Mar 13 2023 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Sun Feb 26 2023 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
* Sat Feb 25 2023 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Sun Feb 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-1mamba
- package created using the webbuild interface