Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:Compiler-Tools-leap
librtmp
rtmpdump.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rtmpdump.spec of Package librtmp
# # spec file for package rtmpdump # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define soname 1 Name: rtmpdump Version: 2.4 Release: 0 Summary: RTMP Stream Dumper License: GPL-2.0+ and LGPL-2.1+ Group: Productivity/Networking/Other Url: http://rtmpdump.mplayerhq.hu/ Source: rtmpdump-%{version}.tar.xz Patch1: rtmpdump-fix_u32.patch BuildRequires: glibc-devel %if 0%{?sles_version} || 0%{?suse_version} == 1140 BuildRequires: libopenssl-devel %else BuildRequires: libgnutls-devel %endif BuildRequires: pkgconfig BuildRequires: zlib-devel Requires: librtmp%{soname} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A small dumper for media content streamed over the RTMP protocol (like BBC's iPlayer high quality streams). Supplying an rtmp url will result in a dumped flv file, which can be played/transcoded using ffmpeg/mplayer, etc. %package -n librtmp%{soname} Summary: RTMP Stream Dumper Library Group: System/Libraries License: LGPL-2.1+ %description -n librtmp%{soname} A small dumper for media content streamed over the RTMP protocol (like BBC's iPlayer high quality streams). Supplying an rtmp url will result in a dumped flv file, which can be played/transcoded using ffmpeg/mplayer, etc. %package -n rtmpsuck Summary: RTMP Transparent Proxy Server Group: Productivity/Networking/Other License: GPL-2.0+ %description -n rtmpsuck Proxy server that dumps RTMP streams. %package -n rtmpsrv Summary: RTMP Server Group: Productivity/Networking/Other License: GPL-2.0+ %description -n rtmpsrv Server for RTMP streams. %package -n rtmpgw Summary: RTMP to HTTP Gateway Group: Productivity/Networking/Other License: GPL-2.0+ %description -n rtmpgw HTTP gateway: this is an HTTP server that accepts requests that consist of rtmpdump parameters. It then connects to the specified RTMP server and returns the retrieved data in the HTTP response. %package -n librtmp-devel Summary: RTMP Stream Dumping Library Group: Development/Libraries/C and C++ Requires: librtmp%{soname} = %{version} License: LGPL-2.1+ %description -n librtmp-devel A small dumper for media content streamed over the RTMP protocol (like BBC's iPlayer high quality streams). Supplying an rtmp url will result in a dumped flv file, which can be played/transcoded using ffmpeg/mplayer, etc. %prep %setup -q -n %{name}-%{version} %patch1 %build make \ CC="gcc" \ %if 0%{?sles_version} || 0%{?suse_version} == 1140 CRYPTO="OPENSSL" \ %else CRYPTO="GNUTLS" \ %endif OPT="%{optflags}" \ prefix="%{_prefix}" \ libdir="%{_libdir}" \ MANDIR="%{_mandir}" make -C librtmp \ CC="gcc" \ %if 0%{?sles_version} || 0%{?suse_version} == 1140 CRYPTO="OPENSSL" \ %else CRYPTO="GNUTLS" \ %endif OPT="%{optflags}" \ prefix="%{_prefix}" \ libdir="%{_libdir}" \ MANDIR="%{_mandir}" \ librtmp.pc %install install -d "%{buildroot}%{_bindir}" find . -mindepth 1 -maxdepth 1 -type f -executable -exec install -m0755 {} "%{buildroot}%{_bindir}/" \; pushd librtmp install -d "%{buildroot}%{_includedir}/librtmp" "%{buildroot}%{_libdir}" "%{buildroot}%{_libdir}/pkgconfig" make \ prefix="%{buildroot}%{_prefix}" \ libdir="%{buildroot}%{_libdir}" \ INCDIR="%{buildroot}%{_includedir}/librtmp" \ MANDIR="%{buildroot}%{_mandir}" \ install popd #librtmp rm %{buildroot}%{_libdir}/librtmp.a %post -n librtmp%{soname} -p /sbin/ldconfig %postun -n librtmp%{soname} -p /sbin/ldconfig %files %defattr(-,root,root) %doc README ChangeLog COPYING %{_bindir}/rtmpdump %files -n librtmp%{soname} %defattr(-,root,root) %doc COPYING %{_libdir}/librtmp.so.%{soname} %files -n rtmpsuck %defattr(-,root,root) %doc README ChangeLog COPYING %{_bindir}/rtmpsuck %files -n rtmpgw %defattr(-,root,root) %doc README ChangeLog COPYING %{_bindir}/rtmpgw %files -n rtmpsrv %defattr(-,root,root) %doc README ChangeLog COPYING %{_bindir}/rtmpsrv %files -n librtmp-devel %defattr(-,root,root) %{_includedir}/librtmp %{_libdir}/librtmp.so %{_libdir}/pkgconfig/librtmp.pc %doc %{_mandir}/man3/librtmp.3%{ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor