3 # _with_sse - use the SSE instructions of Pentium3+ or Athlon XP
5 Summary: FluidSynth is a software, real-time synthesizer
6 Summary(pl): FluidSynth to programowy syntezator dzia³aj±cy w czasie rzeczywistym
11 Group: Applications/Sound
12 Source0: http://savannah.nongnu.org/download/fluid/stable.pkg/%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: 7a0ab811d68afcd1d5a40e04a25eaad7
14 Source1: %{name}-fluid_sse.h
15 URL: http://www.fluidsynth.org/
16 BuildRequires: alsa-lib-devel >= 0.9.0
17 BuildRequires: jack-audio-connection-kit-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Fluid Synth is a software, real-time synthesizer based on the
23 Soundfont 2 specifications.
26 Fluid Synth to programowy, dzia³aj±cy w czasie rzeczywistym syntezator
27 oparty na specyfikacji Soundfont 2.
30 Summary: Development files for the FluidSynth
31 Summary(pl): Pliki nag³ówkowe dla FluidSynth
32 Group: Development/Libraries
33 Requires: %{name} = %{version}
36 This package contains the header files necessary to develop
37 applications using FluidSynth.
39 %description devel -l pl
40 Pakiet tem zawiera pliki nag³ówkowe potrzebne do tworzenia i
41 kompilacji aplikacji korzystaj±cych z bibliotek FluidSynth.
44 Summary: Static FluidSynth library
45 Summary(pl): Statyczna wersje biblioteki FluidSynth
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}
50 This package contains static version of the FluidSynth library.
52 %description static -l pl
53 Ten pakiet zawiera bibliotekê statyczn± FluidSynth.
57 cp %{SOURCE1} src/fluid_sse.h
63 --enable-jack-support \
65 %{?_with_sse:--enable-SSE}
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT
72 %{__make} install DESTDIR=$RPM_BUILD_ROOT
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/*
85 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib%{name}.so
90 %attr(755,root,root) %{_libdir}/lib%{name}.la
91 %{_includedir}/%{name}.h
92 %{_includedir}/%{name}
93 %{_libdir}/pkgconfig/fluidsynth.pc
96 %defattr(644,root,root,755)
97 %{_libdir}/lib%{name}.a