]> git.pld-linux.org Git - packages/game-music-emu.git/blame - game-music-emu.spec
- updated URLs for future versions
[packages/game-music-emu.git] / game-music-emu.spec
CommitLineData
d1302664
JB
1Summary: Collection of video game music file emulators
2Summary(pl.UTF-8): Zbiór emulatorów do odtwarzania muzyki z gier
3Name: game-music-emu
7f4f3db7 4Version: 0.6.3
fc7318eb 5Release: 2
d1302664
JB
6License: LGPL v2.1+
7Group: 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 11Source0: https://bitbucket.org/mpyne/game-music-emu/downloads/%{name}-%{version}.tar.xz
7f4f3db7 12# Source0-md5: c96c65efbadc9acb10c0f9382ba66e0d
677e82c3 13URL: https://github.com/libgme/game-music-emu/releases
d1302664
JB
14BuildRequires: cmake >= 2.6
15BuildRequires: libstdc++-devel
fc7318eb 16%{?debug:BuildRequires: libubsan-devel}
c29759e9 17BuildRequires: rpmbuild(macros) >= 1.605
2547feda
JB
18BuildRequires: tar >= 1:1.22
19BuildRequires: xz
d1302664
JB
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Game_Music_Emu is a collection of video game music file emulators that
24support 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
39Game_Music_Emu to zbiór emulatorów pozwalających na odtwarzanie plików
40muzycznych 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
55Summary: Header files for game-music-emu library
56Summary(pl.UTF-8): Pliki nagłówkowe biblioteki game-music-emu
57Group: Development/Libraries
58Requires: %{name} = %{version}-%{release}
59Requires: libstdc++-devel
60
61%description devel
62This package contains the header files for developing applications
63that use game-music-emu library.
64
65%description devel -l pl.UTF-8
66Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
67wykorzystujących bibliotekę game-music-emu.
68
69%prep
70%setup -q
71
72%build
c29759e9
JB
73install -d build
74cd build
fc7318eb
JB
75%cmake .. \
76 %{!?debug:-DENABLE_UBSAN=OFF}
d1302664
JB
77
78%{__make}
79
80%install
81rm -rf $RPM_BUILD_ROOT
82
c29759e9 83%{__make} -C build install \
d1302664
JB
84 DESTDIR=$RPM_BUILD_ROOT
85
86%clean
87rm -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
This page took 0.110759 seconds and 4 git commands to generate.