2007-01-16 00:12:37 +01:00
|
|
|
#
|
2011-08-09 16:24:51 +02:00
|
|
|
# spec file for package fluidsynth
|
2007-01-16 00:12:37 +01:00
|
|
|
#
|
2011-08-09 12:38:30 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:12:37 +01:00
|
|
|
#
|
2009-06-18 17:24:33 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:12:37 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-04-14 19:33:06 +02:00
|
|
|
|
2007-01-16 00:12:37 +01:00
|
|
|
|
|
|
|
Name: fluidsynth
|
2009-07-27 22:43:37 +02:00
|
|
|
BuildRequires: alsa-devel ladspa-devel libjack-devel readline-devel
|
2010-09-13 15:14:59 +02:00
|
|
|
BuildRequires: dbus-1-devel lash-devel libsndfile-devel pulseaudio-devel
|
2011-08-09 12:38:30 +02:00
|
|
|
BuildRequires: cmake
|
2007-01-16 00:12:37 +01:00
|
|
|
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
|
2011-08-09 12:38:30 +02:00
|
|
|
Version: 1.1.4
|
2009-07-27 22:43:37 +02:00
|
|
|
Release: 1
|
2007-01-16 00:12:37 +01:00
|
|
|
Group: Productivity/Multimedia/Sound/Midi
|
|
|
|
# Obsoletes: iiwusynth
|
|
|
|
# Provides: iiwusynth
|
2010-04-03 00:16:53 +02:00
|
|
|
License: LGPLv2.1+
|
2007-11-20 11:40:09 +01:00
|
|
|
Url: http://www.fluidsynth.org/
|
2007-01-16 00:12:37 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2011-08-09 12:38:30 +02:00
|
|
|
Patch1: fluidsynth-fix-build-lash.diff
|
|
|
|
Patch2: fluidsynth-add-missing-export-for-1.1.4.diff
|
2007-01-16 00:12:37 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
FluidSynth (formerly IIWU Synth) is based on the SoundFont(tm) 2
|
|
|
|
specifications. It is a real-time "software synthesizer". FluidSynth
|
|
|
|
can read MIDI events from the MIDI input device and render them to the
|
|
|
|
audio device. It can also play MIDI files.
|
|
|
|
|
|
|
|
%package devel
|
2010-04-03 00:16:53 +02:00
|
|
|
License: LGPLv2.1+
|
2007-01-16 00:12:37 +01:00
|
|
|
Summary: Development package for the fluidsynth library
|
|
|
|
Group: Development/Libraries/C and C++
|
2007-04-18 00:35:09 +02:00
|
|
|
Requires: libfluidsynth1 = %{version} glibc-devel
|
2011-01-01 04:12:52 +01:00
|
|
|
Provides: libfluidsynth-devel = %{version}
|
2007-01-16 00:12:37 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the files needed to compile programs that use the
|
|
|
|
fluidsynth library.
|
|
|
|
|
2007-04-18 00:35:09 +02:00
|
|
|
%package -n libfluidsynth1
|
2010-04-03 00:16:53 +02:00
|
|
|
License: LGPLv2.1+
|
2007-04-18 00:35:09 +02:00
|
|
|
Summary: Library for Fluidsynth
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libfluidsynth1
|
|
|
|
This package contains the shared library for Fluidsynth.
|
|
|
|
|
2007-01-16 00:12:37 +01:00
|
|
|
%prep
|
2007-11-20 11:40:09 +01:00
|
|
|
%setup -q
|
2011-08-09 12:38:30 +02:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2007-01-16 00:12:37 +01:00
|
|
|
|
|
|
|
%build
|
2011-08-09 12:38:30 +02:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} -Denable-ladspa=1
|
2011-09-19 20:19:46 +02:00
|
|
|
make %{?_smp_mflags} VERBOSE=1
|
2007-01-16 00:12:37 +01:00
|
|
|
|
|
|
|
%install
|
2011-08-09 12:38:30 +02:00
|
|
|
cd build
|
2007-01-16 00:12:37 +01:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
2009-07-27 22:43:37 +02:00
|
|
|
%post -n libfluidsynth1 -p /sbin/ldconfig
|
2007-01-16 00:12:37 +01:00
|
|
|
|
2009-07-27 22:43:37 +02:00
|
|
|
%postun -n libfluidsynth1 -p /sbin/ldconfig
|
2007-01-16 00:12:37 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
2007-04-18 00:35:09 +02:00
|
|
|
%doc %{_mandir}/man?/*
|
2007-01-16 00:12:37 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2007-04-18 00:35:09 +02:00
|
|
|
%files -n libfluidsynth1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/lib*.so.*
|
2008-04-14 19:33:06 +02:00
|
|
|
|
2007-04-18 00:35:09 +02:00
|
|
|
%changelog
|