[packages/libinstpatch] - new

qboosh qboosh at pld-linux.org
Mon Mar 16 21:28:44 CET 2020


commit 998eeeb96defb8163ccd9951ca61a01ef8121e64
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 16 21:29:41 2020 +0100

    - new

 libinstpatch.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
---
diff --git a/libinstpatch.spec b/libinstpatch.spec
new file mode 100644
index 0000000..7b69c2e
--- /dev/null
+++ b/libinstpatch.spec
@@ -0,0 +1,85 @@
+Summary:	Library for processing digital sample based MIDI instrument "patch" files
+Summary(pl.UTF-8):	Biblioteka do przetwarzania plików "wstawek" instrumentów MIDI opartych na próbkach cyfrowych
+Name:		libinstpatch
+Version:	1.1.3
+Release:	1
+License:	LGPL v2.1
+Group:		Libraries
+#Source0Download: https://github.com/swami/libinstpatch/releases
+Source0:	https://github.com/swami/libinstpatch/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	4b818fba72d792f86b1a3599622f0d42
+#Patch0:	%{name}-what.patch
+URL:		http://www.swamiproject.org/
+BuildRequires:	cmake >= 2.6.3
+BuildRequires:	glib2-devel >= 1:2.14
+#BuildRequires:	gobject-introspection-devel
+BuildRequires:	gtk-doc
+BuildRequires:	libsndfile-devel >= 1.0.0
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl.UTF-8
+libInstPatch to skrót od lib-Instrument-Patch i jest to biblioteka do
+przetwarzania opartych na próbkach cyfrowych plików wstawek ("patchy")
+instrumentów MIDI. Typy plików, jakie obsługuje libInstPatch, służą do
+tworzenia dźwięków instrumentów do syntezy wavetable. libInstPatch
+zapewnia szkielet obiektowy (oparty na GObject) do ładowania plików
+próbek, które następnie mogą być modyfikowane, konwertowane,
+kompresowane i zapisywane.
+
+%package devel
+Summary:	Header files for libinstpatch library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libinstpatch
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libinstpatch library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libinstpatch.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake .. \
+	-DGTKDOC_ENABLED=ON
+#	-DINTROSPECTION_ENABLED=ON broken cmake support in 1.1.3
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_gtkdocdir}/
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README.md TODO.tasks
+%attr(755,root,root) %{_libdir}/libinstpatch-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libinstpatch-1.0.so.2
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libinstpatch-1.0.so
+%{_includedir}/libinstpatch-2
+%{_pkgconfigdir}/libinstpatch-1.0.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libinstpatch.git/commitdiff/998eeeb96defb8163ccd9951ca61a01ef8121e64



More information about the pld-cvs-commit mailing list