From beef3a3d853a11bf85b9b6535712edd89cecad88 Mon Sep 17 00:00:00 2001 From: uz Date: Fri, 18 Sep 2009 18:14:34 +0000 Subject: [PATCH] Prepared the spec file for version 2.13.0. Additional config files will no go to /usr/lib/cc65/cfg/. git-svn-id: svn://svn.cc65.org/cc65/trunk@4192 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- packages/rpm/redhat/cc65.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/rpm/redhat/cc65.spec b/packages/rpm/redhat/cc65.spec index a7a5087e3..b634fa59c 100644 --- a/packages/rpm/redhat/cc65.spec +++ b/packages/rpm/redhat/cc65.spec @@ -11,7 +11,7 @@ Summary: Crosscompiler/Crossassembler for 6502 systems %define name cc65 Name: %{name} -%define version 2.11.0 +%define version 2.13.0 Version: %{version} Release: 1 License: Freeware with exceptions - see docs @@ -423,6 +423,7 @@ programs for the Supervision Game console using the cc65 crosscompiler. %files supervision %attr(644,root,root) /usr/lib/cc65/lib/supervision.lib +%attr(644,root,root) /usr/lib/cc65/cfg/supervision-*.cfg @@ -466,7 +467,7 @@ make -C doc html %install -mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{asminc,emd,include/{em,geos,joystick,mouse,sys,tgi},joy,lib,mou,ser,tgi}} +mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{asminc,cfg,emd,include/{em,geos,joystick,mouse,sys,tgi},joy,lib,mou,ser,tgi}} # Binaries install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin @@ -479,6 +480,7 @@ install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT/usr/bin install -s -m 755 src/grc/grc $RPM_BUILD_ROOT/usr/bin install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT/usr/bin install -s -m 755 src/od65/od65 $RPM_BUILD_ROOT/usr/bin + # Libraries and includes install -m 644 libsrc/*.lib $RPM_BUILD_ROOT/usr/lib/cc65/lib install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include @@ -490,6 +492,11 @@ install -m 644 include/sys/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/sys install -m 644 include/tgi/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/tgi install -m 644 asminc/*.inc $RPM_BUILD_ROOT/usr/lib/cc65/asminc +# Additional linker configurations +for config in src/ld65/cfg/*-*.cfg; do + install -m 644 ${config} $RPM_BUILD_ROOT/usr/lib/cc65/cfg +done + # Drivers install -m 644 libsrc/*.emd $RPM_BUILD_ROOT/usr/lib/cc65/emd install -m 644 libsrc/*.joy $RPM_BUILD_ROOT/usr/lib/cc65/joy -- 2.39.5