]> git.pld-linux.org Git - packages/SDL_mixer.git/blob - SDL_mixer.spec
- added BuildRequires: libvorbis-devel.
[packages/SDL_mixer.git] / SDL_mixer.spec
1 Summary:        Simple DirectMedia Layer - Sample Mixer Library
2 Summary(pl):    Prosta biblioteka miksera
3 Name:           SDL_mixer
4 Version:        1.2.0
5 Release:        6
6 License:        LGPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-timidity_cfg.patch
17 URL:            http://www.libsdl.org/projects/SDL_mixer/
18 BuildRequires:  SDL-devel >= 1.2.0
19 BuildRequires:  XFree86-devel
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  esound-devel
23 BuildRequires:  libtool
24 BuildRequires:  libvorbis-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         _prefix         /usr/X11R6
28
29 %description
30 Due to popular demand, here is a simple multi-channel audio mixer. It
31 supports 4 channels of 16 bit stereo audio, plus a single channel of
32 music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
33 libraries.
34
35 %description -l pl
36 Prosty wielo-kana³owy mikser audio. Wspiera on 4 kana³y 16 bitowego
37 dzwiêku stereo plus jeden kana³ dla muzyki miksowanej przez popularny
38 MikMod MOD, Timitity MIDI i biblioteki 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 Group:          Development/Libraries
44 Group(de):      Entwicklung/Libraries
45 Group(es):      Desarrollo/Bibliotecas
46 Group(fr):      Development/Librairies
47 Group(pl):      Programowanie/Biblioteki
48 Group(pt_BR):   Desenvolvimento/Bibliotecas
49 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
50 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
51 Requires:       %{name} = %{version}
52 Requires:       SDL-devel
53 Requires:       libvorbis-devel
54
55 %description devel
56 Header files and more to develop SDL_mixer applications.
57
58 %description -l pl devel
59 Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
60
61 %package static
62 Summary:        Static SDL_mixer libraries
63 Summary(pl):    Statyczne biblioteki SDL_mixer
64 Group:          Development/Libraries
65 Group(de):      Entwicklung/Libraries
66 Group(es):      Desarrollo/Bibliotecas
67 Group(fr):      Development/Librairies
68 Group(pl):      Programowanie/Biblioteki
69 Group(pt_BR):   Desenvolvimento/Bibliotecas
70 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
71 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
72 Requires:       %{name}-devel = %{version}
73
74 %description static
75 Static SDL_mixer libraries.
76
77 %description -l pl static
78 Statyczne biblioteki SDL_mixer.
79
80 %prep
81 %setup -q 
82 %patch -p1
83
84 %build
85 rm -f missing
86 libtoolize --copy --force
87 aclocal
88 autoconf
89 automake -a -c
90 %configure
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} install DESTDIR=$RPM_BUILD_ROOT
97
98 gzip -9nf README CHANGES
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
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 %doc *.gz
115 %attr(755,root,root) %{_libdir}/lib*.so
116 %attr(755,root,root) %{_libdir}/lib*.la
117 %{_includedir}/SDL/*
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/lib*.a
This page took 0.067728 seconds and 3 git commands to generate.