Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name: obs-studio
- Version: 23.0.1
- Release: 1%{?dist}
- Summary: Open Broadcaster Software Studio
- License: GPLv2+
- URL: https://obsproject.com/
- ExclusiveArch: x86_64
- BuildRequires: gcc
- BuildRequires: gcc-c++
- BuildRequires: gcc-objc
- BuildRequires: cmake
- BuildRequires: git
- BuildRequires: autoconf
- BuildRequires: automake
- BuildRequires: make
- BuildRequires: patch
- BuildRequires: libX11-devel
- BuildRequires: libXcomposite-devel
- BuildRequires: libXinerama-devel
- BuildRequires: libXres-devel
- BuildRequires: libXcursor-devel
- BuildRequires: libXdmcp-devel
- BuildRequires: libXi-devel
- BuildRequires: libXft-devel
- BuildRequires: libXmu-devel
- BuildRequires: libXpm-devel
- BuildRequires: libXrandr-devel
- BuildRequires: libXScrnSaver-devel
- BuildRequires: libXv-devel
- BuildRequires: libXxf86misc-devel
- BuildRequires: libxkbfile-devel
- BuildRequires: mesa-libGL-devel
- BuildRequires: mesa-libGLU-devel
- BuildRequires: libglvnd-devel
- BuildRequires: libv4l-devel
- BuildRequires: pulseaudio-libs-devel
- BuildRequires: x264-devel
- BuildRequires: x265-devel
- BuildRequires: freetype-devel
- BuildRequires: fontconfig-devel
- BuildRequires: qt5-qtbase-devel
- BuildRequires: qt5-qtx11extras-devel
- BuildRequires: libcurl-devel
- BuildRequires: systemd-devel
- BuildRequires: ffmpeg-devel
- BuildRequires: luajit-devel
- BuildRequires: swig
- BuildRequires: jack-audio-connection-kit-devel
- BuildRequires: alsa-lib-devel
- BuildRequires: vlc-devel
- BuildRequires: mbedtls-devel
- BuildRequires: speex-devel
- BuildRequires: jansson-devel
- BuildRequires: fdk-aac-devel
- BuildRequires: dbus-devel
- BuildRequires: ImageMagick-devel
- BuildRequires: ImageMagick-c++-devel
- Requires: libglvnd
- Requires: libglvnd-egl
- Requires: libglvnd-gles
- Requires: libglvnd-glx
- Requires: libglvnd-opengl
- Requires: libv4l
- Requires: pulseaudio-libs
- Requires: x264
- Requires: x264-libs
- Requires: x265
- Requires: x265-libs
- Requires: freetype
- Requires: fontconfig
- Requires: libX11
- Requires: libXcomposite
- Requires: libXinerama
- Requires: libXi
- Requires: mesa-libGL
- Requires: mesa-libGLU
- Requires: qt5-qtbase
- Requires: qt5-qtx11extras
- Requires: ffmpeg
- Requires: fdk-aac
- Requires: luajit
- Requires: jack-audio-connection-kit
- Requires: alsa-lib
- Requires: mbedtls
- Requires: jansson
- Requires: %{name}-libs%{?_isa} = %{version}-%{release}
- %description
- OBS Studio is software designed for capturing, compositing,
- encoding, recording, and streaming video content, efficiently.
- %package libs
- Summary: Libraries for OBS Studio
- %description libs
- Library objects for Open Broadcaster Software Studio
- %package devel
- Summary: Header files for OBS Studio development
- Requires: %{name}-libs%{?_isa} = %{version}-%{release}
- %description devel
- Development files for Open Broadcaster Software Studio
- %prep
- rm -rf obs-studio
- git clone -b %{version} https://github.com/obsproject/obs-studio.git
- cd obs-studio
- git submodule update --init --recursive
- %build
- cd obs-studio
- mkdir build
- cd build
- cmake -G "Unix Makefiles" \
- -DUNIX_STRUCTURE=1 \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DDISABLE_SCRIPTING=On \
- -DCMAKE_BUILD_TYPE=Release \
- -DVLC_LIB=/usr/lib64/libvlc.so \
- -DOBS_VERSION_OVERRIDE=%{version}-%{release} \
- ../
- make
- %install
- cd obs-studio/build
- %make_install
- cd %{buildroot}/usr
- mv lib lib64
- %clean
- rm -rf %{buildroot}
- %files
- %{_bindir}/*
- %{_datadir}/applications
- %{_datadir}/icons
- %{_datadir}/obs
- %files libs
- %{_libdir}/obs-plugins
- %{_libdir}/obs-scripting
- %{_libdir}/pkgconfig
- %{_libdir}/libobs*
- %files devel
- %{_includedir}/*
- %{_libdir}/cmake
- %changelog
- * Tue Mar 05 2019 Michael Rochefort <mike@michaelrochefort.com> - 23.0.1-1
- - Submitting 23.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement