]> git.pld-linux.org Git - packages/fuse.git/blame - fuse.spec
- missing files from fuse CVS
[packages/fuse.git] / fuse.spec
CommitLineData
cb86401f 1#
9d57cad8 2# Conditional build:
26037889 3%bcond_without svga # do not build svgalib version
4%bcond_without x # do not build X11 version
5%bcond_without fb # do not build framebuffer version
6%bcond_without sdl # do not build SDL version
6af50621 7#
9128f30b 8Summary: Free Unix Spectrum Emulator
aefab7a2 9Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum
9128f30b 10Name: fuse
a8da872e 11Version: 0.7.0
f01dbf68 12Release: 2
9128f30b 13License: GPL
14Group: Applications/Emulators
c84194e2 15Source0: ftp://ftp.worldofspectrum.org/pub/sinclair/emulators/unix/%{name}-%{version}.tar.gz
a8da872e 16# Source0-md5: d81ad260cd6a8dd533af01ee6a5f9527
fb76d956 17Patch0: %{name}-gcc4.patch
f01dbf68 18Patch1: %{name}-fb.patch
72d9889b 19URL: http://fuse-emulator.sourceforge.net/
a8da872e 20%{?with_sdl:BuildRequires: SDL-devel >= 1.2.4}
72d4adbf 21BuildRequires: autoconf
22BuildRequires: automake
681cfe9a 23%{?with_x:BuildRequires: gtk+2-devel >= 1:2.0.0}
9d57cad8 24BuildRequires: lib765-devel
72d9889b 25BuildRequires: libjsw-devel
9d57cad8 26BuildRequires: libpng-devel
72d9889b 27BuildRequires: libspectrum-devel >= 0.2.1
a8da872e 28BuildRequires: libxml2-devel >= 2.0.0
9128f30b 29BuildRequires: perl
6af50621 30%{?with_svga:BuildRequires: svgalib-devel}
9128f30b 31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34fuse is Free Unix Spectrum Emulator.
35What Fuse does have:
36
37* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
38 speed on any computer you're likely to try it on (it runs at full
39 speed on a SparcStation 4 unless you do too much graphics intensive
40 stuff).
41* Support for loading from .tzx files.
42* Sound emulation.
43
7dd50860 44%description -l pl.UTF-8
9128f30b 45fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 46Jego właściwości to:
9128f30b 47
48* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
49* Możliwość ładowania programów z plików .tzx.
50* Dźwięk.
9128f30b 51
52%package common
53Summary: Free Unix Spectrum Emulator (common files)
aefab7a2 54Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (pliki wspólne)
9128f30b 55Group: Applications/Emulators
56
57%description common
58fuse is Free Unix Spectrum Emulator.
59What Fuse does have:
60
61* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
62 speed on any computer you're likely to try it on (it runs at full
63 speed on a SparcStation 4 unless you do too much graphics intensive
64 stuff).
65* Support for loading from .tzx files.
66* Sound.
67
cb86401f 68This package contains common files for all versions.
9128f30b 69
7dd50860 70%description common -l pl.UTF-8
9128f30b 71fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 72Jego właściwości to:
9128f30b 73
74* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
75* Możliwość ładowania programów z plików .tzx.
76* Dźwięk.
9128f30b 77* Emulacja kilku drukarek przeznaczonych dla ZX Spectrum.
78
7dd50860 79W tym pakiecie znajdują się wspólne pliki dla wszystkich wersji.
9128f30b 80
2cde7108 81%package fb
82Summary: Free Unix Spectrum Emulator (framebuffer version)
aefab7a2 83Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (wersja na framebuffer)
2cde7108 84Group: Applications/Emulators
6af50621 85Requires: %{name}-common = %{version}-%{release}
2cde7108 86
87%description fb
88fuse is Free Unix Spectrum Emulator.
89What Fuse does have:
90
91* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
92 speed on any computer you're likely to try it on (it runs at full
93 speed on a SparcStation 4 unless you do too much graphics intensive
94 stuff).
95* Support for loading from .tzx files.
96* Sound.
97
98This package contains files for framebuffer version.
99
7dd50860 100%description fb -l pl.UTF-8
2cde7108 101fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 102Jego właściwości to:
2cde7108 103
104* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
105* Możliwość ładowania programów z plików .tzx.
106* Dźwięk.
2cde7108 107
7dd50860 108W tym pakiecie znajdują się pliki dla wersji korzystającej z
623e5403 109framebuffera.
9d57cad8 110
9d57cad8 111%package sdl
112Summary: Free Unix Spectrum Emulator (SDL version)
aefab7a2 113Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (wersja na SDL)
9d57cad8 114Group: Applications/Emulators
6af50621 115Requires: %{name}-common = %{version}-%{release}
a8da872e 116Requires: SDL >= 1.2.4
9d57cad8 117
118%description sdl
119fuse is Free Unix Spectrum Emulator.
120What Fuse does have:
121
122* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
123 speed on any computer you're likely to try it on (it runs at full
124 speed on a SparcStation 4 unless you do too much graphics intensive
125 stuff).
126* Support for loading from .tzx files.
127* Sound.
128
129This package contains files for SDL version.
130
7dd50860 131%description sdl -l pl.UTF-8
9d57cad8 132fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 133Jego właściwości to:
9d57cad8 134
135* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
136* Możliwość ładowania programów z plików .tzx.
137* Dźwięk.
9d57cad8 138
7dd50860 139W tym pakiecie znajdują się pliki dla wersji korzystającej z SDL.
9d57cad8 140
9128f30b 141%package svga
142Summary: Free Unix Spectrum Emulator (svga version)
aefab7a2 143Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (wersja na svgalib)
9128f30b 144Group: Applications/Emulators
6af50621 145Requires: %{name}-common = %{version}-%{release}
9128f30b 146
147%description svga
148fuse is Free Unix Spectrum Emulator.
149What Fuse does have:
150
151* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
152 speed on any computer you're likely to try it on (it runs at full
153 speed on a SparcStation 4 unless you do too much graphics intensive
154 stuff).
155* Support for loading from .tzx files.
156* Sound.
157
158This package contains files for svga version.
159
7dd50860 160%description svga -l pl.UTF-8
9128f30b 161fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 162Jego właściwości to:
9128f30b 163
164* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
165* Możliwość ładowania programów z plików .tzx.
166* Dźwięk.
9128f30b 167
7dd50860 168W tym pakiecie znajdują się pliki dla wersji korzystającej z svgalib.
9128f30b 169
170%package X11
171Summary: Free Unix Spectrum Emulator (X11 version)
aefab7a2 172Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (wersja na XWindow)
9128f30b 173Group: Applications/Emulators
6af50621 174Requires: %{name}-common = %{version}-%{release}
9128f30b 175
176%description X11
177fuse is Free Unix Spectrum Emulator.
178What Fuse does have:
179
180* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
181 speed on any computer you're likely to try it on (it runs at full
182 speed on a SparcStation 4 unless you do too much graphics intensive
183 stuff).
184* Support for loading from .tzx files.
185* Sound.
186
187This package contains files for X11 version.
188
7dd50860 189%description X11 -l pl.UTF-8
9128f30b 190fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 191Jego właściwości to:
9128f30b 192
193* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
194* Możliwość ładowania programów z plików .tzx.
195* Dźwięk.
9128f30b 196
7dd50860 197W tym pakiecie znajdują się pliki dla wersji X11.
9128f30b 198
199%prep
200%setup -q
fb76d956 201%patch0 -p1
f01dbf68 202%patch1 -p1
9128f30b 203
204%build
72d4adbf 205%{__aclocal}
9d57cad8 206%{__autoheader}
72d4adbf 207%{__autoconf}
208%{__automake}
9d57cad8 209
210# X11
6af50621 211%if %{with x}
72d4adbf 212%configure \
72d9889b 213 --disable-ui-joystick \
214 --with-joystick \
9d57cad8 215 --with-gtk
9128f30b 216%{__make} clean
217%{__make}
218cp -f ./fuse ./fuse-x11
9d57cad8 219%endif
9128f30b 220
9d57cad8 221# SDL
6af50621 222%if %{with sdl}
9d57cad8 223%configure \
72d9889b 224 --disable-ui-joystick \
225 --with-joystick \
9d57cad8 226 --with-sdl
9128f30b 227%{__make} clean
9d57cad8 228%{__make}
229cp -f ./fuse ./fuse-sdl
230%endif
231
232# svga
6af50621 233%if %{with svga}
72d4adbf 234%configure \
72d9889b 235 --disable-ui-joystick \
236 --with-joystick \
72d4adbf 237 --with-svgalib
9d57cad8 238%{__make} clean
239%{__make}
9128f30b 240cp -f ./fuse ./fuse-svga
241%endif
242
9d57cad8 243# framebuffer
6af50621 244%if %{with fb}
2cde7108 245%configure \
72d9889b 246 --with-joystick \
9d57cad8 247 --with-fb
248%{__make} clean
249%{__make}
2cde7108 250cp -f ./fuse ./fuse-fb
9d57cad8 251%endif
2cde7108 252
9128f30b 253%install
254rm -rf $RPM_BUILD_ROOT
cb86401f 255
b5c19b2d
PG
256%{__make} install \
257 DESTDIR=$RPM_BUILD_ROOT
9128f30b 258
6af50621
JB
259%{?with_svga:install fuse-svga $RPM_BUILD_ROOT%{_bindir}}
260%{?with_x:install fuse-x11 $RPM_BUILD_ROOT%{_bindir}}
261%{?with_fb:install fuse-fb $RPM_BUILD_ROOT%{_bindir}}
262%{?with_sdl:install fuse-sdl $RPM_BUILD_ROOT%{_bindir}}
9128f30b 263
264%clean
265rm -rf $RPM_BUILD_ROOT
266
267%files common
268%defattr(644,root,root,755)
623e5403 269%doc README THANKS AUTHORS keysyms.dat keysyms.pl hacking/*
cb86401f 270%{_datadir}/%{name}
9128f30b 271%{_mandir}/man1/*
272
6af50621 273%if %{with fb}
2cde7108 274%files fb
275%defattr(644,root,root,755)
276%attr(755,root,root) %{_bindir}/fuse-fb
9d57cad8 277%endif
278
6af50621 279%if %{with sdl}
9d57cad8 280%files sdl
281%defattr(644,root,root,755)
282%attr(755,root,root) %{_bindir}/fuse-sdl
283%endif
2cde7108 284
6af50621 285%if %{with svga}
9128f30b 286%files svga
287%defattr(644,root,root,755)
288%attr(755,root,root) %{_bindir}/fuse-svga
23a20042 289%endif
9128f30b 290
6af50621 291%if %{with x}
9128f30b 292%files X11
293%defattr(644,root,root,755)
8b4522e3 294%attr(755,root,root) %{_bindir}/fuse-x11
9d57cad8 295%endif
This page took 0.110305 seconds and 4 git commands to generate.