fluidsynth/fluidsynth.spec

145 lines
3.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package fluidsynth (Version 1.0.7a)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: fluidsynth
BuildRequires: alsa-devel jack-devel ladspa readline-devel
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
Version: 1.0.7a
Release: 1
Group: Productivity/Multimedia/Sound/Midi
# Obsoletes: iiwusynth
# Provides: iiwusynth
Autoreqprov: on
License: LGPL
URL: http://www.fluidsynth.org/
Source: %{name}-%{version}.tar.bz2
Patch: fluidsynth-64bit-fix.diff
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
Summary: Development package for the fluidsynth library
Group: Development/Libraries/C and C++
Requires: fluidsynth = %{version} glibc-devel alsa-devel readline-devel ncurses-devel jack-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
%prep
# %setup
%setup -n %{name}-1.0.7
%patch
%{?suse_update_config:%{suse_update_config -f}}
%build
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
./configure --prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--enable-jack-support \
--enable-ladspa
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_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
%{_bindir}/*
%{_libdir}/lib*.so.*
%{_mandir}/man?/*
%files devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%changelog -n fluidsynth
* Mon May 15 2006 - tiwai@suse.de
- updated to version 1.0.7a.
* cleanup of LADCCA support
* fix warnings with JACK backend
* fix sequencer buffer overrun bug
* new filter routine
* crash bugfix
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005 - tiwai@suse.de
- fix the crash with 64bit architectures (#137998)
* Wed Oct 12 2005 - tiwai@suse.de
- removed glib* from neededforbuild.
* Tue Jun 14 2005 - tiwai@suse.de
- updated to version 1.0.6.
- split fluidsynth-dssi to an individual package (built from
own tarball).
* Fri Apr 08 2005 - tiwai@suse.de
- fix for gcc-4.0.
* Fri Jan 21 2005 - tiwai@suse.de
- updated to version 1.0.5.
* Tue Aug 17 2004 - tiwai@suse.de
- fixed the build of fluidsynth-dssi plugin.
* Tue Aug 17 2004 - tiwai@suse.de
- Added the DSSI plugin support.
A new subpackage fluidsynth-dssi is created.
* Tue Apr 27 2004 - ro@suse.de
- add -fno-strict-aliasing
* Tue Jan 13 2004 - tiwai@suse.de
- added non-root build.
- added %%run_ldconfig.
- fixed %%defattr.
* Tue Nov 18 2003 - tiwai@suse.de
- updated to version 1.0.3.
* Thu Aug 28 2003 - tiwai@suse.de
- fixed bugs; retrieved from 1.0.3.
* Thu Jul 03 2003 - tiwai@suse.de
- updated to version 1.0.2.
* Fri Jun 06 2003 - tiwai@suse.de
- updated to version 1.0.1.
* Thu Mar 27 2003 - tiwai@suse.de
- initial version 1.0.0. iiwusynth is obsoleted.