]> git.pld-linux.org Git - packages/game-music-emu.git/blob - game-music-emu.spec
d439fff271d38a38169f3b91ed7eb4cab1d40e0f
[packages/game-music-emu.git] / game-music-emu.spec
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
4 Version:        0.6.0
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 #Source0Download: http://code.google.com/p/game-music-emu/downloads/list
9 Source0:        http://game-music-emu.googlecode.com/files/%{name}-%{version}.tar.bz2
10 # Source0-md5:  b98fafb737bc889dc65e7a8b94bd1bf5
11 Patch0:         %{name}-multilib.patch
12 URL:            http://code.google.com/p/game-music-emu/
13 BuildRequires:  cmake >= 2.6
14 BuildRequires:  libstdc++-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Game_Music_Emu is a collection of video game music file emulators that
19 support the following formats and systems:
20
21 - AY - ZX Spectrum/Amstrad CPC
22 - GBS - Nintendo Game Boy
23 - GYM - Sega Genesis/Mega Drive
24 - HES - NEC TurboGrafx-16/PC Engine
25 - KSS - MSX Home Computer/other Z80 systems (doesn't support FM sound)
26 - NSF/NSFE - Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7
27   sound)
28 - SAP - Atari systems using POKEY sound chip
29 - SPC - Super Nintendo/Super Famicom
30 - VGM/VGZ - Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC
31   Micro
32
33 %description -l pl.UTF-8
34 Game_Music_Emu to zbiór emulatorów pozwalających na odtwarzanie plików
35 muzycznych z gier. Obsługiwane formaty i systemy to:
36
37 - AY - ZX Spectrum/Amstrad CPC
38 - GBS - Nintendo Game Boy
39 - GYM - Sega Genesis/Mega Drive
40 - HES - NEC TurboGrafx-16/PC Engine
41 - KSS - MSX Home Computer/inne systemy Z80 (bez obsługi dźwięku FM)
42 - NSF/NSFE - Nintendo NES/Famicom (z dźwiękiem VRC 6, Namco 106 i
43   FME-7)
44 - SAP - systemy Atari wykorzystujące układ dźwiękowy POKEY
45 - SPC - Super Nintendo/Super Famicom
46 - VGM/VGZ - Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC
47   Micro
48
49 %package devel
50 Summary:        Header files for game-music-emu library
51 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki game-music-emu
52 Group:          Development/Libraries
53 Requires:       %{name} = %{version}-%{release}
54 Requires:       libstdc++-devel
55
56 %description devel
57 This package contains the header files for developing applications
58 that use game-music-emu library.
59
60 %description devel -l pl.UTF-8
61 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
62 wykorzystujących bibliotekę game-music-emu.
63
64 %prep
65 %setup -q
66 %patch0 -p1
67
68 %build
69 %cmake \
70         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
71         -DLIB_INSTALL_DIR=%{_libdir} \
72 %if "%{_lib}" == "lib64"
73         -DLIB_SUFFIX=64 \
74 %endif
75         -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
76         -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
77         -DCMAKE_VERBOSE_MAKEFILE=ON
78
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 %doc changes.txt design.txt gme.txt readme.txt
96 %attr(755,root,root) %{_libdir}/libgme.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libgme.so.0
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libgme.so
102 %{_includedir}/gme
103 %{_pkgconfigdir}/libgme.pc
This page took 0.046956 seconds and 2 git commands to generate.