]> git.pld-linux.org Git - packages/SDL_mixer.git/blob - SDL_mixer.spec
3e4e84be146aa424e2ec24cc74f62ab5fcc17187
[packages/SDL_mixer.git] / SDL_mixer.spec
1 Summary:        Simple DirectMedia Layer - Sample Mixer Library
2 Summary(pl):    Prosta biblioteka miksera
3 Summary(pt_BR): SDL - Biblioteca para mixagem
4 Name:           SDL_mixer
5 Version:        1.2.3
6 Release:        2
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-timidity_cfg.patch
11 URL:            http://www.libsdl.org/projects/SDL_mixer/
12 BuildRequires:  SDL-devel >= 1.2.0
13 BuildRequires:  XFree86-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  esound-devel
17 BuildRequires:  libtool
18 BuildRequires:  libvorbis-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Obsoletes:      libSDL_mixer1.2
21
22 %define         _prefix         /usr/X11R6
23
24 %description
25 Due to popular demand, here is a simple multi-channel audio mixer. It
26 supports 4 channels of 16 bit stereo audio, plus a single channel of
27 music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
28 libraries.
29
30 %description -l es
31 Due to popular demand, here is a simple multi-channel audio mixer. It
32 supports 4 channels of 16 bit stereo audio, plus a single channel of
33 music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
34 libraries.
35
36 %description -l pl
37 Prosty wielo-kana³owy mikser audio. Wspiera on 4 kana³y 16 bitowego
38 dzwiêku stereo plus jeden kana³ dla muzyki miksowanej przez popularny
39 MikMod MOD, Timitity MIDI i biblioteki SMPEG MP3.
40
41 %description -l pt_BR
42 Biblioteca que suporta 4 canais de áudio estéreo 16 bit, mais um canal
43 de música, mixado pelo populares bibliotecas MOD MikMod, MIDI timidity
44 e SMPEG MP3.
45
46 %package devel
47 Summary:        Header files and more to develop SDL_mixer applications
48 Summary(pl):    Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
49 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
50 Group:          Development/Libraries
51 Requires:       %{name} = %{version}
52 Requires:       SDL-devel
53 Requires:       libvorbis-devel
54 Obsoletes:      libSDL_mixer1.2-devel
55
56 %description devel
57 Header files and more to develop SDL_mixer applications.
58
59 %description devel -l es
60 Due to popular demand, here is a simple multi-channel audio mixer. It
61 supports 4 channels of 16 bit stereo audio, plus a single channel of
62 music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
63 libraries.
64
65 %description devel -l pt_BR
66 Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
67 SDL.
68
69 %description devel -l pl
70 Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
71
72 %package static
73 Summary:        Static SDL_mixer libraries
74 Summary(pl):    Statyczne biblioteki SDL_mixer
75 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com SDL_mixer
76 Group:          Development/Libraries
77 Requires:       %{name}-devel = %{version}
78
79 %description static
80 Static SDL_mixer libraries.
81
82 %description static -l pl
83 Statyczne biblioteki SDL_mixer.
84
85 %description static -l pt_BR
86 Bibliotecas estáticas para desenvolvimento com SDL_mixer.
87
88 %prep
89 %setup -q
90 %patch -p1
91
92 %build
93 rm -f missing
94 %{__libtoolize}
95 aclocal
96 %{__autoconf}
97 %{__automake}
98 %configure
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install DESTDIR=$RPM_BUILD_ROOT
105
106 gzip -9nf README CHANGES
107
108 %clean
109 rm -rf $RPM_BUILD_ROOT
110
111 %post   -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
113
114 %files
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/playmus
117 %attr(755,root,root) %{_bindir}/playwave
118 %attr(755,root,root) %{_libdir}/lib*.so.*.*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %doc {README,CHANGES}.gz
123 %attr(755,root,root) %{_libdir}/lib*.so
124 %attr(755,root,root) %{_libdir}/lib*.la
125 %{_includedir}/SDL/*
126
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/lib*.a
This page took 0.034037 seconds and 2 git commands to generate.