]> git.pld-linux.org Git - packages/vice.git/blob - vice.spec
- typo
[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.8
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 Patch0:         %{name}-info.patch
14 URL:            http://www.cs.cmu.edu/~dsladic/vice/vice.html
15 BuildRequires:  SDL-devel >= 1.2.0
16 BuildRequires:  XFree86-devel
17 BuildRequires:  Xaw3d-devel
18 #BuildRequires: automake
19 #BuildRequires: autoconf
20 BuildRequires:  bison
21 BuildRequires:  esound-devel
22 BuildRequires:  flex
23 BuildRequires:  gettext-devel
24 %{!?_without_gnome:BuildRequires:       gnome-libs-devel}
25 BuildRequires:  libpng-devel
26 BuildRequires:  readline-devel
27 BuildRequires:  texinfo
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _prefix         /usr/X11R6
31 %define         _mandir         %{_prefix}/man
32
33 %description
34 VICE is a Versatile Commodore Emulator, i.e. a program that runs on a
35 Unix, MS-DOS, Win95/NT, OS/2, RiscOS or BeOS machine and executes
36 programs intended for the old 8-bit Commodore computers. The current
37 version emulates the C64, the C128 (80 column screen is included now),
38 the VIC20, all the PET models (except the SuperPET 9000, which is out
39 of line anyway) and the CBM-II (aka C610).
40
41 %description -l pl
42 VICE jest wszechstronnym emulatorem 8-bitowego komputera Commodore.
43 Aktualna wersja emuluje C64, C128 (wraz z trybem pracy 80 kolumnowym),
44 VIC20, wszystkie modele PET (poza SuperPET 9000) oraz CBM-II (C610).
45
46 %prep
47 %setup -q
48 %patch0 -p1
49
50 %build
51 rm -f missing
52 gettextize --copy --force
53 #aclocal
54 #autoconf
55 #autoheader
56 #automake -a -c
57 %configure2_13 \
58         --enable-autobpp \
59         --with-sdl \
60         --with-x \
61         --enable-fullscreen \
62         --without-xaw3d \
63         %{!?_without_gnome:--enable-gnomeui} \
64         --enable-nls \
65         --without-included-gettext
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} prefix=$RPM_BUILD_ROOT
72
73 gzip -9nf AUTHORS  Chan* FEEDBACK NEWS README 
74
75 %post
76 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
77
78 %postun
79 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files
85 %defattr(644,root,root,755)
86 %doc *.gz
87 %attr(0755,root,root) %{_bindir}/*
88 %{_libdir}/vice
89 %{_mandir}/man?/*
90 %{_infodir}/*info*
This page took 0.049648 seconds and 4 git commands to generate.