]>
Commit | Line | Data |
---|---|---|
470e8266 | 1 | Summary: AY player |
2 | Summary(pl.UTF-8): Odtwarzacz AY | |
3 | Name: aylet | |
4 | Version: 0.5 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications/Sound | |
8 | Source0: ftp://ftp.ibiblio.org/pub/Linux/apps/sound/players/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: a4df39033644b3aa7c89899708bad207 | |
10 | URL: http://rus.members.beeb.net/aylet.htm | |
11 | BuildRequires: gtk+-devel | |
12 | BuildRequires: ncurses-devel | |
13 | BuildRequires: rpmbuild(macros) >= 1.228 | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | aylet plays music files in the `.ay' format. These files are | |
18 | essentially wrappers around bits of Z80 code which play music on the | |
19 | Sinclair ZX Spectrum 128's sound hardware - either the beeper, or | |
20 | (eponymously) the AY-3-8912 sound chip. Files using the Amstrad CPC | |
21 | ports are also supported. | |
22 | ||
23 | `aylet' has a curses-based interface, and `xaylet' has an X-based one. | |
24 | ||
25 | One source of `.ay' files playable with aylet/xaylet is "Project AY" | |
26 | on the World of Spectrum website: | |
27 | ||
28 | http://www.worldofspectrum.org/ | |
29 | ||
f4073fc4 | 30 | %description -l pl.UTF-8 |
31 | aylet odtwarza pliki muzyczne formatu .ay. Pliki te są kawałkami kodu | |
32 | Z80, który odgrywa muzykę na ZX Spectrum 128 używając brzęczyka albo | |
33 | układu AY-3-8912. Pliki używające portów Amstrada CPC są także | |
34 | obsługiwane. | |
35 | ||
36 | aylet ma interfejs oparty na curses, a xaylet na gtk+. | |
37 | ||
38 | Źródłem plików .ay jest Projekt AY, dostępny na stronie: | |
39 | ||
40 | http://www.worldofspectrum.org/ | |
41 | ||
470e8266 | 42 | %package x11 |
43 | Summary: AY player for X11 | |
44 | Summary(pl.UTF-8): Odtwarzacz AY dla X11 | |
45 | Group: X11/Applications/Sound | |
46 | ||
47 | %description x11 | |
48 | aylet plays music files in the `.ay' format. These files are | |
49 | essentially wrappers around bits of Z80 code which play music on the | |
50 | Sinclair ZX Spectrum 128's sound hardware - either the beeper, or | |
51 | (eponymously) the AY-3-8912 sound chip. Files using the Amstrad CPC | |
52 | ports are also supported. | |
53 | ||
54 | `aylet' has a curses-based interface, and `xaylet' has an X-based one. | |
55 | ||
56 | One source of `.ay' files playable with aylet/xaylet is "Project AY" | |
57 | on the World of Spectrum website: | |
58 | ||
59 | http://www.worldofspectrum.org/ | |
60 | ||
4b0d0b73 | 61 | %description x11 -l pl.UTF-8 |
f4073fc4 | 62 | aylet odtwarza pliki muzyczne formatu .ay. Pliki te są kawałkami kodu |
63 | Z80, który odgrywa muzykę na ZX Spectrum 128 używając brzęczyka albo | |
64 | układu AY-3-8912. Pliki używające portów Amstrada CPC są także | |
65 | obsługiwane. | |
66 | ||
67 | aylet ma interfejs oparty na curses, a xaylet na gtk+. | |
68 | ||
69 | Źródłem plików .ay jest Projekt AY, dostępny na stronie: | |
70 | ||
71 | http://www.worldofspectrum.org/ | |
72 | ||
470e8266 | 73 | %prep |
74 | %setup -q | |
75 | ||
76 | %build | |
77 | %{__make} \ | |
78 | CC="%{__cc}" \ | |
79 | CFLAGS="%{rpmcflags}" \ | |
80 | LDFLAGS="%{rpmldflags}" \ | |
81 | CPPFLAGS="-I/usr/include/ncurses -DDRIVER_OSS" \ | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
87 | install aylet $RPM_BUILD_ROOT%{_bindir} | |
88 | install xaylet $RPM_BUILD_ROOT%{_bindir} | |
89 | install aylet.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
90 | echo ".so aylet.1" > $RPM_BUILD_ROOT%{_mandir}/man1/xaylet.1 | |
91 | ||
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %files | |
96 | %defattr(644,root,root,755) | |
97 | %doc ChangeLog NEWS README TODO | |
98 | %attr(755,root,root) %{_bindir}/aylet | |
99 | %{_mandir}/man1/aylet* | |
100 | ||
101 | %files x11 | |
102 | %defattr(644,root,root,755) | |
103 | %doc ChangeLog NEWS README TODO | |
104 | %attr(755,root,root) %{_bindir}/xaylet | |
105 | %{_mandir}/man1/xaylet* |