Projects
Essentials
rtmpdump
rtmpdump.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rtmpdump.spec of Package rtmpdump (Revision 7)
Currently displaying revision
7
,
Show latest
# vim: set sw=3 ts=3 noet: # # spec file for package rtmpdump # Name: rtmpdump Version: 2.3.99.git20111114 Release: 0 License: GPL-2.0 %define soname 0 Summary: RTMP Stream Dumper Url: http://rtmpdump.mplayerhq.hu/ Group: Productivity/Networking/Other Source: rtmpdump-%{version}.tar.bz2 Patch1: rtmpdump-fix_u32.patch Source99: rtmpdump-rpmlintrc BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: make BuildRequires: openssl-devel 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 %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 Requires: librtmp%{soname} = %{version} %description -n rtmpsuck Proxy server that dumps RTMP streams. %package -n rtmpsrv Summary: RTMP Server Group: Productivity/Networking/Other Requires: librtmp%{soname} = %{version} %description -n rtmpsrv Server for RTMP streams. %package -n rtmpgw Summary: RTMP to HTTP Gateway Group: Productivity/Networking/Other Requires: librtmp%{soname} = %{version} Obsoletes: streams < %{version} Provides: streams = %{version} %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++ %if 0%{?suse_version} >= 1030 Requires: libopenssl-devel %else Requires: openssl-devel %endif Requires: librtmp%{soname} = %{version} %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 %patch1 %build make \ CC="gcc" \ OPT="%{optflags}" \ prefix="%{_prefix}" \ libdir="%{_libdir}" \ MANDIR="%{_mandir}" make -C librtmp \ CC="gcc" \ 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 %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}/librtmp.a %{_libdir}/pkgconfig/librtmp.pc %doc %{_mandir}/man3/librtmp.3%{ext_man} # Local Variables: # mode: rpm-spec # tab-width: 3 # End: %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.