- added build patch, fixed build
[packages/arnold.git] / arnold.spec
CommitLineData
3f638588 1# note: 20040104 release is on DEVEL branch, but its unix port is heavily broken; stick to 20020127
604cd980 2Summary: Amstrad CPC Emulator
f5bd1500 3Summary(pl.UTF-8): Emulator Amstrada CPC
604cd980 4Name: arnold
5Version: 0.20020127
3f638588
JB
6Release: 2
7License: GPL v2+ (except ROMs)
8Group: Applications/Emulators
604cd980 9Source0: http://arnold.emuunlim.com/download/arnsrc27012002.zip
9bc5ec77 10# Source0-md5: a8ae9ce1aeeae6ba9a19083731811150
604cd980 11Patch0: %{name}-romsdir.patch
3f638588 12Patch1: %{name}-build.patch
efdd6b36 13URL: http://arnold.emuunlim.com/
7c646ed0 14BuildRequires: SDL-devel >= 1.2.0
3f638588
JB
15BuildRequires: autoconf
16BuildRequires: automake
7c646ed0 17BuildRequires: gtk+-devel >= 1.2.0
9bc5ec77 18BuildRequires: unzip
604cd980 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
7c646ed0
JB
22A Amstrad/Schneider CPC, Plus/CPC+ and VEB Mikroelektronik KC Compact
23emulator.
24
25The ROMs are (c) Copyright Amstrad plc and Locomotive Software Ltd,
26distributed with this program with permission of Amstrad plc.
604cd980 27
96ce1a13 28%description -l pl.UTF-8
7c646ed0
JB
29Emulator Amstrada/Schneidera CPC, Plus/CPC+ oraz VEB Mikroelektronik
30KC Compact.
31
96ce1a13
JR
32Dołączone obrazy ROMów są objęte przez copyright Amstrad plc i
33Locomotive Software Ltd, z tym programem są rozprowadzane za zgodą
7c646ed0 34Amstrad plc.
604cd980 35
36%prep
7c646ed0 37%setup -q -n %{name}
604cd980 38%patch0 -p1
3f638588
JB
39%patch1 -p1
40
41%{__rm} src/configure
604cd980 42
43%build
44cd src
3f638588
JB
45%{__aclocal}
46%{__autoconf}
47%configure
48
604cd980 49%{__make}
50
51%install
52rm -rf $RPM_BUILD_ROOT
7c646ed0
JB
53install -d $RPM_BUILD_ROOT{%{_datadir}/arnold,%{_bindir}}
54
604cd980 55cp -Rf roms $RPM_BUILD_ROOT%{_datadir}/arnold
56install arnold $RPM_BUILD_ROOT%{_bindir}
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
7c646ed0 63%doc bugsetc.txt file_id.diz readme.* whatsnew.*
3f638588 64%attr(755,root,root) %{_bindir}/arnold
7c646ed0 65%{_datadir}/arnold
This page took 0.114887 seconds and 4 git commands to generate.