]>
Commit | Line | Data |
---|---|---|
46a27c77 | 1 | %define subver 2 |
d359e714 WF |
2 | Summary: FDD 3000 emulator |
3 | Name: fdd3000e | |
4 | Version: 0.1.6a | |
46a27c77 | 5 | Release: 2 |
d359e714 WF |
6 | License: GPL v2+ |
7 | Group: Applications/Emulators | |
46a27c77 WF |
8 | Source0: http://downloads.sourceforge.net/fdd3000e/%{name}_v%{version}-%{subver}.zip |
9 | # Source0-md5: bf1d20cb68cc116dd9aa880676877ef8 | |
d359e714 | 10 | Patch0: z80ex.patch |
46a27c77 | 11 | Patch1: tr.patch |
d359e714 WF |
12 | URL: http://fdd3000e.sourceforge.net/ |
13 | BuildRequires: QtCore-devel | |
14 | BuildRequires: QtGui-devel | |
15 | BuildRequires: qt4-qmake | |
16 | BuildRequires: unzip | |
17 | BuildRequires: z80ex-devel | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | FDD3000 Emulator is an emulator of Timex FDD3000 floppy system | |
22 | for ZX Spectrum. The current version is the alpha version | |
23 | of the emulator (for testing). It requires patched fuse emulator. | |
24 | ||
25 | %prep | |
26 | %setup -q -c %{name}-%{version} | |
27 | %patch0 -p1 | |
46a27c77 | 28 | %patch1 -p1 |
d359e714 WF |
29 | |
30 | %build | |
31 | cd fdd3000 | |
32 | qmake-qt4 | |
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
46a27c77 | 37 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} |
d359e714 WF |
38 | |
39 | install fdd3000/fdd3000 $RPM_BUILD_ROOT%{_bindir} | |
46a27c77 | 40 | install fdd3000/*.qm $RPM_BUILD_ROOT%{_datadir}/%{name} |
d359e714 WF |
41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc fdd3000/disk.img README README_pl | |
48 | %attr(755,root,root) %{_bindir}/fdd3000 | |
46a27c77 | 49 | %{_datadir}/%{name} |