File flvstreamer.spec of Package flvstreamer

# norootforbuild

Name:		flvstreamer
Summary:	Open Source Command-Line RTMP Client
Version:	2.1c1
Release:	1
Url:		http://savannah.nongnu.org/projects/flvstreamer
Source0:	flvstreamer-%{version}.tar.gz
Patch0:		flvstreamer-optflags.patch
License:	GPL-2.0+
Group:		Productivity/Networking/Other
BuildRequires:	gcc-c++
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

%description
flvstreamer is an open source command-line RTMP client intended to stream audio or video content
from all types of flash or rtmp servers.
Forked from rtmpdump v1.6 with encrypted rtmp and swf verification support removed.
This tool provides free interoperability with the previously undocumented adobe RTMP protocol
so widely in use on the internet today.
It was developed entirely by reverse engineering methods and without access
to any proprietary or restrictive-license protocol specifications.

%prep
%setup -n flvstreamer
%patch0

%build
make posix

%install
install -D -m755 flvstreamer $RPM_BUILD_ROOT%{_bindir}/flvstreamer
install -D -m755 rtmpsrv $RPM_BUILD_ROOT%{_bindir}/rtmpsrv
install -D -m755 rtmpsuck $RPM_BUILD_ROOT%{_bindir}/rtmpsuck
install -D -m755 streams $RPM_BUILD_ROOT%{_bindir}/streams

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/flvstreamer
%{_bindir}/rtmpsrv
%{_bindir}/rtmpsuck
%{_bindir}/streams
%doc README COPYING ChangeLog

%changelog
* Fri Aug 27 2010 - joerg.lorenzen@ki.tng.de
- Initial package, version 2.1c1
openSUSE Build Service is sponsored by