SPECS: suspend2-userui.spec - use %{__make} install as instalation...

shadzik shadzik at pld-linux.org
Sat Jul 15 02:33:51 CEST 2006


Author: shadzik                      Date: Sat Jul 15 00:33:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %{__make} install as instalation method; we need to patch Makefile to do this
- more files (suspend2ui_usplash)
- rel 2

---- Files affected:
SPECS:
   suspend2-userui.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/suspend2-userui.spec
diff -u SPECS/suspend2-userui.spec:1.8 SPECS/suspend2-userui.spec:1.9
--- SPECS/suspend2-userui.spec:1.8	Fri Jul 14 17:53:19 2006
+++ SPECS/suspend2-userui.spec	Sat Jul 15 02:33:46 2006
@@ -4,11 +4,12 @@
 Summary(pl):	Interfejs użytkownika dla Suspend2
 Name:		suspend2-userui
 Version:	0.6.4
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://www.suspend2.net/downloads/all/%{name}-%{version}.tar.gz
 # Source0-md5:	737427dd2eb076907674a4334735c2ef
+Patch0:		%{name}-Makefile.patch
 URL:		http://www.suspend2.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -37,6 +38,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %{__make} \
@@ -47,7 +49,8 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sbindir}
 
-install {suspend2ui_text,suspend2ui_fbsplash} $RPM_BUILD_ROOT%{_sbindir}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -55,8 +58,7 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README USERUI_API KERNEL_API
-%attr(755,root,root) %{_sbindir}/suspend2ui_text
-%attr(755,root,root) %{_sbindir}/suspend2ui_fbsplash
+%attr(755,root,root) %{_sbindir}/suspend2ui_*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +66,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/07/15 00:33:46  shadzik
+- use %{__make} install as instalation method; we need to patch Makefile to do this
+- more files (suspend2ui_usplash)
+- rel 2
+
 Revision 1.8  2006/07/14 15:53:19  shadzik
 - up to 0.6.4
 - drop -Makefile.patch (it already builds dynamically)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/suspend2-userui.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list