unsf/unsf.spec

51 lines
1.4 KiB
RPMSpec

%define gitcommit %(echo %version | cut -d+ -f2 | cut -d. -f2)
Name: unsf
Version: 1.0+20201107git.c5e5a8c
Release: 1mamba
Summary: A tool to convert SoundFont (sf2) files into GUS patches.
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/psi29a/unsf
Source: https://github.com/psi29a/unsf.git/master@%{gitcommit}/unsf-%{version}.tar.bz2
License: Common Public Attribution License 1.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Provides: soundfont-utils
Obsoletes: soundfont-utils <= 0.4-2mamba
Obsoletes: gt <= 0.4-2mamba
%description
UnSF is a tool to convert SoundFont (sf2) files into GUS patches.
%debug_package
%prep
%setup -q
%build
%make -f Makefile.linux
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 unsf %{buildroot}%{_bindir}/unsf
install -D -m0755 unsf.1 %{buildroot}%{_mandir}/man1/unsf.1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/unsf
%{_mandir}/man1/unsf.1*
%doc LICENSE
%changelog
* Sat Aug 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0+20201107git.c5e5a8c-1mamba
- update to 1.0+20201107git.c5e5a8c
* Sat Aug 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- package created using the webbuild interface