]> git.pld-linux.org Git - packages/par2cmdline.git/blob - par2cmdline.spec
- mark uint64 fields as packed to avoid natual struct alignment
[packages/par2cmdline.git] / par2cmdline.spec
1 Summary:        PAR 2.0 compatible file verification and repair tool
2 Summary(pl):    Narzêdzie do weryfikacji i naprawiania plików zgodne z PAR 2.0
3 Name:           par2cmdline
4 Version:        0.4
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/Archiving
8 Source0:        http://dl.sourceforge.net/parchive/%{name}-%{version}.tar.gz
9 # Source0-md5:  1551b63e57e3c232254dc62073b723a9
10 Patch0:         %{name}-fix-crash-in-quiet-mode.patch
11 Patch1:         %{name}-gcc41.patch
12 URL:            http://sourceforge.net/projects/parchive/
13 BuildRequires:  automake
14 BuildRequires:  libstdc++-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 par2cmdline is a program for creating and using PAR2 files to detect
19 damage in data files and repair them if necessary. It can be used with
20 any kind of file.
21
22 %description -l pl
23 par2cmdline to program do tworzenia i u¿ywania plików PAR2 do
24 wykrywania uszkodzeñ w plikach z danymi i naprawiania ich w razie
25 potrzeby. Mo¿e byæ u¿ywany na dowolnych rodzajach plików.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30 %patch1 -p1
31
32 %build
33 cp -f /usr/share/automake/config.* .
34 %configure
35
36 %{__make} all check
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 ln -sf par2 $RPM_BUILD_ROOT%{_bindir}/par
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS ChangeLog README
52 %attr(755,root,root) %{_bindir}/par
53 %attr(755,root,root) %{_bindir}/par2*
This page took 0.085436 seconds and 3 git commands to generate.