]> git.pld-linux.org Git - packages/vice.git/blob - vice.spec
added fix-info-dir call
[packages/vice.git] / vice.spec
1 Summary:        Commodore emulator
2 Summary(pl):    Emulator Commodore
3 Name:           vice
4 Version:        1.6
5 Release:        1
6 License:        GPL
7 Group:          Applications/Emulators
8 Group(de):      Applikationen/Emulators
9 Group(pl):      Aplikacje/Emulatory
10 Source0:        ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/%{name}-%{version}.tar.gz
11 URL:            http://www.cs.cmu.edu/~dsladic/vice/vice.html
12 BuildRequires:  XFree86-devel
13 BuildRequires:  Xaw3d-devel
14 BuildRequires:  gettext-devel
15 BuildRequires:  readline-devel
16 BuildRequires:  SDL-devel >= 1.2.0
17 BuildRequires:  libpng-devel
18 BuildRequires:  esound-devel
19 BuildRequires:  bison
20 BuildRequires:  flex
21 BuildRequires:  automake
22 BuildRequires:  autoconf
23 BuildRequires:  texinfo
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _prefix         /usr/X11R6
27 %define         _mandir         %{_prefix}/man
28
29 %description
30 VICE is a Versatile Commodore Emulator, i.e. a program that runs on a
31 Unix, MS-DOS, Win95/NT, OS/2, RiscOS or BeOS machine and executes
32 programs intended for the old 8-bit Commodore computers. The current
33 version emulates the C64, the C128 (80 column screen is included now),
34 the VIC20, all the PET models (except the SuperPET 9000, which is out
35 of line anyway) and the CBM-II (aka C610).
36
37 %description -l pl
38 VICE jest wszechstronnym emulatorem 8-bitowego komputera Commodore.
39 Aktualna wersja emuluje C64, C128 (wraz z trybem pracy 80 kolumnowym),
40 VIC20, wszystkie modele PET (poza SuperPET 9000) oraz CBM-II (C610).
41
42 %prep
43 %setup -q
44
45 %build
46 gettextize --copy --force
47 aclocal
48 autoconf
49 automake -a -c
50 %configure \
51         --enable-autobpp \
52         --with-xaw3d \
53         --with-sdl      
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 gzip -9nf AUTHORS BUGS Chan* FEEDBACK NEWS README TODO
63
64 %post
65 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
66
67 %postun
68 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc *.gz
76 %attr(0755,root,root) %{_bindir}/*
77 %{_libdir}/vice
78 %{_mandir}/man?/*
79 %{_infodir}/*info*
This page took 0.063662 seconds and 4 git commands to generate.