# # Conditional build: # _with_sse -Use the SSE instructions of Pentium3+ # Summary: FluidSynth is a software, real-time synthesizer Summary(pl): FluidSynth to programowy , czasu rzeczywistego syntezator Name: fluidsynth Version: 1.0.1 Release: 1 License: GPL Group: Applications/Sound Source0: http://savannah.nongnu.org/download/fluid/stable.pkg/%{version}/%{name}-%{version}.tar.gz Source1: %{name}-fluid_sse.h URL: http://www.fluidsynth.org/ BuildRequires: alsa-lib-devel >= 0.9.0 BuildRequires: jack-audio-connection-kit-devel Requires: alsa-lib BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Fluid Synth is a software, real-time synthesizer based on the Soundfont 2 specifications. %description -l pl Fluid Synth to programowy, czasu rzeczywistego syntezator bazujący na specyfikacji Soundfont 2 %package devel Summary: Development files for the FluidSynth Summary(pl): Pliki nagłówkowe dla FluidSynth Group: Development/Libraries Requires: %{name} = %{version} %description devel This package contains the header files necessary to develop applications using FluidSynth - header files. %description devel -l pl Pakiet tem zawiera pliki nagłówkowe potrzebne do tworzenia i kompilacji aplikacji korzystających z bibliotek FluidSynth. %package static Summary: Static libraries for the FluidSynth Summary(pl): Statyczne wersje bibliotek z FluidSynth Group: Development/Libraries Requires: %{name}-devel = %{version} %description static This package contains static libraries for the FluidSynth library. %description static -l pl Ten pakiet zawiera biblioteki statyczne dla FluidSynth %prep %setup -q cp %{SOURCE1} src/fluid_sse.h %build %configure \ --enable-ladspa \ --enable-midishare \ --enable-jack-support \ --enable-coreaudio \ %{?_with_sse:--enable-SSE} %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc ChangeLog README %{_mandir}/man1/* %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/lib%{name}.so.1* %files devel %attr(755,root,root) %{_libdir}/lib%{name}.la %{_libdir}/lib%{name}.a %{_libdir}/pkgconfig/fluidsynth.pc %defattr(644,root,root,755) %{_includedir}/%{name}.h %dir %{_includedir}/%{name} %{_includedir}/%{name}/*.h %files static %{_libdir}/lib%{name}.a