]>
Commit | Line | Data |
---|---|---|
08366bdc JB |
1 | # |
2 | # Conditional build: | |
578a0f01 | 3 | # _without_gnome - without GNOME support |
08366bdc | 4 | # |
04657dff AM |
5 | Summary: Commodore emulator |
6 | Summary(pl): Emulator Commodore | |
7 | Name: vice | |
15df9e65 AM |
8 | Version: 1.11 |
9 | Release: 1 | |
04657dff AM |
10 | License: GPL |
11 | Group: Applications/Emulators | |
04657dff | 12 | Source0: ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/%{name}-%{version}.tar.gz |
b86feb65 | 13 | # Source0-md5: 580817b28097b0897e48463d4fc510aa |
889c1a1d | 14 | Patch0: %{name}-info.patch |
96ab36ca JB |
15 | Patch1: %{name}-DESTDIR.patch |
16 | Patch2: %{name}-acamfixes.patch | |
5e62e29e | 17 | URL: http://viceteam.bei.t-online.de/ |
889c1a1d | 18 | BuildRequires: SDL-devel >= 1.2.0 |
04657dff AM |
19 | BuildRequires: XFree86-devel |
20 | BuildRequires: Xaw3d-devel | |
15df9e65 AM |
21 | BuildRequires: autoconf |
22 | BuildRequires: automake | |
889c1a1d | 23 | BuildRequires: bison |
24 | BuildRequires: esound-devel | |
25 | BuildRequires: flex | |
04657dff | 26 | BuildRequires: gettext-devel |
578a0f01 | 27 | %{!?_without_gnome:BuildRequires: gnome-libs-devel} |
04657dff | 28 | BuildRequires: libpng-devel |
889c1a1d | 29 | BuildRequires: readline-devel |
04657dff AM |
30 | BuildRequires: texinfo |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
04657dff AM |
33 | |
34 | %description | |
35 | VICE is a Versatile Commodore Emulator, i.e. a program that runs on a | |
36 | Unix, MS-DOS, Win95/NT, OS/2, RiscOS or BeOS machine and executes | |
37 | programs intended for the old 8-bit Commodore computers. The current | |
38 | version emulates the C64, the C128 (80 column screen is included now), | |
39 | the VIC20, all the PET models (except the SuperPET 9000, which is out | |
40 | of line anyway) and the CBM-II (aka C610). | |
41 | ||
42 | %description -l pl | |
43 | VICE jest wszechstronnym emulatorem 8-bitowego komputera Commodore. | |
44 | Aktualna wersja emuluje C64, C128 (wraz z trybem pracy 80 kolumnowym), | |
45 | VIC20, wszystkie modele PET (poza SuperPET 9000) oraz CBM-II (C610). | |
46 | ||
47 | %prep | |
48 | %setup -q | |
889c1a1d | 49 | %patch0 -p1 |
96ab36ca | 50 | %patch1 -p1 |
291ce1a1 | 51 | #%patch2 -p1 |
04657dff AM |
52 | |
53 | %build | |
15df9e65 AM |
54 | install %{_datadir}/automake/config.* . |
55 | #rm -f missing | |
56 | #{__gettextize} | |
bbb3a842 | 57 | #%%{__aclocal} |
58 | #%%{__autoconf} | |
59 | #%%{__autoheader} | |
60 | #%%{__automake} | |
291ce1a1 | 61 | #cd src/resid |
bbb3a842 | 62 | #%%{__autoconf} |
291ce1a1 | 63 | #cd ../.. |
64 | %configure2_13 \ | |
04657dff | 65 | --enable-autobpp \ |
dd230523 AM |
66 | --with-sdl \ |
67 | --with-x \ | |
68 | --enable-fullscreen \ | |
69 | --without-xaw3d \ | |
578a0f01 | 70 | %{!?_without_gnome:--enable-gnomeui} \ |
dd230523 AM |
71 | --enable-nls \ |
72 | --without-included-gettext | |
04657dff AM |
73 | %{__make} |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
96ab36ca JB |
78 | %{__make} install \ |
79 | DESTDIR=$RPM_BUILD_ROOT | |
04657dff | 80 | |
96ab36ca JB |
81 | %clean |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
049cc744 | 84 | %post |
f6bdd2c7 | 85 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
049cc744 AM |
86 | |
87 | %postun | |
f6bdd2c7 | 88 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
04657dff | 89 | |
04657dff AM |
90 | %files |
91 | %defattr(644,root,root,755) | |
f5495b29 | 92 | %doc AUTHORS Chan* FEEDBACK NEWS README |
04657dff AM |
93 | %attr(0755,root,root) %{_bindir}/* |
94 | %{_libdir}/vice | |
95 | %{_mandir}/man?/* | |
96ab36ca | 96 | %{_infodir}/*.info* |