Sophie

Sophie

distrib > Fedora > 16 > i386 > media > os-src > by-pkgid > 06dfce6ffd4d959db84e6a346e51ede7 > files > 4

libinstpatch-1.0.0-3.20110806svn386.fc16.src.rpm

Name:		libinstpatch
Summary:	MIDI instrument patch library
Version:	1.0.0
Release:	3.20110806svn386%{?dist}
URL:		http://www.swamiproject.org/
License:	LGPLv2+
# Fetch source via
# sh libinstpatch-snapshot.sh 386
Source0:	libinstpatch-%{version}-svn386.tar.bz2
# script to download sources and make tarball from svn
Source1:	libinstpatch-snapshot.sh
# .pc file fixes. Patch sent upstream via their mailing list
Patch0:		libinstpatch-cmake-fixes.patch

BuildRequires:	cmake
BuildRequires:	glib2-devel
BuildRequires:	libsndfile-devel
 

%description
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.


%package devel
Summary:	Development package for %{name}
Requires:	%{name}%{?_isa} = %{version}-%{release}
Requires:	glib2-devel
Requires:	libsndfile-devel

%description devel
This package includes the development libraries and header files for
%{name}.


%prep
%setup -q
%patch0 -p1 -b .pkgconfig


%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} ..
popd

make %{?_smp_mflags} -C %{_target_platform}


%install
make install DESTDIR=%{buildroot} -C %{_target_platform}


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/%{name}*.so.*


%files devel
%doc examples/create_sf2.c
%{_includedir}/%{name}*
%{_libdir}/%{name}*.so
%{_libdir}/pkgconfig/%{name}*.pc


%changelog
* Sun Aug 07 2011 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.0-3.20110806svn386
- Include the COPYING file. oops.
- Fix main package Requires of the devel package

* Sat Aug 06 2011 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.0-2.20110806svn386
- Update to svn after upstream accepted our build patches, switched to cmake and fixed the licensing
- Prepare for submission for review

* Wed Oct 27 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.0-1
- Update to 1.0.0

* Thu Mar 26 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.0-0.1.297svn
- Initial Fedora build