38ef10a686bb0476c0e8248275c19e69cda0a213
[packages/fdd3000e.git] / fdd3000e.spec
1 %define         subver  2
2 Summary:        FDD 3000 emulator
3 Name:           fdd3000e
4 Version:        0.1.6a
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/Emulators
8 Source0:        http://downloads.sourceforge.net/fdd3000e/%{name}_v%{version}-%{subver}.zip
9 # Source0-md5:  bf1d20cb68cc116dd9aa880676877ef8
10 Patch0:         z80ex.patch
11 Patch1:         tr.patch
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
28 %patch1 -p1
29
30 %build
31 cd fdd3000
32 qmake-qt4
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
38
39 install fdd3000/fdd3000 $RPM_BUILD_ROOT%{_bindir}
40 install fdd3000/*.qm $RPM_BUILD_ROOT%{_datadir}/%{name}
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
49 %{_datadir}/%{name}
This page took 0.067169 seconds and 2 git commands to generate.