c644ac2983
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=13
126 lines
3.2 KiB
RPMSpec
126 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package fluidsynth (Version 1.1.2)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
|
|
Name: fluidsynth
|
|
BuildRequires: alsa-devel ladspa-devel libjack-devel readline-devel
|
|
BuildRequires: dbus-1-devel lash-devel libsndfile-devel pulseaudio-devel
|
|
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
|
|
Version: 1.1.2
|
|
Release: 1
|
|
Group: Productivity/Multimedia/Sound/Midi
|
|
# Obsoletes: iiwusynth
|
|
# Provides: iiwusynth
|
|
AutoReqProv: on
|
|
License: LGPLv2.1+
|
|
Url: http://www.fluidsynth.org/
|
|
Source: %{name}-%{version}.tar.bz2
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Peter Hanappe <peter@hanappe.com>
|
|
Samuel Bianchini
|
|
Johnathan Lee
|
|
|
|
%package devel
|
|
License: LGPLv2.1+
|
|
Summary: Development package for the fluidsynth library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libfluidsynth1 = %{version} glibc-devel
|
|
|
|
%description devel
|
|
This package contains the files needed to compile programs that use the
|
|
fluidsynth library.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Peter Hanappe <peter@hanappe.com>
|
|
Samuel Bianchini
|
|
Johnathan Lee
|
|
|
|
%package -n libfluidsynth1
|
|
License: LGPLv2.1+
|
|
Summary: Library for Fluidsynth
|
|
Group: System/Libraries
|
|
|
|
%description -n libfluidsynth1
|
|
This package contains the shared library for Fluidsynth.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Peter Hanappe <peter@hanappe.com>
|
|
Samuel Bianchini
|
|
Johnathan Lee
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
# autoreconf --force --install
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
|
./configure --prefix=%{_prefix} \
|
|
--libdir=%{_libdir} \
|
|
--mandir=%{_mandir} \
|
|
--disable-static \
|
|
--enable-jack-support \
|
|
# --enable-ladspa
|
|
make
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
# remove unneeded files
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
|
%post -n libfluidsynth1 -p /sbin/ldconfig
|
|
|
|
%postun -n libfluidsynth1 -p /sbin/ldconfig
|
|
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
|
%doc %{_mandir}/man?/*
|
|
%{_bindir}/*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/lib*.so
|
|
%{_includedir}/*
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%files -n libfluidsynth1
|
|
%defattr(-,root,root)
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%changelog
|