Name: par2cmdline Version: 0.8.1 Release: 1%{?dist} Summary: PAR 2.0 compatible file verification and repair tool License: GPLv2+ URL: https://github.com/Parchive/par2cmdline/ #Source0: https://github.com/Parchive/par2cmdline/releases/download/v%{version}/par2cmdline-%{version}.tar.bz2 %scm_source github https://github.com/Parchive/par2cmdline master #BuildRequires: gcc-c++ BuildRequires: gcc %description par2cmdline is a program for creating and using PAR2 files to detect damage in data files and repair them if necessary. PAR2 files are usually published in binary newsgroups on Usenet; they apply the data-recovery capability concepts of RAID-like systems to the posting and recovery of multi-part archives. %prep #%autosetup # Remove executable permission from text files chmod -x ChangeLog configure.ac INSTALL Makefile.am NEWS stamp-h.in %scm_setup autoreconf -ivf %build export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" export LIBS="-lcx" %configure %{__make} %{_smp_mflags} %install %make_install %check #make check-TESTS %files %license COPYING %doc AUTHORS ChangeLog README %{_bindir}/par2.exe %{_bindir}/par2create.exe %{_bindir}/par2repair.exe %{_bindir}/par2verify.exe %{_mandir}/man1/par2.1* %changelog * Mon Jul 30 2018 Elbert Pol - 0.8.0-1 - First OS2 or ArcaNoa release