SPECS: songbird.spec - packaged files

glen glen at pld-linux.org
Tue Jan 2 02:55:02 CET 2007


Author: glen                         Date: Tue Jan  2 01:55:02 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- packaged files

---- Files affected:
SPECS:
   songbird.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/songbird.spec
diff -u SPECS/songbird.spec:1.1 SPECS/songbird.spec:1.2
--- SPECS/songbird.spec:1.1	Tue Jan  2 02:04:19 2007
+++ SPECS/songbird.spec	Tue Jan  2 02:54:56 2007
@@ -23,6 +23,8 @@
 BuildRequires:	zip
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_appdir	%{_libdir}/%{name}
+
 %description
 Songbird Web Player.
 
@@ -36,17 +38,29 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+cd trunk/compiled/dist
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
+install Songbird $RPM_BUILD_ROOT%{_bindir}/songbird
+cp -a application.ini $RPM_BUILD_ROOT%{_appdir}
+cp -a chrome components defaults plugins scripts $RPM_BUILD_ROOT%{_appdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README*
+%attr(755,root,root) %{_bindir}/songbird
+%dir %{_appdir}
+%{_appdir}/application.ini
+%dir %{_appdir}/components
+%{_appdir}/components/*.js
+%{_appdir}/components/*.xpt
+%attr(755,root,root) %{_appdir}/components/*.so
+%dir %{_appdir}/plugins
+%{_appdir}/chrome
+%{_appdir}/defaults
+%{_appdir}/scripts
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +68,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/01/02 01:54:56  glen
+- packaged files
+
 Revision 1.1  2007/01/02 01:04:19  glen
 - new
-
================================================================

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



More information about the pld-cvs-commit mailing list