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