SPECS: z88dk.spec - updated to 1.6

witekfl witekfl at pld-linux.org
Sat Feb 4 18:30:19 CET 2006


Author: witekfl                      Date: Sat Feb  4 17:30:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.6

---- Files affected:
SPECS:
   z88dk.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/z88dk.spec
diff -u SPECS/z88dk.spec:1.20 SPECS/z88dk.spec:1.21
--- SPECS/z88dk.spec:1.20	Wed May 11 19:05:48 2005
+++ SPECS/z88dk.spec	Sat Feb  4 18:30:13 2006
@@ -2,17 +2,16 @@
 Summary:	Z88 Development Kit
 Summary(pl):	Zestaw programistyczny Z88
 Name:		z88dk
-Version:	1.5
+Version:	1.6
 Epoch:		1
-Release:	2
+Release:	1
 License:	Artistic
 Group:		Development/Tools
-Source0:	http://dl.sourceforge.net/z88dk/%{name}-src-%{version}.tar.gz
-# Source0-md5:	07c122c40c66093ede4ba3047e8f6128
-Patch0:		%{name}-typo.patch
-Patch1:		%{name}-DESTDIR.patch
+Source0:	http://dl.sourceforge.net/z88dk/%{name}-src-%{version}.tgz
+# Source0-md5:	5fd75dea26da3c3d863b9e15f6524af9
 URL:		http://z88dk.sourceforge.net/
 BuildRequires:	rpmbuild(macros) >= 1.213
+BuildRequires:	sed >= 4.0
 ExcludeArch:	%{x8664} alpha ia64 ppc64 s390x sparc64
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -40,12 +39,14 @@
 
 %prep
 %setup -q -n %{name}
-%patch0 -p1
-%patch1 -p1
 
 find www -name CVS -exec rm -rf {} \; ||:
 
+sed -i -e 's/$(prefix)/$(DESTDIR)\/$(prefix)/g' Makefile
+sed -i -e 's/\.\/config\.sh $(DESTDIR)\//\.\/config.sh /' Makefile
+
 %build
+mkdir bin
 Z80_OZFILES=`pwd`/lib/
 ZCCCFG=`pwd`/lib/config/
 PATH=$PATH:`pwd`/bin
@@ -66,7 +67,7 @@
 install -d $RPM_BUILD_ROOT%{_prefix} \
 	$RPM_BUILD_ROOT%{_examplesdir}/%{name}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT DEFAULT=zx prefix=%{_prefix}
 install bin2tap $RPM_BUILD_ROOT%{_bindir}
 cp -ar examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
 
@@ -90,6 +91,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2006/02/04 17:30:13  witekfl
+- updated to 1.6
+
 Revision 1.20  2005/05/11 17:05:48  qboosh
 - use x8664 macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/z88dk.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list