Summary: StormLib MPQ archiving utility Name: smpq Version: 1.6 Release: 2%{?dist} License: GPL-3.0-or-later Group: Applications Source0: https://launchpad.net/smpq/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz URL: https://launchpad.net/smpq BuildRequires: gcc-c++ BuildRequires: StormLib-devel %description SMPQ is StormLib MPQ archiving utility. This utility is designed for full manipulating with Blizzard MPQ archives. It supports extracting, appending, renaming and deleting files in MPQ archives. It also can create MPQ archive. SMPQ can access to different type of MPQ archives and version. It support encrypted, compressed, partial and patched MPQ archives with version 1-4. %prep %setup -q %build g++ %{build_cxxflags} \ -DVERSION='"%{version}"' \ append.c \ extract.c \ info.c \ listfiles.c \ main.c \ print.c \ remove.c \ rename.c \ %{build_ldflags} -o smpq -lstorm %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} cp -p smpq $RPM_BUILD_ROOT%{_bindir} %files %defattr(644,root,root,755) %doc AUTHORS CHANGELOG README %attr(755,root,root) %{_bindir}/smpq %changelog * Fri Sep 15 2023 Brandon Nielsen 1.6-2 - Use SPDX license identifier * Fri Jan 14 2022 Brandon Nielsen 1.6-1 - Initial specfile from https://github.com/pld-linux/smpq/blob/master/smpq.spec