Accepting request 577003 from home:scarabeus_iv:branches:multimedia:libs
- Switch to cmake macros - Use %license to install license - Disable optional lash support as we try to remove lash - Format with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/577003 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=40
This commit is contained in:
parent
2900fef86c
commit
b97498185c
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 15 13:22:56 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Switch to cmake macros
|
||||
- Use %license to install license
|
||||
- Disable optional lash support as we try to remove lash
|
||||
- Format with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 4 10:11:54 UTC 2018 - tom.mbrt@googlemail.com
|
||||
|
||||
|
@ -19,8 +19,6 @@
|
||||
Name: fluidsynth
|
||||
Version: 1.1.9
|
||||
Release: 0
|
||||
# Obsoletes: iiwusynth
|
||||
# Provides: iiwusynth
|
||||
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
|
||||
License: LGPL-2.1+
|
||||
Group: Productivity/Multimedia/Sound/Midi
|
||||
@ -29,14 +27,13 @@ Source: https://github.com/FluidSynth/%{name}/archive/v%{version}.tar.gz
|
||||
Source1000: baselibs.conf
|
||||
BuildRequires: cmake >= 3.0.2
|
||||
BuildRequires: ladspa-devel
|
||||
BuildRequires: lash-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(jack)
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(sndfile)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
FluidSynth (formerly IIWU Synth) is a real-time software synthesizer
|
||||
@ -66,35 +63,32 @@ This package contains the shared library for Fluidsynth.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-Denable-ladspa=1 \
|
||||
-DCMAKE_C_FLAGS="%{optflags}"
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
# Upstream uses both LIB_SUFFIX and LIB_INSTALL_DIR... so it gets set to
|
||||
# lib6464 unless overriden
|
||||
%cmake \
|
||||
-DLIB_INSTALL_DIR:PATH=/usr/lib \
|
||||
-Denable-ladspa=1 \
|
||||
-Denable-lash=0
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cd build
|
||||
%make_install
|
||||
%cmake_install
|
||||
|
||||
%post -n libfluidsynth1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libfluidsynth1 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog LICENSE NEWS README.md THANKS TODO
|
||||
%doc %{_mandir}/man?/*
|
||||
%license LICENSE
|
||||
%doc AUTHORS ChangeLog NEWS README.md THANKS TODO
|
||||
%{_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
|
||||
|
Loading…
Reference in New Issue
Block a user