3 %bcond_with ladcca # enable ladcca sesion managment support
4 %bcond_with sse # use the SSE instructions of Pentium3+ or Athlon XP
6 %ifarch pentium3 pentium4 %{x8664}
10 %define rversion 1.0.7
12 Summary: FluidSynth - a software, real-time synthesizer
13 Summary(pl): FluidSynth - programowy syntezator dzia³aj±cy w czasie rzeczywistym
18 Group: Applications/Sound
19 Source0: http://savannah.nongnu.org/download/fluid/%{name}-%{version}.tar.gz
20 # Source0-md5: 0f73d47990d859f19b8e9840bdab5c60
21 URL: http://www.fluidsynth.org/
22 BuildRequires: alsa-lib-devel >= 0.9.0
23 BuildRequires: automake
24 BuildRequires: jack-audio-connection-kit-devel
25 %{?with_ladcca:BuildRequires: ladcca-devel < 0.4.0}
26 %{?with_ladcca:BuildRequires: ladcca-devel >= 0.3.1}
27 BuildRequires: ladspa-devel
28 BuildRequires: pkgconfig
29 BuildRequires: rpmbuild(macros) >= 1.213
31 # supports also Mac OS X Darwin, so probably it is easy to extend
32 ExclusiveArch: %{ix86} %{x8664}
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 Fluid Synth is a software, real-time synthesizer based on the
37 Soundfont 2 specifications.
40 Fluid Synth to programowy, dzia³aj±cy w czasie rzeczywistym syntezator
41 oparty na specyfikacji Soundfont 2.
44 Summary: Development files for the FluidSynth
45 Summary(pl): Pliki nag³ówkowe dla FluidSynth
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
50 This package contains the header files necessary to develop
51 applications using FluidSynth.
53 %description devel -l pl
54 Pakiet ten zawiera pliki nag³ówkowe potrzebne do tworzenia i
55 kompilacji aplikacji korzystaj±cych z bibliotek FluidSynth.
58 Summary: Static FluidSynth library
59 Summary(pl): Statyczna wersje biblioteki FluidSynth
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{version}-%{release}
64 This package contains static version of the FluidSynth library.
66 %description static -l pl
67 Ten pakiet zawiera bibliotekê statyczn± FluidSynth.
70 %setup -qn %{name}-%{rversion}
74 cp /usr/share/automake/config.sub .
77 %{!?with_ladcca:--disable-ladcca} \
78 %{?with_sse:--enable-SSE} \
80 --enable-jack-support \
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
95 rm -rf $RPM_BUILD_ROOT
97 %post -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
101 %defattr(644,root,root,755)
102 %doc ChangeLog README
104 %attr(755,root,root) %{_bindir}/*
105 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/lib%{name}.so
110 %{_libdir}/lib%{name}.la
111 %{_includedir}/%{name}.h
112 %{_includedir}/%{name}
113 %{_pkgconfigdir}/fluidsynth.pc
116 %defattr(644,root,root,755)
117 %{_libdir}/lib%{name}.a