3 # _without_gnome - without GNOME support
5 Summary: Commodore emulator
6 Summary(pl): Emulator Commodore
11 Group: Applications/Emulators
12 Group(de): Applikationen/Emulators
13 Group(pl): Aplikacje/Emulatory
14 Source0: ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/%{name}-%{version}.tar.gz
15 Patch0: %{name}-info.patch
16 URL: http://www.cs.cmu.edu/~dsladic/vice/vice.html
17 BuildRequires: SDL-devel >= 1.2.0
18 BuildRequires: XFree86-devel
19 BuildRequires: Xaw3d-devel
20 BuildRequires: automake
21 BuildRequires: autoconf
23 BuildRequires: esound-devel
25 BuildRequires: gettext-devel
26 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
27 BuildRequires: libpng-devel
28 BuildRequires: readline-devel
29 BuildRequires: texinfo
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _prefix /usr/X11R6
33 %define _mandir %{_prefix}/man
36 VICE is a Versatile Commodore Emulator, i.e. a program that runs on a
37 Unix, MS-DOS, Win95/NT, OS/2, RiscOS or BeOS machine and executes
38 programs intended for the old 8-bit Commodore computers. The current
39 version emulates the C64, the C128 (80 column screen is included now),
40 the VIC20, all the PET models (except the SuperPET 9000, which is out
41 of line anyway) and the CBM-II (aka C610).
44 VICE jest wszechstronnym emulatorem 8-bitowego komputera Commodore.
45 Aktualna wersja emuluje C64, C128 (wraz z trybem pracy 80 kolumnowym),
46 VIC20, wszystkie modele PET (poza SuperPET 9000) oraz CBM-II (C610).
54 gettextize --copy --force
65 %{!?_without_gnome:--enable-gnomeui} \
67 --without-included-gettext
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT
76 gzip -9nf AUTHORS BUGS Chan* FEEDBACK NEWS README TODO
79 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
82 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
85 rm -rf $RPM_BUILD_ROOT
88 %defattr(644,root,root,755)
90 %attr(0755,root,root) %{_bindir}/*