source: spec/trunk/SPECS/par2cmdline.spec@ 1567

Last change on this file since 1567 was 1452, checked in by tellie, 7 years ago

spec: par2cmdline: Release version 0.8.0-1.

File size: 1.3 KB
Line 
1Name: par2cmdline
2Version: 0.8.0
3Release: 1%{?dist}
4Summary: PAR 2.0 compatible file verification and repair tool
5
6License: GPLv2+
7URL: https://github.com/Parchive/par2cmdline/
8#Source0: https://github.com/Parchive/par2cmdline/releases/download/v%{version}/par2cmdline-%{version}.tar.bz2
9%scm_source git file://e:/gcc/par2cmdline-0.8.0 par2cmdline-0.8.0
10
11#BuildRequires: gcc-c++
12BuildRequires: gcc
13
14
15%description
16par2cmdline is a program for creating and using PAR2 files to detect damage
17in data files and repair them if necessary. PAR2 files are usually
18published in binary newsgroups on Usenet; they apply the data-recovery
19capability concepts of RAID-like systems to the posting and recovery of
20multi-part archives.
21
22
23%prep
24#%autosetup
25# Remove executable permission from text files
26chmod -x ChangeLog configure.ac INSTALL Makefile.am NEWS stamp-h.in
27%scm_setup
28
29autoreconf -ivf
30
31%build
32export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
33export LIBS="-lcx"
34
35%configure
36%{__make} %{_smp_mflags}
37
38%install
39%make_install
40
41
42%check
43#make check-TESTS
44
45
46%files
47%license COPYING
48%doc AUTHORS ChangeLog README
49%{_bindir}/par2.exe
50%{_bindir}/par2create.exe
51%{_bindir}/par2repair.exe
52%{_bindir}/par2verify.exe
53%{_mandir}/man1/par2.1*
54
55
56%changelog
57* Mon Jul 30 2018 Elbert Pol <elbert.pol@gmail.com> - 0.8.0-1
58- First OS2 or ArcaNoa release
Note: See TracBrowser for help on using the repository browser.