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