## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://github.com/glikely/obs-ptz %global version0 1.0.0 %global tag v1.0.0-beta5 %forgemeta Name: obs-studio-plugin-ptz Version: %forgeversion -p Release: %autorelease Summary: PTZ Controls for OBS Studio License: GPLv2 URL: %forgeurl Source0: %forgesource BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: pkgconfig(libobs) BuildRequires: pkgconfig(opengl) BuildRequires: pkgconfig(Qt6Gui) BuildRequires: pkgconfig(Qt6SerialPort) BuildRequires: pkgconfig(Qt6Svg) BuildRequires: pkgconfig(sdl2) Supplements: obs-studio%{?_isa} %description This is a plugin for controlling PTZ Cameras from OBS studio. This plugin adds a new control dock window that can be used to control pan, tilt, zoom camera directly from the OBS Studio main window. It also tracks the current active scenes to automatically select the correct camera for control and can be automated by adding PTZ Actions sources to trigger camera actions when scenes change. %prep %forgeautosetup -p1 %build %cmake -DENABLE_JOYSTICK=ON -DENABLE_SERIALPORT=ON %cmake_build %install %cmake_install %files %doc AUTHORS CODE_OF_CONDUCT.md CONTRIBUTING.md README.md TODO.md %license LICENSE %{_libdir}/obs-plugins/obs-ptz.so %{_datadir}/obs/obs-plugins/obs-ptz %changelog ## START: Generated by rpmautospec * Fri Nov 06 2026 John Doe - 1.0.0~20261106gitbeta5-1 - Uncommitted changes ## END: Generated by rpmautospec