# The following tag is to get correct syntax highlighting for this file in vim text editor # vim: syntax=spec Name: system76-oled Version: 0.1.5 Release: 2 Summary: system76-oled License: LGPLv3 URL: https://github.com/pop-os/system76-oled # Detailed information about the source Git repository and the source commit # for the created rpm package VCS: git+git@github.com:szydell/system76-oled.git#9eb86fbb9099aeb6049c2c2a6bb717e27b1b7d8b: # git_dir_pack macro places the repository content (the source files) into a tarball # and returns its filename. The tarball will be used to build the rpm. Source: system76-oled-9eb86fbb.tar.gz #Packages required for build BuildRequires: cargo BuildRequires: dbus-devel BuildRequires: libX11-devel BuildRequires: libXrandr-devel #Packages required to work Requires: dbus-common Requires: libX11 Requires: libXrandr # More detailed description of the package %description Control brightness on OLED displays %define debug_package %{nil} #-- %prep %setup -T -b 0 -q -n system76-oled # This will invoke `make` command in the directory with the extracted sources. %build %make_build DEBUG=1 # This will copy the files generated by the `make` command above into # the installable rpm package. %install %make_install # Those files will be in the rpm %files %{_bindir}/%{name} %{_sysconfdir}/xdg/autostart/%{name}.desktop # Changelog %changelog * Mon Sep 21 2026 Marcin Szydelski 0.1.5-1 - Do not run system76-oled when Pop GNOME session is running - Add oryp10 - Update dependencies - Update toolchain to 1.58.0 - 0.1.4 - add addw2 (#8) - Fix compilation with new cargo - Update brightness curve - Update curve - Add detection of color management changes - Update changelog and comments - Add fix for mutter resetting crtc on some display changes - Add X11 libraries to Build-Depends - Use poll to detect X output change events - WIP: switch to using xlib - 0.1.2 - Add timeout of one second to ensure sync on resuming from suspend - Create README.md - 0.1.1 - Update inotify to 0.7.0 - init