]> git.pld-linux.org Git - packages/SDL_mixer.git/blob - SDL_mixer.spec
- added Requires: libvorbis-devel in 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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _prefix         /usr/X11R6
27
28 %description
29 Due to popular demand, here is a simple multi-channel audio mixer. It
30 supports 4 channels of 16 bit stereo audio, plus a single channel of
31 music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
32 libraries.
33
34 %description -l pl
35 Prosty wielo-kana³owy mikser audio. Wspiera on 4 kana³y 16 bitowego
36 dzwiêku stereo plus jeden kana³ dla muzyki miksowanej przez popularny
37 MikMod MOD, Timitity MIDI i biblioteki 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 Group:          Development/Libraries
43 Group(de):      Entwicklung/Libraries
44 Group(es):      Desarrollo/Bibliotecas
45 Group(fr):      Development/Librairies
46 Group(pl):      Programowanie/Biblioteki
47 Group(pt_BR):   Desenvolvimento/Bibliotecas
48 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
49 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
50 Requires:       %{name} = %{version}
51 Requires:       SDL-devel
52 Requires:       libvorbis-devel
53
54 %description devel
55 Header files and more to develop SDL_mixer applications.
56
57 %description -l pl devel
58 Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
59
60 %package static
61 Summary:        Static SDL_mixer libraries
62 Summary(pl):    Statyczne biblioteki SDL_mixer
63 Group:          Development/Libraries
64 Group(de):      Entwicklung/Libraries
65 Group(es):      Desarrollo/Bibliotecas
66 Group(fr):      Development/Librairies
67 Group(pl):      Programowanie/Biblioteki
68 Group(pt_BR):   Desenvolvimento/Bibliotecas
69 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
70 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
71 Requires:       %{name}-devel = %{version}
72
73 %description static
74 Static SDL_mixer libraries.
75
76 %description -l pl static
77 Statyczne biblioteki SDL_mixer.
78
79 %prep
80 %setup -q 
81 %patch -p1
82
83 %build
84 rm -f missing
85 libtoolize --copy --force
86 aclocal
87 autoconf
88 automake -a -c
89 %configure
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install DESTDIR=$RPM_BUILD_ROOT
96
97 gzip -9nf README CHANGES
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 %attr(755,root,root) %{_bindir}/playmus
108 %attr(755,root,root) %{_bindir}/playwave
109 %attr(755,root,root) %{_libdir}/lib*.so.*.*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc *.gz
114 %attr(755,root,root) %{_libdir}/lib*.so
115 %attr(755,root,root) %{_libdir}/lib*.la
116 %{_includedir}/SDL/*
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/lib*.a
This page took 0.068157 seconds and 4 git commands to generate.