3 %bcond_with ladcca # enable ladcca sesion managment support
4 %bcond_with sse # use the SSE instructions of Pentium3+ or Athlon XP
6 Summary: FluidSynth is a software, real-time synthesizer
7 Summary(pl): FluidSynth to programowy syntezator dzia³aj±cy w czasie rzeczywistym
12 Group: Applications/Sound
13 Source0: http://savannah.nongnu.org/download/fluid/stable.pkg/%{version}/%{name}-%{version}.tar.gz
14 # Source0-md5: fbdccd05e538626888e27b58d3bdbc2b
15 URL: http://www.fluidsynth.org/
16 BuildRequires: alsa-lib-devel >= 0.9.0
17 BuildRequires: jack-audio-connection-kit-devel
18 %{?with_ladcca:BuildRequires: ladcca-devel >= 0.3.1}
19 %{?with_ladcca:BuildRequires: ladcca-devel < 0.4.0}
20 BuildRequires: ladspa-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Fluid Synth is a software, real-time synthesizer based on the
26 Soundfont 2 specifications.
29 Fluid Synth to programowy, dzia³aj±cy w czasie rzeczywistym syntezator
30 oparty na specyfikacji Soundfont 2.
33 Summary: Development files for the FluidSynth
34 Summary(pl): Pliki nag³ówkowe dla FluidSynth
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 This package contains the header files necessary to develop
40 applications using FluidSynth.
42 %description devel -l pl
43 Pakiet ten zawiera pliki nag³ówkowe potrzebne do tworzenia i
44 kompilacji aplikacji korzystaj±cych z bibliotek FluidSynth.
47 Summary: Static FluidSynth library
48 Summary(pl): Statyczna wersje biblioteki FluidSynth
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
53 This package contains static version of the FluidSynth library.
55 %description static -l pl
56 Ten pakiet zawiera bibliotekê statyczn± FluidSynth.
63 cp /usr/share/automake/config.sub .
66 %{!?with_ladcca:--disable-ladcca} \
67 %{?with_sse:--enable-SSE} \
69 --enable-jack-support \
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT
80 DESTDIR=$RPM_BUILD_ROOT
83 rm -rf $RPM_BUILD_ROOT
85 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
89 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_bindir}/*
93 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib%{name}.so
98 %attr(755,root,root) %{_libdir}/lib%{name}.la
99 %{_includedir}/%{name}.h
100 %{_includedir}/%{name}
101 %{_libdir}/pkgconfig/fluidsynth.pc
104 %defattr(644,root,root,755)
105 %{_libdir}/lib%{name}.a