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