]> git.sur5r.net Git - cc65/commitdiff
Prepared the spec file for version 2.13.0. Additional config files will no go
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 18 Sep 2009 18:14:34 +0000 (18:14 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 18 Sep 2009 18:14:34 +0000 (18:14 +0000)
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

index a7a5087e311ae6ca6bdf17203ea44de121033a5c..b634fa59c7e5fa4bd7191815a3a5905064849784 100644 (file)
@@ -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