]>
Commit | Line | Data |
---|---|---|
04657dff AM |
1 | Summary: Commodore emulator |
2 | Summary(pl): Emulator Commodore | |
3 | Name: vice | |
4 | Version: 1.6 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Emulators | |
8 | Group(de): Applikationen/Emulators | |
9 | Group(pl): Aplikacje/Emulatory | |
10 | Source0: ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/%{name}-%{version}.tar.gz | |
11 | URL: http://www.cs.cmu.edu/~dsladic/vice/vice.html | |
12 | BuildRequires: XFree86-devel | |
13 | BuildRequires: Xaw3d-devel | |
14 | BuildRequires: gettext-devel | |
15 | BuildRequires: readline-devel | |
dd230523 | 16 | BuildRequires: gnome-libs-devel |
04657dff AM |
17 | BuildRequires: SDL-devel >= 1.2.0 |
18 | BuildRequires: libpng-devel | |
19 | BuildRequires: esound-devel | |
20 | BuildRequires: bison | |
21 | BuildRequires: flex | |
22 | BuildRequires: automake | |
23 | BuildRequires: autoconf | |
24 | BuildRequires: texinfo | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %define _prefix /usr/X11R6 | |
28 | %define _mandir %{_prefix}/man | |
29 | ||
30 | %description | |
31 | VICE is a Versatile Commodore Emulator, i.e. a program that runs on a | |
32 | Unix, MS-DOS, Win95/NT, OS/2, RiscOS or BeOS machine and executes | |
33 | programs intended for the old 8-bit Commodore computers. The current | |
34 | version emulates the C64, the C128 (80 column screen is included now), | |
35 | the VIC20, all the PET models (except the SuperPET 9000, which is out | |
36 | of line anyway) and the CBM-II (aka C610). | |
37 | ||
38 | %description -l pl | |
39 | VICE jest wszechstronnym emulatorem 8-bitowego komputera Commodore. | |
40 | Aktualna wersja emuluje C64, C128 (wraz z trybem pracy 80 kolumnowym), | |
41 | VIC20, wszystkie modele PET (poza SuperPET 9000) oraz CBM-II (C610). | |
42 | ||
43 | %prep | |
44 | %setup -q | |
45 | ||
46 | %build | |
dd230523 | 47 | rm missing |
04657dff AM |
48 | gettextize --copy --force |
49 | aclocal | |
50 | autoconf | |
dd230523 | 51 | autoheader |
04657dff AM |
52 | automake -a -c |
53 | %configure \ | |
54 | --enable-autobpp \ | |
dd230523 AM |
55 | --with-sdl \ |
56 | --with-x \ | |
57 | --enable-fullscreen \ | |
58 | --without-xaw3d \ | |
59 | --enable-gnomeui \ | |
60 | --enable-nls \ | |
61 | --without-included-gettext | |
04657dff AM |
62 | %{__make} |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | gzip -9nf AUTHORS BUGS Chan* FEEDBACK NEWS README TODO | |
71 | ||
049cc744 AM |
72 | %post |
73 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
74 | ||
75 | %postun | |
76 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
04657dff AM |
77 | |
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %files | |
82 | %defattr(644,root,root,755) | |
83 | %doc *.gz | |
84 | %attr(0755,root,root) %{_bindir}/* | |
85 | %{_libdir}/vice | |
86 | %{_mandir}/man?/* | |
87 | %{_infodir}/*info* |