]> git.pld-linux.org Git - SPECS.git/blob - uae.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / uae.spec
1 Summary:        Unix Amiga Emulator
2 Summary(pl.UTF-8):      Uniksowy Emulator Amigi
3 Name:           uae
4 Version:        0.8.29
5 Release:        2
6 License:        GPL v2
7 Group:          Applications/Emulators
8 Source0:        http://www.amigaemulator.org/files/sources/develop/%{name}-%{version}.tar.bz2
9 # Source0-md5:  54abbabb5e8580b679c52de019141d61
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Patch0:         %{name}-ac_fixes.patch
13 Patch1:         %{name}-allow_spaces_in_zip_filenames.patch
14 Patch2:         %{name}-preserve_home_in_writing_optionsfile.patch
15 Patch3:         %{name}-struct_uae_wrong_fields_name.patch
16 Patch4:         %{name}-uae_reset_args.patch
17 Patch5:         format-security.patch
18 Patch6:         xvidmode.patch
19 URL:            http://www.amigaemulator.org/
20 BuildRequires:  alsa-lib-devel
21 BuildRequires:  autoconf >= 2.59
22 BuildRequires:  automake
23 BuildRequires:  gtk+2-devel >= 2.4.0
24 BuildRequires:  libtool
25 BuildRequires:  pkgconfig
26 BuildRequires:  sed >= 4.0
27 BuildRequires:  xorg-lib-libX11-devel
28 BuildRequires:  xorg-lib-libXext-devel
29 BuildRequires:  xorg-lib-libXxf86dga-devel
30 BuildRequires:  xorg-lib-libXxf86vm-devel
31 Requires:       gtk+2 >= 2.4.0
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 UAE is mostly complete software emulation of the hardware of the
36 Commodore Amiga 500/1000/2000. A Commodore Amiga is a 16/32 bit
37 computer system based on the Motorola 680x0 CPU and a few specially
38 designed custom chips that provide very good graphics and sound
39 capabilities. UAE is written for Unixish systems; it is developed on a
40 Linux machine but it should compile and run on any half-recent
41 Unix-like operating system.
42
43 %description -l pl.UTF-8
44 UAE jest w większości kompletnym oprogramowaniem do emulacji Commodore
45 Amiga 500/1000/2000. Commodore Amiga jest 16/32 bitowym komputerem
46 bazującym na procesorze Motorola 680x0 i kilku specjalnie
47 zaprojektowanych kościach oferujących bardzo dobrą grafikę i muzykę.
48 UAE jest napisany dla systemów uniksowych; jest rozwijany pod Linuksem
49 ale powinien się kompilować na większości platformach uniksowych.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56 %patch3 -p1
57 %patch4 -p1
58 %patch5 -p1
59 %patch6 -p0
60
61 sed -e 's/build68kc/build68k/' -i src/Makefile.in
62
63 %build
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %configure \
68         --disable-file-sound    \
69         --enable-dga            \
70         --enable-threads        \
71         --enable-ui             \
72         --enable-vidmode        \
73         --without-asciiart      \
74         --without-sdl           \
75         --without-sdl-sound     \
76         --without-sdl-gfx       \
77         --without-svgalib       \
78         --with-alsa             \
79         --with-x
80
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}}
86
87 install readdisk uae $RPM_BUILD_ROOT%{_bindir}
88 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
89 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %doc docs/{COMPATIBILITY,CREDITS,FAQ,NEWS,README}
97 %attr(755,root,root) %{_bindir}/readdisk
98 %attr(755,root,root) %{_bindir}/%{name}
99 %{_desktopdir}/%{name}.desktop
100 %{_pixmapsdir}/%{name}.png
This page took 0.193786 seconds and 3 git commands to generate.