commit e93262e10f835b52624c0e79e2fbcb5c9ca40c45
Author: Martin Gansser <mgansser(a)alice.de>
Date: Sat Aug 13 19:51:32 2016 +0200
Fix release tag (0.x release is for git releases)
clog | 2 +
obs-studio.spec | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 204 insertions(+)
---
diff --git a/clog b/clog
new file mode 100644
index 0000000..87e9eca
--- /dev/null
+++ b/clog
@@ -0,0 +1,2 @@
+Fix release tag (0.x release is for git releases)
+
diff --git a/obs-studio.spec b/obs-studio.spec
new file mode 100644
index 0000000..daea392
--- /dev/null
+++ b/obs-studio.spec
@@ -0,0 +1,202 @@
+Name: obs-studio
+Version: 0.15.4
+Release: 1%{?dist}
+Summary: Open Broadcaster Software Studio
+
+License: GPLv2+
+URL:
https://obsproject.com/
+Source0:
https://github.com/jp9000/obs-studio/archive/%{version}.tar.gz#/%{name}-%...
+Patch0: obs-ffmpeg-mux.patch
+
+BuildRequires: gcc-objc
+BuildRequires: cmake
+BuildRequires: libX11-devel
+BuildRequires: mesa-libGL-devel
+BuildRequires: ffmpeg-devel
+BuildRequires: libv4l-devel
+BuildRequires: pulseaudio-libs-devel
+BuildRequires: x264-devel
+BuildRequires: freetype-devel
+BuildRequires: fontconfig-devel
+BuildRequires: libXcomposite-devel
+BuildRequires: libXinerama-devel
+BuildRequires: qt5-qtbase-devel
+BuildRequires: qt5-qtx11extras-devel
+BuildRequires: jansson-devel
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: libcurl-devel
+BuildRequires: desktop-file-utils
+BuildRequires: vlc-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: systemd-devel
+Requires: ffmpeg x264
+
+%description
+Open Broadcaster Software is free and open source
+software for video recording and live streaming.
+
+%package libs
+Summary: Open Broadcaster Software Studio libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description libs
+Library files for Open Broadcaster Software
+
+%package devel
+Summary: Open Broadcaster Software Studio header files
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Header files for Open Broadcaster Software
+
+
+%prep
+%setup -q
+%patch0 -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
+export
CPPFLAGS=-DFFMPEG_MUX_FIXED=\"%{_libexecdir}/obs-plugins/obs-ffmpeg/ffmpeg-mux\"
+%cmake -DOBS_VERSION_OVERRIDE=%{version} -DUNIX_STRUCTURE=1
+%make_build
+
+%install
+%make_install
+
+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
+
+%check
+/usr/bin/desktop-file-validate %{buildroot}/%{_datadir}/applications/obs.desktop
+
+%post libs -p /sbin/ldconfig
+
+%post
+/usr/bin/update-desktop-database >&/dev/null || :
+/usr/bin/touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
+
+%postun
+/usr/bin/update-desktop-database >&/dev/null || :
+if [ $1 -eq 0 ]; then
+ /usr/bin/touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
+fi
+
+%postun libs -p /sbin/ldconfig
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
+
+%files
+%doc README
+%license obs/data/license/gplv2.txt
+%license COPYING
+%{_bindir}/obs
+%{_datadir}/applications/obs.desktop
+%{_datadir}/icons/hicolor/256x256/apps/obs.png
+%{_datadir}/obs/
+%{_libexecdir}/obs-plugins/
+
+%files libs
+%{_libdir}/obs-plugins/
+%{_libdir}/*.so.*
+
+%files devel
+%{_libdir}/cmake/LibObs/
+%{_libdir}/*.so
+%{_includedir}/obs/
+
+
+%changelog
+* Fri Aug 12 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 0.15.4-1
+- Fix release tag (0.x release is for git releases)
+
+* Mon Aug 08 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.15.4-0.1
+- Updated to 0.15.4
+
+* Fri Aug 05 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.15.2-0.5
+- Added alsa-devel as BR for ALSA plugin.
+- Added vlc-devel as BR for VLC plugin.
+- Added systemd-devel as BR for Udev V4L.
+
+* Wed Aug 03 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 0.15.2-0.4
+- Fix source tag (spectool now downloads in n-v format)
+- Remove surplus ldconfig from postun (no public .so files in main package)
+- Update scriptlets to meet guidelines (need full path)
+
+* Wed Jul 20 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.15.2-0.3
+- Added license file gplv2.txt
+
+* Mon Jul 18 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.15.2-0.2
+- Fixed arch-dependent-file-in-usr-share
+- Added obs-ffmpeg-mux.patch
+- Added libs subpkg
+- Call ldconfig in post(un) scripts for the shared library
+
+* Sat Jul 16 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.15.2-0.1
+- Updated to 0.15.2
+
+* Sun Jul 10 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.15.1-0.1
+- Updated to 0.15.1
+
+* Sat Jul 09 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.15.0-0.1
+- Updated to 0.15.0
+
+* Mon May 16 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.14.2-0.1
+- Updated to 0.14.2
+
+* Mon Apr 25 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.14.1-0.1
+- Updated to 0.14.1
+
+* Sun Apr 24 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.14.0-0.1
+- Updated to 0.14.0
+
+* Tue Mar 22 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.13.4-0.1
+- Updated to 0.13.4
+
+* Sun Mar 20 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.13.3-0.1
+- Updated to 0.13.3
+
+* Tue Feb 23 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.13.2-0.1
+- Updated to 0.13.2
+
+* Sat Feb 06 2016 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.13.1-0.1
+- Updated to 0.13.1
+
+* Sun Dec 20 2015 Martin Gansser <martinkg(a)fedoraproject.org> - 0.12.4-0.2
+- replace OBS_MULTIARCH_SUFFIX by LIB_SUFFIX
+
+* Sat Dec 12 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.12.4-0.1
+- Updated to 0.12.4
+
+* Sat Dec 05 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.12.3-0.1
+- Updated to 0.12.3
+
+* Sat Nov 21 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.12.2-0.1
+- Updated to 0.12.2
+
+* Thu Nov 19 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.12.1-0.1
+- Updated to 0.12.1
+
+* Thu Sep 24 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.12.0-0.1
+- Updated to 0.12.0
+
+* Mon Aug 17 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.11.4-0.1
+- Added OBS_VERSION_OVERRIDE to correct version in compilation
+- Updated to 0.11.4
+
+* Sat Aug 08 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.11.3-0.1
+- Updated to 0.11.3
+
+* Thu Jul 30 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.11.2-0.1
+- Updated to 0.11.2
+
+* Fri Jul 10 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.11.1-0.1
+- Updated to 0.11.1
+
+* Wed May 27 2015 Momcilo Medic <fedorauser(a)fedoraproject.org> - 0.10.1-0.1
+- Initial .spec file