Summary: Crosscompiler/Crossassembler for 6502 systems
%define name cc65
Name: %{name}
-%define version 2.9.0
+%define version 2.9.5
Version: %{version}
Release: 1
Copyright: Freeware with exceptions - see docs
%doc announce.txt
%doc doc/BUGS
%doc doc/CREDITS
-%doc doc/*.html
-%doc doc/compile.txt
-%doc doc/grc.txt
-%doc doc/internal.txt
-%doc doc/newvers.txt
%doc doc/readme.1st
-%doc samples
%attr(755,root,root) /usr/bin/ar65
%attr(755,root,root) /usr/bin/ca65
%attr(755,root,root) /usr/bin/ca65html
+###############################################################################
+# Documentation subpackage #
+###############################################################################
+
+%package doc
+
+Requires: %{name} = %{version}
+Copyright: Freeware
+Summary: Documentation for the cc65 C compiler
+Group: Development/Languages
+
+%description doc
+This package contains the documentation for the cc65 C compiler, mostly
+in HTML format. Other formats can be generated from the sources.
+
+%files doc
+%doc doc/*.html
+%doc doc/compile.txt
+%doc doc/grc.txt
+%doc doc/internal.txt
+%doc doc/newvers.txt
+%doc samples
+%doc src/ld65/cfg/*.cfg
+
+
+
###############################################################################
# Apple ][ subpackage #
###############################################################################
programs for the Apple ][ using the cc65 crosscompiler.
%files apple2
-%attr(644,root,root) /usr/lib/cc65/lib/apple2.lib
-%attr(644,root,root) /usr/lib/cc65/lib/apple2.o
+%attr(644,root,root) /usr/lib/cc65/lib/apple2.lib
+%attr(644,root,root) /usr/lib/cc65/lib/apple2.o
%attr(644,root,root) /usr/lib/cc65/joy/a2-*.joy
-%doc src/ld65/cfg/apple2.cfg
%files atari
%attr(644,root,root) /usr/lib/cc65/lib/atari.lib
%attr(644,root,root) /usr/lib/cc65/lib/atari.o
-%doc src/ld65/cfg/atari.cfg
%files atmos
%attr(644,root,root) /usr/lib/cc65/lib/atmos.lib
%attr(644,root,root) /usr/lib/cc65/lib/atmos.o
-%doc src/ld65/cfg/atmos.cfg
%attr(644,root,root) /usr/lib/cc65/emd/c128-*.emd
%attr(644,root,root) /usr/lib/cc65/joy/c128-*.joy
%attr(644,root,root) /usr/lib/cc65/tgi/c128-*.tgi
-%doc src/ld65/cfg/c128.cfg
%attr(644,root,root) /usr/lib/cc65/lib/c16.lib
%attr(644,root,root) /usr/lib/cc65/lib/c16.o
%attr(644,root,root) /usr/lib/cc65/joy/c16-*.joy
-%doc src/ld65/cfg/c16.cfg
%attr(644,root,root) /usr/lib/cc65/emd/c64-*.emd
%attr(644,root,root) /usr/lib/cc65/joy/c64-*.joy
%attr(644,root,root) /usr/lib/cc65/tgi/c64-*.tgi
-%doc src/ld65/cfg/c64.cfg
%files cbm510
%attr(644,root,root) /usr/lib/cc65/lib/cbm510.lib
%attr(644,root,root) /usr/lib/cc65/lib/cbm510.o
-%doc src/ld65/cfg/cbm510.cfg
%files cbm610
%attr(644,root,root) /usr/lib/cc65/lib/cbm610.lib
%attr(644,root,root) /usr/lib/cc65/lib/cbm610.o
-%doc src/ld65/cfg/cbm610.cfg
%attr(644,root,root) /usr/lib/cc65/lib/geos.o
%attr(755,root,root) %dir /usr/lib/cc65/include/geos
%attr(644,root,root) /usr/lib/cc65/include/geos/*.h
-%doc src/ld65/cfg/geos.cfg
%files nes
%attr(644,root,root) /usr/lib/cc65/lib/nes.lib
%attr(644,root,root) /usr/lib/cc65/lib/nes.o
-%doc src/ld65/cfg/nes.cfg
%files pet
%attr(644,root,root) /usr/lib/cc65/lib/pet.lib
%attr(644,root,root) /usr/lib/cc65/lib/pet.o
-%doc src/ld65/cfg/pet.cfg
%attr(644,root,root) /usr/lib/cc65/lib/plus4.lib
%attr(644,root,root) /usr/lib/cc65/lib/plus4.o
%attr(644,root,root) /usr/lib/cc65/joy/plus4-*.joy
-%doc src/ld65/cfg/plus4.cfg
%files supervision
%attr(644,root,root) /usr/lib/cc65/lib/supervision.lib
%attr(644,root,root) /usr/lib/cc65/lib/supervision.o
-%doc src/ld65/cfg/supervision.cfg
%attr(644,root,root) /usr/lib/cc65/lib/vic20.lib
%attr(644,root,root) /usr/lib/cc65/lib/vic20.o
%attr(644,root,root) /usr/lib/cc65/joy/vic20-*.joy
-%doc src/ld65/cfg/vic20.cfg
%build
# Binaries
-cd src; make -f make/gcc.mak; cd ..
+make -C src -f make/gcc.mak
# Libraries
-cd libsrc; make -s zap all; cd ..
+make -C libsrc -s zap all
# Documentation
-cd doc; make html; cd ..
+make -C doc html
%install
%changelog
+* Sun Oct 19 2003 Ullrich von Bassewitz <uz@cc65.org>
+- Move documentation into a separate doc package.
+
* Fri Oct 10 2003 Ullrich von Bassewitz <uz@cc65.org>
- Added the Supervision subpackage.
* Mon Apr 14 2003 Ullrich von Bassewitz <uz@cc65.org>
Added a subpackage for the Oric Atmos.
-%changelog
* Mon Feb 10 2003 Ullrich von Bassewitz <uz@cc65.org>
Added the object file conversion utility co65.