]> git.pld-linux.org Git - packages/SDL_mixer.git/blob - SDL_mixer.spec
7bae9a215b680428460de75e4d628fed0bef3880
[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:        4
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:  libtool
17 BuildRequires:  libvorbis-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Obsoletes:      libSDL_mixer1.2
20
21 %define         _prefix         /usr/X11R6
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 dzwiê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}
45 Requires:       SDL-devel
46 Requires:       libvorbis-devel
47 Obsoletes:      libSDL_mixer1.2-devel
48
49 %description devel
50 Header files and more to develop SDL_mixer applications.
51
52 %description devel -l pl
53 Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
54
55 %description devel -l pt_BR
56 Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
57 SDL.
58
59 %package static
60 Summary:        Static SDL_mixer libraries
61 Summary(pl):    Statyczne biblioteki SDL_mixer
62 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com SDL_mixer
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}
65
66 %description static
67 Static SDL_mixer libraries.
68
69 %description static -l pl
70 Statyczne biblioteki SDL_mixer.
71
72 %description static -l pt_BR
73 Bibliotecas estáticas para desenvolvimento com SDL_mixer.
74
75 %prep
76 %setup -q
77 %patch -p1
78
79 %build
80 rm -f missing
81 %{__libtoolize}
82 aclocal
83 %{__autoconf}
84 %{__automake}
85 %configure
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install DESTDIR=$RPM_BUILD_ROOT
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %files
100 %defattr(644,root,root,755)
101 %doc README CHANGES
102 %attr(755,root,root) %{_bindir}/playmus
103 %attr(755,root,root) %{_bindir}/playwave
104 %attr(755,root,root) %{_libdir}/lib*.so.*.*
105
106 %files devel
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/lib*.so
109 %attr(755,root,root) %{_libdir}/lib*.la
110 %{_includedir}/SDL/*
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/lib*.a
This page took 0.088443 seconds and 3 git commands to generate.