1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00

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
This commit is contained in:
uz 2009-09-18 18:14:34 +00:00
parent 6019580fb6
commit beef3a3d85

View 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