Репозиторий Sisyphus
Последнее обновление: 22 марта 2019 | Пакетов: 17648 | Посещений: 13251012
en ru br
Репозитории ALT

Группа :: Видео
Пакет: obs-studio

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _libexecdir %prefix/libexec

Name: obs-studio
Summary: Free and open source software for video recording and live streaming
Summary(ru_RU.UTF-8): п║п╡п╬п╠п╬п╢п╫п╟я▐ п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ п╥п╟п©п╦я│п╦ п╦ я┌я─п╟п╫я│п╩я▐я├п╦п╦ п╡п╦п╢п╣п╬п©п╬я┌п╬п╨п╟
Version: 20.0.1
Release: alt1
License: GPLv2+
Group: Video
Url: https://github.com/jp9000/obs-studio.git
Packager: Anton Midyukov <antohami at altlinux.org>
Source: %name-%version.tar
Patch: obs-ffmpeg-mux.patch

BuildPreReq: cmake rpm-macros-cmake gcc-c++
BuildRequires: fontconfig-devel libGL-devel libGLU-devel libX11-devel libalsa-devel libfreetype-devel libjack-devel libpulseaudio-devel libxcb-devel pkgconfig(MagickCore) pkgconfig(dbus-1) qt5-base-devel qt5-x11extras-devel texlive-latex-base zlib-devel libcurl-devel libx264-devel libv4l-devel libswscale-devel libswresample-devel libavresample-devel libpostproc-devel libavutil-devel libavformat-devel libavdevice-devel libavfilter-devel libavcodec-devel libvlc-devel
BuildRequires: systemd-devel

Requires: libobs = %version-%release
Requires: ffmpeg x264

%description
Free and open source software for video recording and live streaming.

%description -l ru_RU.UTF-8
п║п╡п╬п╠п╬п╢п╫п╟я▐ п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ п╥п╟п©п╦я│п╦ п╦ я┌я─п╟п╫я│п╩я▐я├п╦п╦ п╡п╦п╢п╣п╬п©п╬я┌п╬п╨п╟.

%package -n libobs
Summary: Open Broadcaster Software Studio libraries
Group: Video

%description -n libobs
Library files for Open Broadcaster Software.

%package -n libobs-devel
Summary: Development files for %name
Group: Development/C
Requires: libobs = %version-%release

%description -n libobs-devel
Development files for %name

%prep
%setup
%patch -p0

# rpmlint reports E: hardcoded-library-path

# replace OBS_MULTIARCH_SUFFIX by LIB_SUFFIX
sed -i 's|OBS_MULTIARCH_SUFFIX|LIB_SUFFIX|g' cmake/Modules/ObsHelpers.cmake

%build
%cmake_insource -DOBS_VERSION_OVERRIDE=%version -DUNIX_STRUCTURE=1
%make_build

%install
%makeinstall_std

mkdir -p %buildroot/%_libexecdir/obs-plugins/obs-ffmpeg/
mv -f %buildroot/%_datadir/obs/obs-plugins/obs-ffmpeg/ffmpeg-mux \
     %buildroot/%_libexecdir/obs-plugins/obs-ffmpeg/ffmpeg-mux

%files
%doc COPYING README.rst
%_bindir/obs
%_datadir/obs
%_desktopdir/obs.desktop
%_iconsdir/hicolor/*/apps/obs.png
%_libdir/obs-plugins
%_libexecdir/obs-plugins
%exclude %_datadir/obs/libobs

%files -n libobs
%_datadir/obs/libobs
%_libdir/*.so.*

%files -n libobs-devel
%_includedir/obs
%_libdir/*.so
%_libdir/cmake/LibObs

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin