]> git.pld-linux.org Git - packages/vice.git/blame - vice.spec
- added home_etc.patch
[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
e22289a9 9Release: 2
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
e22289a9 17Patch3: %{name}-home_etc.patch
5e62e29e 18URL: http://viceteam.bei.t-online.de/
889c1a1d 19BuildRequires: SDL-devel >= 1.2.0
04657dff 20BuildRequires: XFree86-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%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
e22289a9 51%patch3 -p1
04657dff
AM
52
53%build
42d1ee62
JB
54%{__gettextize}
55%{__aclocal}
56%{__autoconf}
57%{__autoheader}
58%{__automake}
59cd src/resid
60%{__autoconf}
61cd ../..
62%configure \
04657dff 63 --enable-autobpp \
dd230523 64 --with-sdl \
dd230523 65 --enable-fullscreen \
578a0f01 66 %{!?_without_gnome:--enable-gnomeui} \
dd230523 67 --enable-nls \
764e9cd6
TP
68 --without-xaw3d \
69 --without-included-gettext \
70 --with-x
04657dff
AM
71%{__make}
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
96ab36ca
JB
76%{__make} install \
77 DESTDIR=$RPM_BUILD_ROOT
04657dff 78
42d1ee62
JB
79%find_lang %{name}
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
42d1ee62 90%files -f %{name}.lang
04657dff 91%defattr(644,root,root,755)
12a35a4d 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.060748 seconds and 4 git commands to generate.