]> git.pld-linux.org Git - packages/vice.git/blob - vice.spec
- massive attack: source-md5
[packages/vice.git] / vice.spec
1 #
2 # Conditional build:
3 # _without_gnome - without GNOME support
4 #
5 Summary:        Commodore emulator
6 Summary(pl):    Emulator Commodore
7 Name:           vice
8 Version:        1.11
9 Release:        1
10 License:        GPL
11 Group:          Applications/Emulators
12 Source0:        ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/%{name}-%{version}.tar.gz
13 # Source0-md5:  580817b28097b0897e48463d4fc510aa
14 Patch0:         %{name}-info.patch
15 Patch1:         %{name}-DESTDIR.patch
16 Patch2:         %{name}-acamfixes.patch
17 URL:            http://viceteam.bei.t-online.de/
18 BuildRequires:  SDL-devel >= 1.2.0
19 BuildRequires:  XFree86-devel
20 BuildRequires:  Xaw3d-devel
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  bison
24 BuildRequires:  esound-devel
25 BuildRequires:  flex
26 BuildRequires:  gettext-devel
27 %{!?_without_gnome:BuildRequires:       gnome-libs-devel}
28 BuildRequires:  libpng-devel
29 BuildRequires:  readline-devel
30 BuildRequires:  texinfo
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
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
49 %patch0 -p1
50 %patch1 -p1
51 #%patch2 -p1
52
53 %build
54 install %{_datadir}/automake/config.* .
55 #rm -f missing
56 #{__gettextize}
57 #%%{__aclocal}
58 #%%{__autoconf}
59 #%%{__autoheader}
60 #%%{__automake}
61 #cd src/resid
62 #%%{__autoconf}
63 #cd ../..
64 %configure2_13 \
65         --enable-autobpp \
66         --with-sdl \
67         --with-x \
68         --enable-fullscreen \
69         --without-xaw3d \
70         %{!?_without_gnome:--enable-gnomeui} \
71         --enable-nls \
72         --without-included-gettext
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post
85 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
86
87 %postun
88 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
89
90 %files
91 %defattr(644,root,root,755)
92 %doc AUTHORS Chan* FEEDBACK NEWS README 
93 %attr(0755,root,root) %{_bindir}/*
94 %{_libdir}/vice
95 %{_mandir}/man?/*
96 %{_infodir}/*.info*
This page took 0.123161 seconds and 3 git commands to generate.