OBS User unknown 2007-04-17 22:35:09 +00:00 committed by Git OBS Bridge
parent 1ffd46bc18
commit c6655afa58
2 changed files with 44 additions and 12 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Apr 17 16:41:38 CEST 2007 - tiwai@suse.de
- follow library packaging policy
* split shared library to libfluidsynth1 sub package
* remove static library
- fix buildrequires ladspa-devel
-------------------------------------------------------------------
Mon May 15 15:46:14 CEST 2006 - tiwai@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package fluidsynth (Version 1.0.7a)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 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.
#
@ -11,15 +11,15 @@
# norootforbuild
Name: fluidsynth
BuildRequires: alsa-devel jack-devel ladspa readline-devel
BuildRequires: alsa-devel jack-devel ladspa-devel readline-devel
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
Version: 1.0.7a
Release: 1
Release: 49
Group: Productivity/Multimedia/Sound/Midi
# Obsoletes: iiwusynth
# Provides: iiwusynth
Autoreqprov: on
License: LGPL
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
URL: http://www.fluidsynth.org/
Source: %{name}-%{version}.tar.bz2
Patch: fluidsynth-64bit-fix.diff
@ -42,7 +42,7 @@ Authors:
%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
Requires: libfluidsynth1 = %{version} glibc-devel
%description devel
This package contains the files needed to compile programs that use the
@ -50,6 +50,21 @@ fluidsynth library.
Authors:
--------
Peter Hanappe <peter@hanappe.com>
Samuel Bianchini
Johnathan Lee
%package -n libfluidsynth1
Summary: Library for Fluidsynth
Group: System/Libraries
%description -n libfluidsynth1
This package contains the shared library for Fluidsynth.
Authors:
--------
Peter Hanappe <peter@hanappe.com>
@ -68,17 +83,20 @@ 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
%post -n libfluidsynth1
%run_ldconfig
%postun
%postun -n libfluidsynth1
%run_ldconfig
%clean
@ -87,19 +105,25 @@ make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
%doc %{_mandir}/man?/*
%{_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
%files -n libfluidsynth1
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%changelog
* Tue Apr 17 2007 - tiwai@suse.de
- follow library packaging policy
* split shared library to libfluidsynth1 sub package
* remove static library
- fix buildrequires ladspa-devel
* Mon May 15 2006 - tiwai@suse.de
- updated to version 1.0.7a.
* cleanup of LADCCA support