SPECS: songbird.spec - working executable

glen glen at pld-linux.org
Tue Jan 2 18:23:41 CET 2007


Author: glen                         Date: Tue Jan  2 17:23:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- working executable

---- Files affected:
SPECS:
   songbird.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/songbird.spec
diff -u SPECS/songbird.spec:1.3 SPECS/songbird.spec:1.4
--- SPECS/songbird.spec:1.3	Tue Jan  2 17:40:13 2007
+++ SPECS/songbird.spec	Tue Jan  2 18:23:35 2007
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 %define		_snap 20070101
-%define		_rel 0.1
+%define		_rel 0.2
 Summary:	Songbird Web Player
 Name:		songbird
 Version:	0.2
@@ -28,6 +28,7 @@
 BuildRequires:	unzip
 BuildRequires:	xulrunner-devel
 BuildRequires:	zip
+Requires:	xulrunner
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_appdir	%{_libdir}/%{name}
@@ -53,7 +54,11 @@
 cd trunk/compiled/dist
 
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
-install Songbird $RPM_BUILD_ROOT%{_bindir}/songbird
+cat <<'EOF' > $RPM_BUILD_ROOT%{_bindir}/songbird
+#!/bin/sh
+exec %{_bindir}/xulrunner %{_appdir}/application.ini
+EOF
+chmod a+x $RPM_BUILD_ROOT%{_bindir}/songbird
 cp -a application.ini $RPM_BUILD_ROOT%{_appdir}
 cp -a chrome components defaults plugins scripts $RPM_BUILD_ROOT%{_appdir}
 
@@ -80,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/01/02 17:23:35  glen
+- working executable
+
 Revision 1.3  2007/01/02 16:40:13  glen
 - fix building on amd64
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/songbird.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list