Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:Emulators
EnvyControl
EnvyControl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File EnvyControl.spec of Package EnvyControl
# # spec file for package EnvyControl # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define pkgname envycontrol %define pkgver 3.3.0 %define pkgrel 1 %define pkgext .tar.gz Name: EnvyControl Version: %{pkgver} Release: %{pkgrel} Summary: CLI tool for Nvidia Optimus graphics mode switching on Linux License: MIT Group: System/X11/Utilities URL: https://github.com/bayasdev/envycontrol Source0: https://github.com/bayasdev/envycontrol/archive/refs/tags/v%{version}.tar.gz#/%{pkgname}-%{pkgver}%{pkgext} Patch0: fix-python-env.patch BuildRequires: python3-devel BuildRequires: libXrandr-devel BuildRequires: python3-setuptools BuildArch: noarch %description CLI tool for Nvidia Optimus graphics mode switching on Linux %prep %autosetup -n %{pkgname}-%{pkgver} %build # Nothing to build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --optimize=1 install -D -m 644 LICENSE %{buildroot}%{_datadir}/licenses/%{pkgname}/LICENSE chmod +x %{buildroot}/usr/lib/python3.11/site-packages/envycontrol.py %files %{_bindir}/%{pkgname} %{_datadir}/licenses/%{pkgname} /usr/lib/python3.11/site-packages/envycontrol.py /usr/lib/python3.11/site-packages/__pycache__/ /usr/lib/python3.11/site-packages/envycontrol-3.3.0-py3.11.egg-info/ %changelog * Tue Nov 08 2023 Jonata Gonçalves <jonatas.sgoncalves@gmail.com> - 3.3.0 - Initial package release
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor