SPECS: red5.spec - seems whole dist/ dir is usable standalone server
glen
glen at pld-linux.org
Fri Jul 20 00:10:19 CEST 2007
Author: glen Date: Thu Jul 19 22:10:19 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- seems whole dist/ dir is usable standalone server
---- Files affected:
SPECS:
red5.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/red5.spec
diff -u SPECS/red5.spec:1.9 SPECS/red5.spec:1.10
--- SPECS/red5.spec:1.9 Thu Jul 19 23:39:33 2007
+++ SPECS/red5.spec Fri Jul 20 00:10:13 2007
@@ -6,11 +6,12 @@
Summary(pl.UTF-8): Red5: Otwarty serwer Flasha
Name: red5
Version: 0.6.2
-Release: 0.1
+Release: 0.2
License: LGPL
Group: Applications
Source0: http://dl.fancycode.com/red5/%{name}-%{version}.tar.gz
# Source0-md5: ed769422e86359922433de3805a0e361
+Source1: %{name}
URL: http://www.osflash.org/red5/
BuildRequires: ant
BuildRequires: jaxp_parser_impl
@@ -19,6 +20,8 @@
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _appdir %{_datadir}/%{name}
+
%description
Red5 is an Open Source Flash Server written in Java that supports:
- Streaming Audio/Video (FLV and MP3)
@@ -56,11 +59,12 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_javadir}
+install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir}}
-# install jar
-cp -a dist/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+cp -a dist/* $RPM_BUILD_ROOT%{_appdir}
+rm -rf $RPM_BUILD_ROOT%{_appdir}/doc
+rm -f $RPM_BUILD_ROOT%{_appdir}/red5.{bat,sh}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/red5
# javadoc
install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
@@ -75,7 +79,8 @@
%files
%defattr(644,root,root,755)
-%{_javadir}/*.jar
+%attr(755,root,root) %{_bindir}/red5
+%{_appdir}
%files javadoc
%defattr(644,root,root,755)
@@ -88,6 +93,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2007/07/19 22:10:13 glen
+- seems whole dist/ dir is usable standalone server
+
Revision 1.9 2007/07/19 21:39:33 glen
- 0.6.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/red5.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list