package created using the webbuild interface [release 2.3-1mamba;Sun Feb 05 2023]
This commit is contained in:
parent
b288cd3283
commit
7b78787451
@ -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
48
envycontrol.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user