]>
Commit | Line | Data |
---|---|---|
d1302664 JB |
1 | Summary: Collection of video game music file emulators |
2 | Summary(pl.UTF-8): Zbiór emulatorów do odtwarzania muzyki z gier | |
3 | Name: game-music-emu | |
7f4f3db7 | 4 | Version: 0.6.3 |
fc7318eb | 5 | Release: 2 |
d1302664 JB |
6 | License: LGPL v2.1+ |
7 | Group: Libraries | |
677e82c3 JB |
8 | # new versions will use github |
9 | #Source0Download: https://github.com/libgme/game-music-emu/releases | |
10 | #Source0: https://github.com/libgme/game-music-emu/archive/%{version}/%{name}-%{version}.tar.gz | |
2547feda | 11 | Source0: https://bitbucket.org/mpyne/game-music-emu/downloads/%{name}-%{version}.tar.xz |
7f4f3db7 | 12 | # Source0-md5: c96c65efbadc9acb10c0f9382ba66e0d |
677e82c3 | 13 | URL: https://github.com/libgme/game-music-emu/releases |
d1302664 JB |
14 | BuildRequires: cmake >= 2.6 |
15 | BuildRequires: libstdc++-devel | |
fc7318eb | 16 | %{?debug:BuildRequires: libubsan-devel} |
c29759e9 | 17 | BuildRequires: rpmbuild(macros) >= 1.605 |
2547feda JB |
18 | BuildRequires: tar >= 1:1.22 |
19 | BuildRequires: xz | |
d1302664 JB |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | Game_Music_Emu is a collection of video game music file emulators that | |
24 | support the following formats and systems: | |
25 | ||
26 | - AY - ZX Spectrum/Amstrad CPC | |
27 | - GBS - Nintendo Game Boy | |
28 | - GYM - Sega Genesis/Mega Drive | |
29 | - HES - NEC TurboGrafx-16/PC Engine | |
30 | - KSS - MSX Home Computer/other Z80 systems (doesn't support FM sound) | |
31 | - NSF/NSFE - Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 | |
32 | sound) | |
33 | - SAP - Atari systems using POKEY sound chip | |
34 | - SPC - Super Nintendo/Super Famicom | |
35 | - VGM/VGZ - Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC | |
36 | Micro | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | Game_Music_Emu to zbiór emulatorów pozwalających na odtwarzanie plików | |
40 | muzycznych z gier. Obsługiwane formaty i systemy to: | |
41 | ||
42 | - AY - ZX Spectrum/Amstrad CPC | |
43 | - GBS - Nintendo Game Boy | |
44 | - GYM - Sega Genesis/Mega Drive | |
45 | - HES - NEC TurboGrafx-16/PC Engine | |
46 | - KSS - MSX Home Computer/inne systemy Z80 (bez obsługi dźwięku FM) | |
47 | - NSF/NSFE - Nintendo NES/Famicom (z dźwiękiem VRC 6, Namco 106 i | |
48 | FME-7) | |
49 | - SAP - systemy Atari wykorzystujące układ dźwiękowy POKEY | |
50 | - SPC - Super Nintendo/Super Famicom | |
51 | - VGM/VGZ - Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC | |
52 | Micro | |
53 | ||
54 | %package devel | |
55 | Summary: Header files for game-music-emu library | |
56 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki game-music-emu | |
57 | Group: Development/Libraries | |
58 | Requires: %{name} = %{version}-%{release} | |
59 | Requires: libstdc++-devel | |
60 | ||
61 | %description devel | |
62 | This package contains the header files for developing applications | |
63 | that use game-music-emu library. | |
64 | ||
65 | %description devel -l pl.UTF-8 | |
66 | Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji | |
67 | wykorzystujących bibliotekę game-music-emu. | |
68 | ||
69 | %prep | |
70 | %setup -q | |
71 | ||
72 | %build | |
c29759e9 JB |
73 | install -d build |
74 | cd build | |
fc7318eb JB |
75 | %cmake .. \ |
76 | %{!?debug:-DENABLE_UBSAN=OFF} | |
d1302664 JB |
77 | |
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
c29759e9 | 83 | %{__make} -C build install \ |
d1302664 JB |
84 | DESTDIR=$RPM_BUILD_ROOT |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post -p /sbin/ldconfig | |
90 | %postun -p /sbin/ldconfig | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
94 | %doc changes.txt design.txt gme.txt readme.txt | |
95 | %attr(755,root,root) %{_libdir}/libgme.so.*.*.* | |
96 | %attr(755,root,root) %ghost %{_libdir}/libgme.so.0 | |
97 | ||
98 | %files devel | |
99 | %defattr(644,root,root,755) | |
100 | %attr(755,root,root) %{_libdir}/libgme.so | |
101 | %{_includedir}/gme | |
f7ef76be | 102 | %{_pkgconfigdir}/libgme.pc |