diff --git a/README.md b/README.md index 9c7eea0..377803e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # unsf +UnSF is a tool to convert SoundFont (sf2) files into GUS patches. + diff --git a/unsf.spec b/unsf.spec new file mode 100644 index 0000000..5dd5169 --- /dev/null +++ b/unsf.spec @@ -0,0 +1,50 @@ +%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 +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 1.0+20201107git.c5e5a8c-1mamba +- update to 1.0+20201107git.c5e5a8c + +* Sat Aug 03 2024 Silvan Calarco 1.0-1mamba +- package created using the webbuild interface