libinstpatch/libinstpatch.spec
Tomáš Chvátal ab6c91332b Accepting request 741224 from home:derselbst:branches:multimedia:libs
- Update to 1.1.0:
  * SOVERSION was bumped
  * libinstpatch's license was changed from GPL-2.0 to LGPL-2.1
  * the AutoTools build system has been replaced by CMake
  * preliminary support for Spectralis (SLI) soundbanks was added
  * libsndfile is now required
  * an incorrect mutex unlock caused a deadlock when entering
    ipatch_base_get_file() with different threads
  * incorrect copying DLS2 objects was fixed
  * build issues on Windows were fixed
  * various other minor bugs were addressed
- Update libinstpatch-cmake-fixes.patch to the current code base
- Remove the following patches, because they were fixed upstream:
  * 0001-Fix-improper-GValue-type-assignments-in-ipatch_dls2_.patch
  * 0002-fix-incorrect-usage-of-g_value_set_flags.patch
  * 0003-missing-mutex-unlock.patch
  * 0004-more-locking-issues.patch

OBS-URL: https://build.opensuse.org/request/show/741224
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libinstpatch?expand=0&rev=9
2019-10-22 07:01:20 +00:00

89 lines
2.6 KiB
RPMSpec

#
# spec file for package libinstpatch
#
# Copyright (c) 2017 SUSE LINUX 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: libinstpatch
Version: 1.1.0
Release: 0
Summary: MIDI instrument patch library
License: LGPL-2.1
Group: Development/Libraries/C and C++
Url: http://www.swamiproject.org/
# Fetch source via
# sh libinstpatch-snapshot.sh latest
Source0: libinstpatch-%{version}.tar.gz
# .pc file fixes. Patch sent upstream via their mailing list
Patch0: libinstpatch-cmake-fixes.patch
BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(sndfile)
%description
libInstPatch is a library for processing digital sample based MIDI
instrument "patch" files.
%package -n libinstpatch-1_0-1
Summary: Libinstpatch library
Group: System/Libraries
%description -n libinstpatch-1_0-1
libInstPatch stands for lib-Instrument-Patch and is a library for processing
digital sample based MIDI instrument "patch" files. The types of files
libInstPatch supports are used for creating instrument sounds for wavetable
synthesis. libInstPatch provides an object framework (based on GObject) to load
patch files into, which can then be edited, converted, compressed and saved.
This package contains the library of %{name}.
%package devel
Summary: Development package for %{name}
Group: Development/Languages/C and C++
Requires: libinstpatch-1_0-1 = %{version}
%description devel
This package includes the header files for %{name}.
%prep
%setup -q
%patch0 -p1 -b .pkgconfig -F24
%build
%cmake
make %{?_smp_mflags}
%install
%cmake_install
%post -n libinstpatch-1_0-1 -p /sbin/ldconfig
%postun -n libinstpatch-1_0-1 -p /sbin/ldconfig
%files -n libinstpatch-1_0-1
%defattr(-,root,root)
%doc COPYING
%{_libdir}/%{name}*.so.*
%files devel
%defattr(-,root,root)
%doc AUTHORS ChangeLog README.md
%doc examples/create_sf2.c
%{_includedir}/%{name}*
%{_libdir}/%{name}*.so
%{_libdir}/pkgconfig/%{name}*.pc
%changelog