109 lines
2.8 KiB
RPMSpec
109 lines
2.8 KiB
RPMSpec
Name: libgig
|
|
Version: 4.5.0
|
|
Release: 1mamba
|
|
Summary: A C++ library for loading, modifying existing and creating new GigaStudio/Gigasampler (.gig) files
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://linuxsampler.org/libgig/
|
|
Source: https://download.linuxsampler.org/packages/libgig-%{version}.tar.bz2
|
|
Patch0: libgig-4.5.0-libdir.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libsndfile-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libuuid-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
|
|
%description
|
|
libgig is a C++ library for loading, modifying existing and creating new GigaStudio/Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and AKAI sampler data.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package tools
|
|
Group: Applications/Multimedia
|
|
Summary: Utility applications for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tools
|
|
This package contains utility applications for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch 0 -p1 -b .libdir
|
|
|
|
%build
|
|
%configure
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libakai.so.*
|
|
%{_libdir}/libgig.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libgig
|
|
%{_includedir}/libgig/*
|
|
%{_libdir}/libakai.a
|
|
%{_libdir}/libakai.so
|
|
%{_libdir}/libgig.a
|
|
%{_libdir}/libgig.so
|
|
%{_libdir}/pkgconfig/akai.pc
|
|
%{_libdir}/pkgconfig/gig.pc
|
|
%doc ChangeLog NEWS README TODO
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/akaidump
|
|
%{_bindir}/akaiextract
|
|
%{_bindir}/dlsdump
|
|
%{_bindir}/gig2mono
|
|
%{_bindir}/gig2stereo
|
|
%{_bindir}/gigdump
|
|
%{_bindir}/gigextract
|
|
%{_bindir}/gigmerge
|
|
%{_bindir}/korg2gig
|
|
%{_bindir}/korgdump
|
|
%{_bindir}/rifftree
|
|
%{_bindir}/sf2dump
|
|
%{_bindir}/sf2extract
|
|
%{_bindir}/wav2gig
|
|
%{_mandir}/man1/akaidump.1*
|
|
%{_mandir}/man1/akaiextract.1*
|
|
%{_mandir}/man1/dlsdump.1*
|
|
%{_mandir}/man1/gig2mono.1*
|
|
%{_mandir}/man1/gig2stereo.1*
|
|
%{_mandir}/man1/gigdump.1*
|
|
%{_mandir}/man1/gigextract.1*
|
|
%{_mandir}/man1/gigmerge.1*
|
|
%{_mandir}/man1/korg2gig.1*
|
|
%{_mandir}/man1/korgdump.1*
|
|
%{_mandir}/man1/rifftree.1*
|
|
%{_mandir}/man1/sf2dump.1*
|
|
%{_mandir}/man1/sf2extract.1*
|
|
%{_mandir}/man1/wav2gig.1*
|
|
|
|
%changelog
|
|
* Sat Aug 02 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.0-1mamba
|
|
- package created using the webbuild interface
|