From: undefine Date: Wed, 20 Aug 2003 17:17:55 +0000 (+0000) Subject: - changes inspired by included spec file: X-Git-Tag: STABLE~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcc65.git;a=commitdiff_plain;h=7453c9538f275628e2d913768c3de7a4ab832109 - changes inspired by included spec file: - spliting to many subpackages - add asm*, tig, emg files Changed files: cc65.spec -> 1.9 --- diff --git a/cc65.spec b/cc65.spec index d9fa87e..aea4a60 100644 --- a/cc65.spec +++ b/cc65.spec @@ -3,7 +3,7 @@ Summary(pl): Crosskompilator/Crossassembler dla system Name: cc65 Version: 2.9.2 Release: 1 -License: GPL +License: Freeware with exceptions - see docs Group: Development/Languages # ftp.musoftware.de is ugly, there is mirror at ftp://ftp.funet.fi/pub/cbm/programming/cc65/ #Source0: ftp://ftp.musoftware.de/pub/uz/cc65/%{name}-sources-%{version}.tar.bz2 @@ -22,10 +22,190 @@ machines, you have to install at least one of the library packages. %description -l pl C crosskompilator dla systemów 6502, w³±czaj±c w to makroassembler -wspieraj±cy 6502, 65S02 oraz 65816 jako CPI, linker i parê innych +wspieraj±cy 6502, 65SC02 oraz 65816 jako CPI, linker i parê innych narzêdzi. By tworzyæ programy bêdziesz musia³ zainstalowac jeden z pakietów bibliotecznych. +%package vic20 +Summary: VIC20 specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla VIC20 biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description vic20 +This package contains the header files and libraries needed to write +programs for the Commodore VIC20 using the cc65 crosscompiler. + +%description vic20 -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Commodore VIC20 korzystaj±c z crosskompilatora cc65. + +%package c16 +Summary: C16/116 specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla C16/116 biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description c16 +This package contains the header files and libraries needed to write +programs for the Commodore C16/116 using the cc65 crosscompiler. + +%description c16 -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Commodore C16/116 korzystaj±c z crosskompilatora cc65. + +%package c64 +Summary: C64 specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla C64 biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description c64 +This package contains the header files and libraries needed to write +programs for the Commodore C64 using the cc65 crosscompiler. + +%description c64 -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Commodore C64 korzystaj±c z crosskompilatora cc65. + +%package c128 +Summary: C128 specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla C128 biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description c128 +This package contains the header files and libraries needed to write +programs for the Commodore C128 using the cc65 crosscompiler. + +%description c128 -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Commodore C128 korzystaj±c z crosskompilatora cc65. + +%package atari +Summary: Atari specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla Atari biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description atari +This package contains the header files and libraries needed to write +programs for the 8 bit Atari using the cc65 crosscompiler. + +%description atari -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +8 bitowego Atari korzystaj±c z crosskompilatora cc65. + +%package plus4 +Summary: Plus/4 specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla Plus/4 biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%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. + +%description plus4 -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Commodore Plus/4 i C16/116 korzystaj±c z crosskompilatora cc65. + +%package pet +Summary: PET specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla PET biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description pet +This package contains the header files and libraries needed to write +programs for the Commodore PET using the cc65 crosscompiler. + +%description pet -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Commodore PET korzystaj±c z crosskompilatora cc65. + +%package cbm510 +Summary: CBM 510 specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla CBM 510 biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description cbm510 +This package contains the header files and libraries needed to write +programs for the Commodore CBM 510 (aka P500) using the cc65 crosscompiler. + +%description cbm510 -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Commodore CBM 510 (zwany te¿ P500) korzystaj±c z crosskompilatora cc65. + +%package cbm610 +Summary: CBM 610 specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla CBM 610 biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description cbm610 +This package contains the header files and libraries needed to write +programs for the Commodore PET-II (CBM600/700) using the cc65 crosscompiler. + +%description cbm610 -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Commodore PET-II (CBM600/700) korzystaj±c z crosskompilatora cc65. + +%package apple2 +Summary: Apple ][ specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla Apple ][ biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description apple2 +This package contains the header files and libraries needed to write +programs for the Apple ][ using the cc65 crosscompiler. + +%description apple2 -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Apple ][ korzystaj±c z crosskompilatora cc65. + +%package atmos +Summary: Oric Atmos specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla Oric Atmos biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description atmos +This package contains the header files and libraries needed to write +programs for the Oric Atmos using the cc65 crosscompiler. + +%description atmos -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla +Oric Atmos korzystaj±c z crosskompilatora cc65. + +%package geos +Summary: GEOS specific libraries and headers for the cc65 compiler +Summary(pl): Specyficzne dla GEOS biblioteki i pliki nag³ówkowe +License: Freeware +Group: Development/Languages +Requires: %{name} = %{version} + +%description geos +This package contains the header files and libraries needed to write +GEOS programs for the C64/C128 using the cc65 crosscompiler. + +%description geos -l pl +Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów GEOS dla +C64/C128 korzystaj±c z crosskompilatora cc65. + %prep %setup -q @@ -36,7 +216,7 @@ pakiet %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{lib,include/geos}} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,emd,lib,tgi,include/{geos,tgi}}} install -m 755 src/ar65/ar65 $RPM_BUILD_ROOT%{_bindir} install -m 755 src/ca65/ca65 $RPM_BUILD_ROOT%{_bindir} @@ -46,15 +226,111 @@ install -m 755 src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir} install -m 755 src/da65/da65 $RPM_BUILD_ROOT%{_bindir} install -m 755 src/grc/grc $RPM_BUILD_ROOT%{_bindir} install -m 755 src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir} -install libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT%{_libdir}/cc65/lib -install include/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include -install include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/geos +install -m 755 src/od65/od65 $RPM_BUILD_ROOT%{_bindir} +install libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT%{_libdir}/%{name}/lib +install include/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include +install include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/geos +install include/tgi/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/tgi +install asminc/*.inc $RPM_BUILD_ROOT%{_libdir}/%{name}/asminc + +# TGI and EM drivers +install -m 644 libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/%{name}/emd +install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/%{name}/tgi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc doc/{BUGS,CREDITS,compile.txt,grc.txt,internal.txt,newvers.txt,readme.1st} doc/*.html +%doc doc/{BUGS,CREDITS,compile.txt,grc.txt,internal.txt,newvers.txt,readme.1st} doc/*.html announce.txt samples %attr(755,root,root) %{_bindir}/* -%{_libdir}/cc65 +%dir %{_libdir}/%{name} +%dir %{_libdir}/%{name}/emd +%dir %{_libdir}/%{name}/lib +%dir %{_libdir}/%{name}/tgi +%dir %{_libdir}/%{name}/include +%dir %{_libdir}/%{name}/include/tgi/ +%dir %{_libdir}/%{name}/asminc +%{_libdir}/%{name}/include/*.h +%{_libdir}/%{name}/asminc/*.inc +%{_libdir}/%{name}/include/tgi/*.h + +%files vic20 +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/vic20.lib +%{_libdir}/%{name}/lib/vic20.o +%doc src/ld65/cfg/vic20.cfg + +%files c16 +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/c16.lib +%{_libdir}/%{name}/lib/c16.o +%doc src/ld65/cfg/c16.cfg + +%files c64 +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/c64.lib +%{_libdir}/%{name}/lib/c64.o +%{_libdir}/%{name}/emd/c64-*.emd +%{_libdir}/%{name}/tgi/c64-*.tgi +%doc src/ld65/cfg/c64.cfg + +%files c128 +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/c128.lib +%{_libdir}/%{name}/lib/c128.o +%{_libdir}/%{name}/emd/c128-*.emd +%doc src/ld65/cfg/c128.cfg + +%files atari +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/atari.lib +%{_libdir}/%{name}/lib/atari.o +%doc src/ld65/cfg/atari.cfg + +%files plus4 +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/plus4.lib +%{_libdir}/%{name}/lib/plus4.o +%doc src/ld65/cfg/plus4.cfg + +%files pet +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/pet.lib +%{_libdir}/%{name}/lib/pet.o +%doc src/ld65/cfg/pet.cfg + +%files cbm510 +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/cbm510.lib +%{_libdir}/%{name}/lib/cbm510.o +%{_libdir}/%{name}/emd/cbm510-*.emd +%doc src/ld65/cfg/cbm510.cfg + +%files cbm610 +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/cbm610.lib +%{_libdir}/%{name}/lib/cbm610.o +%{_libdir}/%{name}/emd/cbm610-*.emd +%doc src/ld65/cfg/cbm610.cfg + +%files apple2 +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/apple2.lib +%{_libdir}/%{name}/lib/apple2.o +%doc src/ld65/cfg/apple2.cfg + +%files atmos +%defattr(644,root,root,755) +%{_libdir}/%{name}/lib/atmos.lib +%{_libdir}/%{name}/lib/atmos.o +%doc src/ld65/cfg/atmos.cfg + +%files geos +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/grc +%{_libdir}/%{name}/lib/geos.lib +%{_libdir}/%{name}/lib/geos.o +%dir %{_libdir}/%{name}/include/geos +%{_libdir}/%{name}/include/geos/*.h +%doc src/ld65/cfg/geos.cfg