]> git.pld-linux.org Git - packages/flvstreamer.git/commitdiff
new, version 2.1c1 master
authorElan Ruusamäe <glen@delfi.ee>
Mon, 14 Apr 2014 21:19:08 +0000 (00:19 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 14 Apr 2014 21:20:02 +0000 (00:20 +0300)
based on some opensuse package
ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home%3A/enzokiel/openSUSE_12.3_Update/src/flvstreamer-2.1c1-2.1.src.rpm

flvstreamer.spec [new file with mode: 0644]
optflags.patch [new file with mode: 0644]

diff --git a/flvstreamer.spec b/flvstreamer.spec
new file mode 100644 (file)
index 0000000..326b9d6
--- /dev/null
@@ -0,0 +1,52 @@
+Summary:       Open Source Command-Line RTMP Client
+Name:          flvstreamer
+Version:       2.1c1
+Release:       1
+License:       GPL v2+
+Group:         Applications/Networking
+Source0:       http://download.savannah.gnu.org/releases/flvstreamer/source/%{name}-%{version}.tar.gz
+# Source0-md5: 4866387328ad89c957af90a2478e5556
+Patch0:                optflags.patch
+URL:           http://savannah.nongnu.org/projects/flvstreamer
+BuildRequires: libstdc++-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 -q -n %{name}
+%patch0
+
+%build
+%{__make} posix \
+       CC="%{__cc}" \
+       RPM_OPT_FLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p flvstreamer $RPM_BUILD_ROOT%{_bindir}/flvstreamer
+install -p rtmpsrv $RPM_BUILD_ROOT%{_bindir}/rtmpsrv
+install -p rtmpsuck $RPM_BUILD_ROOT%{_bindir}/rtmpsuck
+install -p streams $RPM_BUILD_ROOT%{_bindir}/streams
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README COPYING ChangeLog
+%attr(755,root,root) %{_bindir}/flvstreamer
+%attr(755,root,root) %{_bindir}/rtmpsrv
+%attr(755,root,root) %{_bindir}/rtmpsuck
+%attr(755,root,root) %{_bindir}/streams
diff --git a/optflags.patch b/optflags.patch
new file mode 100644 (file)
index 0000000..4d66ab8
--- /dev/null
@@ -0,0 +1,12 @@
+--- Makefile.orig      2010-02-15 03:06:20.000000000 +0100
++++ Makefile   2010-08-27 10:37:00.000000000 +0100
+@@ -3,7 +3,7 @@
+ DEF=-DFLVSTREAMER_VERSION=\"v2.1c1\"
+-OPT=-O2
+-CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
++OPT=$(RPM_OPT_FLAGS)
++CFLAGS=$(XCFLAGS) $(INC) $(DEF) $(OPT)
+ LDFLAGS=-Wall $(XLDFLAGS)
+ LIBS=
+ THREADLIB=-lpthread
This page took 0.062798 seconds and 4 git commands to generate.