]> git.sur5r.net Git - cc65/commitdiff
Added RPM spec files
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 9 Dec 2000 16:03:50 +0000 (16:03 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 9 Dec 2000 16:03:50 +0000 (16:03 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@574 b7a2c559-68d2-44c3-8de9-860c34a00d81

packages/rpm/redhat/cc65-2.5.0.spec [new file with mode: 0644]
packages/rpm/redhat/cc65-2.6.0.spec [new file with mode: 0644]

diff --git a/packages/rpm/redhat/cc65-2.5.0.spec b/packages/rpm/redhat/cc65-2.5.0.spec
new file mode 100644 (file)
index 0000000..1329367
--- /dev/null
@@ -0,0 +1,133 @@
+#
+# SPEC file for the cc65 C compiler
+#
+# 07/10/99, Ullrich von Bassewitz (uz@musoftware.de)
+#
+
+Summary: Crosscompiler/Crossassembler for 6502 systems
+Name: cc65
+%define version 2.5.0
+Version: %{version}
+Release: 3
+Copyright: Freeware with exceptions - see docs
+Group: Development/Languages
+Source: ftp://ftp.musoftware.de/uz/cc65/cc65-sources-%{version}.tar.gz
+Vendor: MU Softwareentwicklung
+Packager: Ullrich von Bassewitz <uz@musoftware.de>
+%ifos linux
+BuildRequires: sgml-tools
+%endif
+BuildRoot: /var/tmp/%{name}-%{version}
+
+%description
+A C crosscompiler for 6502 systems, including a macroassembler that
+supports 6502, 65SC02 and 65816 CPUs, a linker and an archiver. The
+package contains the runtime library, a standard C library and runtime
+support for the C64, the C128, the CBM Plus/4, PET machines, the CBM-II
+(600/700) series of computers, the Apple ][, and the 8 bit Atari
+machines.
+
+
+%prep
+%setup
+
+
+%build
+# Binaries
+cd src
+make -f make/gcc.mak
+cd ..
+# Libraries
+cd libsrc
+make clean apple2lib
+make clean atarilib
+make clean c128lib
+make clean c64lib
+make clean cbm610lib
+make clean geoslib
+make clean petlib
+make clean plus4lib
+cd ..
+# Documentation
+cd doc
+sgml2txt geos.sgml
+cd ..
+
+
+%install
+
+mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{lib,include/geos,sample}}
+
+# Binaries
+install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin
+install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT/usr/bin
+install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT/usr/bin
+install -s -m 755 src/cl65/cl65 $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
+# Libraries and includes
+install -m 644 libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT/usr/lib/cc65/lib
+install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include
+install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos
+
+
+%files
+%defattr(644,root,root,755)
+%doc announce.txt
+%doc doc/BUGS
+%doc doc/CREDITS
+%doc doc/ar65.txt
+%doc doc/ca65.txt
+%doc doc/cc65.txt
+%doc doc/cl65.txt
+%doc doc/coding.txt
+%doc doc/compile.txt
+%doc doc/debugging.txt
+%doc doc/geos.txt
+%doc doc/grc.txt
+%doc doc/internal.doc
+%doc doc/intro.txt
+%doc doc/ld65.txt
+%doc doc/library.txt
+%doc doc/newvers.txt
+%doc doc/readme.1st
+%doc doc/readme.txt
+%doc samples
+%attr(755,root,root)                   /usr/bin/ar65
+%attr(755,root,root)                   /usr/bin/ca65
+%attr(755,root,root)                   /usr/bin/cc65
+%attr(755,root,root)                   /usr/bin/cl65
+%attr(755,root,root)                   /usr/bin/grc
+%attr(755,root,root)                   /usr/bin/ld65
+%attr(755,root,root) %dir      /usr/lib/cc65
+%attr(755,root,root) %dir      /usr/lib/cc65/lib
+%attr(755,root,root) %dir      /usr/lib/cc65/include
+%attr(755,root,root) %dir      /usr/lib/cc65/include/geos
+%attr(644,root,root)                   /usr/lib/cc65/lib/*
+%attr(644,root,root)                   /usr/lib/cc65/include/*.h
+%attr(644,root,root)                   /usr/lib/cc65/include/geos/*.h
+
+%changelog
+* Sun Jul 30 2000 Ullrich von Bassewitz <uz@musoftware.de>
+The GEOS include files were not installed, remove headegen.sh
+
+* Tue Jul 18 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.5.0 of the compiler package.
+
+* Sat May 06 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.4.1 of the compiler package.
+
+* Tue Jan 16 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.4.0 of the compiler package.
+
+* Tue Jan 6 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.3.1 of the compiler package.
+
+* Tue Jan 4 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.3.0 of the compiler package.
+
+* Sat Sep 25 1999 Robert R. Wal <rrw@reptile.eu.org>
+[2.2.1-2]
+- changed to allow build as plain user
+- `samples' are part of documentation, not part of library
+
diff --git a/packages/rpm/redhat/cc65-2.6.0.spec b/packages/rpm/redhat/cc65-2.6.0.spec
new file mode 100644 (file)
index 0000000..c68ce50
--- /dev/null
@@ -0,0 +1,286 @@
+#
+# SPEC file for the cc65 C compiler and RedHat 7.x
+#
+# 07/10/99, Ullrich von Bassewitz (uz@cc65.org)
+#
+
+###############################################################################
+#                               Main package                                 #
+###############################################################################
+
+Summary: Crosscompiler/Crossassembler for 6502 systems
+Name: cc65
+%define version 2.6.0
+Version: %{version}
+Release: 1
+Copyright: Freeware with exceptions - see docs
+Group: Development/Languages
+Source: ftp://ftp.musoftware.de/uz/cc65/cc65-sources-%{version}.tar.gz
+Vendor: MU Softwareentwicklung
+Packager: Ullrich von Bassewitz <uz@musoftware.de>
+%ifos linux
+BuildRequires: sgml-tools
+%endif
+BuildRoot: /var/tmp/%{name}-%{version}
+
+%description
+A C crosscompiler for 6502 systems, including a macroassembler that
+supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
+other tools. To create programs for one of the supported target
+machines, you have to install at least one of the library packages,
+too.
+
+%files
+%defattr(644,root,root,755)
+%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
+%attr(755,root,root)                   /usr/bin/cc65
+%attr(755,root,root)                   /usr/bin/cl65
+%attr(755,root,root)           /usr/bin/da65
+%attr(755,root,root)                   /usr/bin/ld65
+%attr(755,root,root) %dir      /usr/lib/cc65
+%attr(755,root,root) %dir      /usr/lib/cc65/lib
+%attr(755,root,root) %dir      /usr/lib/cc65/include
+%attr(644,root,root)                   /usr/lib/cc65/include/*.h
+
+
+
+###############################################################################
+#                              C64 subpackage                                #
+###############################################################################
+
+%package c64
+Requires: cc65 = 2.6.0
+Summary: C64 specific libraries and headers for the cc65 compiler.
+Group: Development/Languages
+
+%description c64
+This package contains the header files and libraries needed to write
+programs for the Commodore C64 using the cc65 crosscompiler.
+
+%files c64
+%attr(644,root,root)           /usr/lib/cc65/lib/c64.lib
+%attr(644,root,root)           /usr/lib/cc65/lib/c64.o
+
+
+
+###############################################################################
+#                              C128 subpackage                               #
+###############################################################################
+
+%package c128
+Requires: cc65 = 2.6.0
+Summary: C128 specific libraries and headers for the cc65 compiler.
+Group: Development/Languages
+
+%description c128
+This package contains the header files and libraries needed to write
+programs for the Commodore C128 using the cc65 crosscompiler.
+
+%files c128
+%attr(644,root,root)           /usr/lib/cc65/lib/c128.lib
+%attr(644,root,root)           /usr/lib/cc65/lib/c128.o
+
+
+
+###############################################################################
+#                             Atari subpackage                               #
+###############################################################################
+
+%package atari
+Requires: cc65 = 2.6.0
+Summary: Atari specific libraries and headers for the cc65 compiler.
+Group: Development/Languages
+
+%description atari
+This package contains the header files and libraries needed to write
+programs for the 8 bit Atari machines using the cc65 crosscompiler.
+
+%files atari
+%attr(644,root,root)           /usr/lib/cc65/lib/atari.lib
+%attr(644,root,root)           /usr/lib/cc65/lib/atari.o
+
+
+
+###############################################################################
+#                             Plus/4 subpackage                              #
+###############################################################################
+
+%package plus4
+Requires: cc65 = 2.6.0
+Summary: Plus/4 specific libraries and headers for the cc65 compiler.
+Group: Development/Languages
+
+%description plus4
+This package contains the header files and libraries needed to write
+programs for the Commodore Plus/4 and C16/116 using the cc65
+crosscompiler.
+
+%files plus4
+%attr(644,root,root)           /usr/lib/cc65/lib/plus4.lib
+%attr(644,root,root)           /usr/lib/cc65/lib/plus4.o
+
+
+
+###############################################################################
+#                              PET subpackage                                #
+###############################################################################
+
+%package pet
+Requires: cc65 = 2.6.0
+Summary: PET specific libraries and headers for the cc65 compiler.
+Group: Development/Languages
+
+%description pet
+This package contains the header files and libraries needed to write
+programs for the Commodore PET family of computers using the cc65
+crosscompiler.
+
+%files pet
+%attr(644,root,root)           /usr/lib/cc65/lib/pet.lib
+%attr(644,root,root)           /usr/lib/cc65/lib/pet.o
+
+
+
+###############################################################################
+#                             CBM610 subpackage                              #
+###############################################################################
+
+%package cbm610
+Requires: cc65 = 2.6.0
+Summary: CBM 610 specific libraries and headers for the cc65 compiler.
+Group: Development/Languages
+
+%description cbm610
+This package contains the header files and libraries needed to write
+programs for the Commodore PET-II (CBM600/700) family of computers using
+the cc65 crosscompiler.
+
+%files cbm610
+%attr(644,root,root)           /usr/lib/cc65/lib/cbm610.lib
+%attr(644,root,root)           /usr/lib/cc65/lib/cbm610.o
+
+
+
+###############################################################################
+#                            Apple ][ subpackage                             #
+###############################################################################
+
+%package apple2
+Requires: cc65 = 2.6.0
+Summary: Apple ][ specific libraries and headers for the cc65 compiler.
+Group: Development/Languages
+
+%description apple2
+This package contains the header files and libraries needed to write
+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
+
+
+
+###############################################################################
+#                              GEOS subpackage                               #
+###############################################################################
+
+%package geos
+Requires: cc65 = 2.6.0
+Summary: GEOS specific libraries and headers for the cc65 compiler.
+Group: Development/Languages
+
+%description geos
+This package contains the header files and libraries needed to write
+GEOS programs for the C64/C128 using the cc65 crosscompiler.
+
+%files geos
+%attr(755,root,root)                   /usr/bin/grc
+%attr(644,root,root)           /usr/lib/cc65/lib/geos.lib
+%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
+
+
+
+###############################################################################
+#                                   Build                                    #
+###############################################################################
+
+
+
+%prep
+%setup
+
+
+%build
+# Binaries
+cd src
+make -f make/gcc.mak
+cd ..
+# Libraries
+cd libsrc
+make zap all
+cd ..
+# Documentation
+cd doc
+make html
+cd ..
+
+
+%install
+mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{lib,include/geos,sample}}
+
+# Binaries
+install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin
+install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT/usr/bin
+install -s -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT/usr/bin
+install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT/usr/bin
+install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT/usr/bin
+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
+# Libraries and includes
+install -m 644 libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT/usr/lib/cc65/lib
+install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include
+install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos
+
+
+%changelog
+* Sat Dec 6 2000 Ullrich von Bassewitz <uz@cc65.org>
+Update for cc65 2.6.0 and RedHat 7.x
+
+* Sun Jul 30 2000 Ullrich von Bassewitz <uz@musoftware.de>
+The GEOS include files were not installed, remove headegen.sh
+
+* Tue Jul 18 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.5.0 of the compiler package.
+
+* Sat May 06 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.4.1 of the compiler package.
+
+* Tue Jan 16 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.4.0 of the compiler package.
+
+* Tue Jan 6 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.3.1 of the compiler package.
+
+* Tue Jan 4 2000 Ullrich von Bassewitz <uz@musoftware.de>
+Update to version 2.3.0 of the compiler package.
+
+* Sat Sep 25 1999 Robert R. Wal <rrw@reptile.eu.org>
+[2.2.1-2]
+- changed to allow build as plain user
+- `samples' are part of documentation, not part of library
+