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