]> git.pld-linux.org Git - packages/fuse.git/blame - fuse.spec
- updated to 1.2.0
[packages/fuse.git] / fuse.spec
CommitLineData
18788b42 1# TODO: Fix issue with the WORDS_BIGENDIAN macro of autoconf-2.63
830ee63a
JB
2# fuse built using autotools is unusable because of it.
3#
9d57cad8 4# Conditional build:
3bcbbbcf
JB
5%bcond_with svga # svgalib version
6%bcond_without fb # framebuffer version
7%bcond_without gtk # GTK+ 2 version
8%bcond_without gtk3 # GTK+ 3 version
9%bcond_without sdl # SDL version
6af50621 10#
9128f30b 11Summary: Free Unix Spectrum Emulator
aefab7a2 12Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum
9128f30b 13Name: fuse
1240656c
WF
14Version: 1.2.0
15Release: 1
1ed57557 16License: GPL v2+
9128f30b 17Group: Applications/Emulators
87c5873c 18Source0: http://downloads.sourceforge.net/fuse-emulator/%{name}-%{version}.tar.gz
1240656c 19# Source0-md5: 93a6f5c76984020efe12c5585b13bcad
87c5873c 20Source1: ti_m397.rom
c71d7a17 21# Source1-md5: 8c61b20e1f7666ff80ad7f48bb2b10c0
731fe34d 22Patch0: fuse-1.1.1-2.patch
72d9889b 23URL: http://fuse-emulator.sourceforge.net/
23bf58cd 24BuildRequires: SDL-devel >= 1.2.4
830ee63a 25BuildRequires: alsa-lib-devel
23d994ff 26BuildRequires: autoconf >= 2.59-9
27BuildRequires: automake
3bcbbbcf
JB
28BuildRequires: glib2-devel >= 1:2.20.0
29%{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.18.0}
23bf58cd 30%{?with_gtk3:BuildRequires: gtk+3-devel}
830ee63a 31%{?with_fb:BuildRequires: gpm-devel}
abb1d23d 32BuildRequires: libjsw-devel
9d57cad8 33BuildRequires: libpng-devel
3eff276c 34BuildRequires: libsamplerate-devel
1240656c 35BuildRequires: libspectrum-devel >= 1.2.0
3bcbbbcf 36BuildRequires: libtool >= 2:2
a8da872e 37BuildRequires: libxml2-devel >= 2.0.0
3eff276c 38BuildRequires: perl-base
83a91b44 39BuildRequires: pkgconfig
6af50621 40%{?with_svga:BuildRequires: svgalib-devel}
3bcbbbcf
JB
41BuildRequires: xorg-lib-libX11-devel
42BuildRequires: zlib-devel
9128f30b 43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45%description
46fuse is Free Unix Spectrum Emulator.
47What Fuse does have:
48
49* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
50 speed on any computer you're likely to try it on (it runs at full
51 speed on a SparcStation 4 unless you do too much graphics intensive
52 stuff).
53* Support for loading from .tzx files.
54* Sound emulation.
23d994ff 55* Emulation of several printers for ZX Spectrum.
9128f30b 56
7dd50860 57%description -l pl.UTF-8
9128f30b 58fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 59Jego właściwości to:
9128f30b 60
61* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
62* Możliwość ładowania programów z plików .tzx.
63* Dźwięk.
23d994ff 64* Emulacja kilku drukarek przeznaczonych dla ZX Spectrum.
9128f30b 65
66%package common
67Summary: Free Unix Spectrum Emulator (common files)
aefab7a2 68Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (pliki wspólne)
9128f30b 69Group: Applications/Emulators
3bcbbbcf 70Requires: glib2 >= 1:2.20.0
1ed57557 71Requires: libspectrum >= 0.4.0
88291491 72Suggests: fdd3000e
9128f30b 73
74%description common
75fuse is Free Unix Spectrum Emulator.
76What Fuse does have:
77
78* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
79 speed on any computer you're likely to try it on (it runs at full
80 speed on a SparcStation 4 unless you do too much graphics intensive
81 stuff).
82* Support for loading from .tzx files.
23d994ff 83* Sound emulation.
84* Emulation of several printers for ZX Spectrum.
9128f30b 85
cb86401f 86This package contains common files for all versions.
9128f30b 87
7dd50860 88%description common -l pl.UTF-8
9128f30b 89fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 90Jego właściwości to:
9128f30b 91
92* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
93* Możliwość ładowania programów z plików .tzx.
94* Dźwięk.
9128f30b 95* Emulacja kilku drukarek przeznaczonych dla ZX Spectrum.
96
7dd50860 97W tym pakiecie znajdują się wspólne pliki dla wszystkich wersji.
9128f30b 98
2cde7108 99%package fb
100Summary: Free Unix Spectrum Emulator (framebuffer version)
aefab7a2 101Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (wersja na framebuffer)
2cde7108 102Group: Applications/Emulators
6af50621 103Requires: %{name}-common = %{version}-%{release}
2cde7108 104
105%description fb
106fuse is Free Unix Spectrum Emulator.
107What Fuse does have:
108
109* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
110 speed on any computer you're likely to try it on (it runs at full
111 speed on a SparcStation 4 unless you do too much graphics intensive
112 stuff).
113* Support for loading from .tzx files.
23d994ff 114* Sound emulation.
115* Emulation of several printers for ZX Spectrum.
2cde7108 116
117This package contains files for framebuffer version.
118
7dd50860 119%description fb -l pl.UTF-8
2cde7108 120fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 121Jego właściwości to:
2cde7108 122
123* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
124* Możliwość ładowania programów z plików .tzx.
125* Dźwięk.
23d994ff 126* Emulacja kilku drukarek przeznaczonych dla ZX Spectrum.
2cde7108 127
7dd50860 128W tym pakiecie znajdują się pliki dla wersji korzystającej z
623e5403 129framebuffera.
9d57cad8 130
9d57cad8 131%package sdl
132Summary: Free Unix Spectrum Emulator (SDL version)
aefab7a2 133Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (wersja na SDL)
9d57cad8 134Group: Applications/Emulators
6af50621 135Requires: %{name}-common = %{version}-%{release}
a8da872e 136Requires: SDL >= 1.2.4
9d57cad8 137
138%description sdl
139fuse is Free Unix Spectrum Emulator.
140What Fuse does have:
141
142* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
143 speed on any computer you're likely to try it on (it runs at full
144 speed on a SparcStation 4 unless you do too much graphics intensive
145 stuff).
146* Support for loading from .tzx files.
23d994ff 147* Sound emulation.
148* Emulation of several printers for ZX Spectrum.
9d57cad8 149
150This package contains files for SDL version.
151
7dd50860 152%description sdl -l pl.UTF-8
9d57cad8 153fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 154Jego właściwości to:
9d57cad8 155
156* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
157* Możliwość ładowania programów z plików .tzx.
158* Dźwięk.
23d994ff 159* Emulacja kilku drukarek przeznaczonych dla ZX Spectrum.
9d57cad8 160
7dd50860 161W tym pakiecie znajdują się pliki dla wersji korzystającej z SDL.
9d57cad8 162
9128f30b 163%package svga
164Summary: Free Unix Spectrum Emulator (svga version)
aefab7a2 165Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (wersja na svgalib)
9128f30b 166Group: Applications/Emulators
6af50621 167Requires: %{name}-common = %{version}-%{release}
9128f30b 168
169%description svga
170fuse is Free Unix Spectrum Emulator.
171What Fuse does have:
172
173* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
174 speed on any computer you're likely to try it on (it runs at full
175 speed on a SparcStation 4 unless you do too much graphics intensive
176 stuff).
177* Support for loading from .tzx files.
23d994ff 178* Sound emulation.
179* Emulation of several printers for ZX Spectrum.
9128f30b 180
181This package contains files for svga version.
182
7dd50860 183%description svga -l pl.UTF-8
9128f30b 184fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 185Jego właściwości to:
9128f30b 186
187* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
188* Możliwość ładowania programów z plików .tzx.
189* Dźwięk.
23d994ff 190* Emulacja kilku drukarek przeznaczonych dla ZX Spectrum.
9128f30b 191
7dd50860 192W tym pakiecie znajdują się pliki dla wersji korzystającej z svgalib.
9128f30b 193
23bf58cd 194%package gtk
3bcbbbcf
JB
195Summary: Free Unix Spectrum Emulator (GTK+ 2 version)
196Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (wersja GTK+ 2)
9128f30b 197Group: Applications/Emulators
6af50621 198Requires: %{name}-common = %{version}-%{release}
3bcbbbcf
JB
199Requires: gtk+2 >= 2:2.18.0
200Obsoletes: fuse-X11
9128f30b 201
23bf58cd 202%description gtk
9128f30b 203fuse is Free Unix Spectrum Emulator.
204What Fuse does have:
205
206* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
207 speed on any computer you're likely to try it on (it runs at full
208 speed on a SparcStation 4 unless you do too much graphics intensive
209 stuff).
210* Support for loading from .tzx files.
23d994ff 211* Sound emulation.
212* Emulation of several printers for ZX Spectrum.
9128f30b 213
3bcbbbcf 214This package contains files for GTK+ 2 version.
9128f30b 215
23bf58cd 216%description gtk -l pl.UTF-8
9128f30b 217fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
7dd50860 218Jego właściwości to:
9128f30b 219
220* Emulacja ZX Spectrum 48K/128K/+2/+2A.
7dd50860
JR
221* Możliwość ładowania programów z plików .tzx.
222* Dźwięk.
23d994ff 223* Emulacja kilku drukarek przeznaczonych dla ZX Spectrum.
9128f30b 224
3bcbbbcf 225W tym pakiecie znajdują się pliki dla wersji GTK+ 2.
23bf58cd 226
227%package gtk3
3bcbbbcf
JB
228Summary: Free Unix Spectrum Emulator (GTK+ 3 version)
229Summary(pl.UTF-8): Darmowy uniksowy emulator ZX Spectrum (wersja GTK+ 3)
23bf58cd 230Group: Applications/Emulators
23bf58cd 231Requires: %{name}-common = %{version}-%{release}
3bcbbbcf 232Obsoletes: fuse-X11
23bf58cd 233
234%description gtk3
235fuse is Free Unix Spectrum Emulator.
236What Fuse does have:
237
238* Working 48K/128K/+2/+2A Speccy emulation, running at true Speccy
239 speed on any computer you're likely to try it on (it runs at full
240 speed on a SparcStation 4 unless you do too much graphics intensive
241 stuff).
242* Support for loading from .tzx files.
243* Sound emulation.
244* Emulation of several printers for ZX Spectrum.
245
3bcbbbcf 246This package contains files for GTK+ 3 version.
23bf58cd 247
248%description gtk3 -l pl.UTF-8
249fuse (Free Unix Spectrum Emulator) jest emulatorem ZX Spectrum.
250Jego właściwości to:
251
252* Emulacja ZX Spectrum 48K/128K/+2/+2A.
253* Możliwość ładowania programów z plików .tzx.
254* Dźwięk.
255* Emulacja kilku drukarek przeznaczonych dla ZX Spectrum.
256
3bcbbbcf 257W tym pakiecie znajdują się pliki dla wersji GTK+ 3.
9128f30b 258
259%prep
260%setup -q
261
262%build
1240656c 263#%patch0 -p1
18788b42 264#%{__libtoolize}
265#%{__aclocal}
266#%{__autoheader}
267#%{__autoconf}
268#%{__automake}
9d57cad8 269
9d57cad8 270# SDL
6af50621 271%if %{with sdl}
1240656c
WF
272mkdir build-sdl
273cd build-sdl
274../%configure \
275 --with-sdl \
276 --program-suffix=-sdl
9d57cad8 277%{__make}
1240656c 278cd ..
9d57cad8 279%endif
280
281# svga
6af50621 282%if %{with svga}
1240656c
WF
283mkdir build-svga
284cd build-svga
285../%configure \
286 --with-svgalib \
287 --program-suffix=-svga
9d57cad8 288%{__make}
1240656c 289cd ..
9128f30b 290%endif
291
9d57cad8 292# framebuffer
6af50621 293%if %{with fb}
1240656c
WF
294mkdir build-fb
295cd build-fb
296../%configure \
297 --with-fb \
298 --program-suffix=-fb
9d57cad8 299%{__make}
1240656c 300cd ..
9d57cad8 301%endif
2cde7108 302
23bf58cd 303# gtk
304%if %{with gtk}
1240656c
WF
305mkdir build-gtk
306cd build-gtk
307../%configure \
308 --with-gtk \
309 --program-suffix=-gtk
23bf58cd 310%{__make}
1240656c 311cd ..
23bf58cd 312%endif
313
314# gtk3
315%if %{with gtk3}
1240656c
WF
316mkdir build-gtk3
317cd build-gtk3
318../%configure \
3bcbbbcf 319 --with-gtk \
1240656c
WF
320 --enable-gtk3 \
321 --program-suffix=-gtk3
23bf58cd 322%{__make}
1240656c 323cd ..
23bf58cd 324%endif
325
9128f30b 326%install
327rm -rf $RPM_BUILD_ROOT
1240656c
WF
328%if %{with sdl}
329%{__make} -C build-sdl install \
330 DESTDIR=$RPM_BUILD_ROOT
331%endif
332
333%if %{with svga}
334%{__make} -C build-svga install \
335 DESTDIR=$RPM_BUILD_ROOT
336%endif
337
338%if %{with fb}
339%{__make} -C build-fb install \
340 DESTDIR=$RPM_BUILD_ROOT
341%endif
cb86401f 342
1240656c
WF
343%if %{with gtk}
344%{__make} -C build-gtk install \
b5c19b2d 345 DESTDIR=$RPM_BUILD_ROOT
1240656c
WF
346%endif
347
348%if %{with gtk3}
349%{__make} -C build-gtk3 install \
350 DESTDIR=$RPM_BUILD_ROOT
351%endif
9128f30b 352
87c5873c 353install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}
9128f30b 354
355%clean
356rm -rf $RPM_BUILD_ROOT
357
358%files common
359%defattr(644,root,root,755)
1240656c 360%doc README THANKS AUTHORS keysyms.dat keysyms.pl hacking/*.txt
cb86401f 361%{_datadir}/%{name}
9128f30b 362
6af50621 363%if %{with fb}
2cde7108 364%files fb
365%defattr(644,root,root,755)
366%attr(755,root,root) %{_bindir}/fuse-fb
1240656c 367%{_mandir}/man1/fuse-fb.1*
9d57cad8 368%endif
369
23bf58cd 370%if %{with gtk}
371%files gtk
372%defattr(644,root,root,755)
373%attr(755,root,root) %{_bindir}/fuse-gtk
1240656c 374%{_mandir}/man1/fuse-gtk.1*
23bf58cd 375%endif
376
377%if %{with gtk3}
378%files gtk3
379%defattr(644,root,root,755)
380%attr(755,root,root) %{_bindir}/fuse-gtk3
1240656c 381%{_mandir}/man1/fuse-gtk3.1*
23bf58cd 382%endif
383
6af50621 384%if %{with sdl}
9d57cad8 385%files sdl
386%defattr(644,root,root,755)
387%attr(755,root,root) %{_bindir}/fuse-sdl
1240656c 388%{_mandir}/man1/fuse-sdl.1*
9d57cad8 389%endif
2cde7108 390
6af50621 391%if %{with svga}
9128f30b 392%files svga
393%defattr(644,root,root,755)
394%attr(755,root,root) %{_bindir}/fuse-svga
1240656c 395%{_mandir}/man1/fuse-svga.1*
23a20042 396%endif
This page took 0.136308 seconds and 4 git commands to generate.