package created using the webbuild interface [release 2.3-1mamba;Sun Feb 05 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 22:06:54 +01:00
parent b288cd3283
commit 7b78787451
2 changed files with 49 additions and 0 deletions

View File

@ -1,2 +1,3 @@
# envycontrol
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.

48
envycontrol.spec Normal file
View File

@ -0,0 +1,48 @@
Name: envycontrol
Version: 2.3
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-2.3-py3.7.egg-info
%{python3_sitelib}/envycontrol-2.3-py3.7.egg-info/*
%{python3_sitelib}/envycontrol.py
%doc LICENSE
%changelog
* Sun Feb 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-1mamba
- package created using the webbuild interface