%global debug_package %{nil} %global git_tag 0d662c6 Name: erlyvideo Version: 3.66.3 Release: 1%{?dist} Summary: Erlang video streaming server Group: Applications/Multimedia License: GPLv3 URL: http://erlyvideo.org/ # wget --no-check-certificate https://github.com/erlyvideo/erlyvideo/tarball/v2.5.3 Source0: flussonic-3030e8b3ca3ac16838d323a922d763dd4565dc4b.tar.gz # wget http://github.com/erlyvideo/erlyplayer/tarball/eed2837 #Source1: erlyvideo-erlyplayer-eed2837.tar.gz # Fedora/EPEL-specific Patch1: erlyvideo-0001-Don-t-check-for-deps-Fedora-EPEL-related.patch BuildRequires: erlang-cowboy BuildRequires: erlang-lager BuildRequires: erlang-meck BuildRequires: erlang-mimetypes BuildRequires: erlang-parsexml BuildRequires: erlang-ranch BuildRequires: erlang-rebar %{?__erlang_provides_requires: %{__erlang_provides_requires}} %description Erlang video streaming server. %prep %setup -q -n flussonic-3030e8b3ca3ac16838d323a922d763dd4565dc4b #mkdir -p wwwroot/player #tar xf %{SOURCE1} --strip-components=1 -C wwwroot/player/ #rm -rf deps/amf #rm -rf deps/erlydtl #rm -rf deps/log4erl #rm -rf lib/misultin #rm -r src/mochijson2.erl %patch1 -p1 -b .nodeps #%patch2 -p1 -b .init-path #%patch3 -p1 -b .install_only_necessary #%patch4 -p1 -b .fix_contribs #%patch5 -p1 -b .no_bundled %build rebar compile -v %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %files %doc /etc/default/flussonic /etc/flussonic/flussonic.conf /etc/init.d/flussonic /usr/share/doc/flussonic/copyright %{_datadir}/flussonic %changelog * Fri Jan 25 2013 Peter Lemenkov - 3.66.3 - Flussonic ver. 3.66.3 * Sun Nov 28 2010 Peter Lemenkov - 2.5.3-1 - Ver. 2.5.3 * Sat Oct 30 2010 Peter Lemenkov - 2.4.13-1 - Initial build