]> git.pld-linux.org Git - packages/vice.git/blame - vice.spec
- supprot for HOME_ETC
[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
08d2bb96 8Version: 1.13
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
08d2bb96 13# Source0-md5: 6e7bfc52bc273ebeb057c7cb21357c5b
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%description
33VICE is a Versatile Commodore Emulator, i.e. a program that runs on a
34Unix, MS-DOS, Win95/NT, OS/2, RiscOS or BeOS machine and executes
35programs intended for the old 8-bit Commodore computers. The current
36version emulates the C64, the C128 (80 column screen is included now),
37the VIC20, all the PET models (except the SuperPET 9000, which is out
38of line anyway) and the CBM-II (aka C610).
39
40%description -l pl
41VICE jest wszechstronnym emulatorem 8-bitowego komputera Commodore.
42Aktualna wersja emuluje C64, C128 (wraz z trybem pracy 80 kolumnowym),
43VIC20, wszystkie modele PET (poza SuperPET 9000) oraz CBM-II (C610).
44
45%prep
46%setup -q
889c1a1d 47%patch0 -p1
96ab36ca 48%patch1 -p1
42d1ee62 49%patch2 -p1
04657dff
AM
50
51%build
42d1ee62
JB
52%{__gettextize}
53%{__aclocal}
54%{__autoconf}
55%{__autoheader}
56%{__automake}
57cd src/resid
58%{__autoconf}
59cd ../..
60%configure \
04657dff 61 --enable-autobpp \
dd230523 62 --with-sdl \
dd230523 63 --enable-fullscreen \
578a0f01 64 %{!?_without_gnome:--enable-gnomeui} \
dd230523 65 --enable-nls \
764e9cd6
TP
66 --without-xaw3d \
67 --without-included-gettext \
68 --with-x
04657dff
AM
69%{__make}
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
96ab36ca
JB
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
04657dff 76
42d1ee62
JB
77%find_lang %{name}
78
96ab36ca
JB
79%clean
80rm -rf $RPM_BUILD_ROOT
81
049cc744 82%post
f6bdd2c7 83[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
049cc744
AM
84
85%postun
f6bdd2c7 86[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
04657dff 87
42d1ee62 88%files -f %{name}.lang
04657dff 89%defattr(644,root,root,755)
12a35a4d 90%doc AUTHORS Chan* FEEDBACK NEWS README
04657dff
AM
91%attr(0755,root,root) %{_bindir}/*
92%{_libdir}/vice
93%{_mandir}/man?/*
96ab36ca 94%{_infodir}/*.info*
This page took 0.074415 seconds and 4 git commands to generate.