]> git.pld-linux.org Git - packages/vice.git/blame - vice.spec
- massive attack: source-md5
[packages/vice.git] / vice.spec
CommitLineData
08366bdc
JB
1#
2# Conditional build:
578a0f01 3# _without_gnome - without GNOME support
08366bdc 4#
04657dff
AM
5Summary: Commodore emulator
6Summary(pl): Emulator Commodore
7Name: vice
15df9e65
AM
8Version: 1.11
9Release: 1
04657dff
AM
10License: GPL
11Group: Applications/Emulators
04657dff 12Source0: ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/%{name}-%{version}.tar.gz
b86feb65 13# Source0-md5: 580817b28097b0897e48463d4fc510aa
889c1a1d 14Patch0: %{name}-info.patch
96ab36ca
JB
15Patch1: %{name}-DESTDIR.patch
16Patch2: %{name}-acamfixes.patch
5e62e29e 17URL: http://viceteam.bei.t-online.de/
889c1a1d 18BuildRequires: SDL-devel >= 1.2.0
04657dff
AM
19BuildRequires: XFree86-devel
20BuildRequires: Xaw3d-devel
15df9e65
AM
21BuildRequires: autoconf
22BuildRequires: automake
889c1a1d 23BuildRequires: bison
24BuildRequires: esound-devel
25BuildRequires: flex
04657dff 26BuildRequires: gettext-devel
578a0f01 27%{!?_without_gnome:BuildRequires: gnome-libs-devel}
04657dff 28BuildRequires: libpng-devel
889c1a1d 29BuildRequires: readline-devel
04657dff
AM
30BuildRequires: texinfo
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
04657dff
AM
33
34%description
35VICE is a Versatile Commodore Emulator, i.e. a program that runs on a
36Unix, MS-DOS, Win95/NT, OS/2, RiscOS or BeOS machine and executes
37programs intended for the old 8-bit Commodore computers. The current
38version emulates the C64, the C128 (80 column screen is included now),
39the VIC20, all the PET models (except the SuperPET 9000, which is out
40of line anyway) and the CBM-II (aka C610).
41
42%description -l pl
43VICE jest wszechstronnym emulatorem 8-bitowego komputera Commodore.
44Aktualna wersja emuluje C64, C128 (wraz z trybem pracy 80 kolumnowym),
45VIC20, 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
54install %{_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
76rm -rf $RPM_BUILD_ROOT
77
96ab36ca
JB
78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
04657dff 80
96ab36ca
JB
81%clean
82rm -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*
This page took 0.078646 seconds and 4 git commands to generate.