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