]> git.pld-linux.org Git - packages/SDL_mixer.git/blob - SDL_mixer.spec
101a0af3f60287313a8bd24dd415cf43f67abf51
[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.4
6 Release:        1
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 pl
31 Prosty wielo-kana³owy mikser audio. Wspiera on 4 kana³y 16 bitowego
32 dzwiêku stereo plus jeden kana³ dla muzyki miksowanej przez popularny
33 MikMod MOD, Timitity MIDI i biblioteki SMPEG MP3.
34
35 %description -l pt_BR
36 Biblioteca que suporta 4 canais de áudio estéreo 16 bit, mais um canal
37 de música, mixado pelo populares bibliotecas MOD MikMod, MIDI timidity
38 e SMPEG MP3.
39
40 %package devel
41 Summary:        Header files and more to develop SDL_mixer applications
42 Summary(pl):    Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
43 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}
46 Requires:       SDL-devel
47 Requires:       libvorbis-devel
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}
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 missing
82 %{__libtoolize}
83 aclocal
84 %{__autoconf}
85 %{__automake}
86 %configure
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install DESTDIR=$RPM_BUILD_ROOT
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %doc README CHANGES
103 %attr(755,root,root) %{_bindir}/playmus
104 %attr(755,root,root) %{_bindir}/playwave
105 %attr(755,root,root) %{_libdir}/lib*.so.*.*
106
107 %files devel
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/lib*.so
110 %attr(755,root,root) %{_libdir}/lib*.la
111 %{_includedir}/SDL/*
112
113 %files static
114 %defattr(644,root,root,755)
115 %{_libdir}/lib*.a
This page took 0.031269 seconds and 2 git commands to generate.