]> git.pld-linux.org Git - packages/flvstreamer.git/blob - flvstreamer.spec
new, version 2.1c1
[packages/flvstreamer.git] / flvstreamer.spec
1 Summary:        Open Source Command-Line RTMP Client
2 Name:           flvstreamer
3 Version:        2.1c1
4 Release:        1
5 License:        GPL v2+
6 Group:          Applications/Networking
7 Source0:        http://download.savannah.gnu.org/releases/flvstreamer/source/%{name}-%{version}.tar.gz
8 # Source0-md5:  4866387328ad89c957af90a2478e5556
9 Patch0:         optflags.patch
10 URL:            http://savannah.nongnu.org/projects/flvstreamer
11 BuildRequires:  libstdc++-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 flvstreamer is an open source command-line RTMP client intended to
16 stream audio or video content from all types of flash or rtmp servers.
17 Forked from rtmpdump v1.6 with encrypted rtmp and swf verification
18 support removed.
19
20 This tool provides free interoperability with the previously
21 undocumented adobe RTMP protocol so widely in use on the internet
22 today. It was developed entirely by reverse engineering methods and
23 without access to any proprietary or restrictive-license protocol
24 specifications.
25
26 %prep
27 %setup -q -n %{name}
28 %patch0
29
30 %build
31 %{__make} posix \
32         CC="%{__cc}" \
33         RPM_OPT_FLAGS="%{rpmcflags}"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_bindir}
38 install -p flvstreamer $RPM_BUILD_ROOT%{_bindir}/flvstreamer
39 install -p rtmpsrv $RPM_BUILD_ROOT%{_bindir}/rtmpsrv
40 install -p rtmpsuck $RPM_BUILD_ROOT%{_bindir}/rtmpsuck
41 install -p streams $RPM_BUILD_ROOT%{_bindir}/streams
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README COPYING ChangeLog
49 %attr(755,root,root) %{_bindir}/flvstreamer
50 %attr(755,root,root) %{_bindir}/rtmpsrv
51 %attr(755,root,root) %{_bindir}/rtmpsuck
52 %attr(755,root,root) %{_bindir}/streams
This page took 0.061548 seconds and 3 git commands to generate.