]> git.pld-linux.org Git - packages/dvdisaster.git/blob - dvdisaster.spec
- updated to 0.64
[packages/dvdisaster.git] / dvdisaster.spec
1 # TODO:
2 # - make desktop file
3 #
4 Summary:        dvdisaster - Additional error correction for CD and DVD media
5 Summary(pl):    dvdisaster - dodatkowa korekcja b³êdów dla no¶ników CD i DVD
6 Name:           dvdisaster
7 Version:        0.64
8 Release:        1
9 License:        GPL v2
10 Group:          X11/Applications
11 Source0:        http://download.berlios.de/dvdisaster/%{name}-%{version}.tar.bz
12 # Source0-md5:  cc119427304d5181932b6bf5c0d2e7b5
13 Patch0:         %{name}-DESTDIR.patch
14 Patch1:         %{name}-configure.patch
15 URL:            http://www.dvdisaster.com/
16 BuildRequires:  gettext-devel
17 BuildRequires:  glib2-devel
18 BuildRequires:  gtk+2-devel
19 BuildRequires:  pkgconfig
20 BuildRequires:  sed >= 4.0
21 BuildRequires:  which
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 dvdisaster provides a margin of safety against data loss on CD and DVD
26 media caused by aging or scratches.
27
28  - dvdisaster creates error correction codes to compensate read errors
29    which are not correctable in the CD/DVD drive.
30
31  - dvdisaster tries to read as much data as possible from defective
32    media. Afterwards unreadable sectors are recovered using the
33    previously created error correction code. The maximum error correction
34    capacity is user-selectable.
35
36 If you create the error correction code file in time and keep it at a
37 safe place, you have a good chance of recovering the medium contents
38 from typical read errors and to transfer your complete data onto a new
39 medium.
40
41 %description -l pl
42 dvdisaster zapewnia margines bezpieczeñstwa przed utrat± danych na
43 no¶nikach CD i DVD spowodowan± wiekem lub rysami.
44
45 - dvdisaster tworzy kody korekcji b³êdów równowa¿±ce b³êdy odczytu
46   niemo¿liwe do poprawienia przez napêd CD/DVD.
47
48 - dvdisaster próbuje odczytaæ tyle danych ile to tylko mo¿liwe z
49   uszkodzonego no¶nika. Nastêpnie odzyskuje nieczytelne sektory przy
50   u¿yciu poprzednio utworzonego kodu korekcji b³êdów. Maksymalna
51   mo¿liwo¶æ korekcji b³êdów jest wybierana przez u¿ytkownika.
52
53 Je¶li w porê utworzymy plik z kodem korekcji b³êdów i bêdziemy trzymaæ
54 go w bezpiecznym miejscu, mamy du¿e szanse odzyskania zawarto¶ci
55 no¶nika przy typowych b³êdach odczytu i przeniesienia ca³ych danych na
56 nowy no¶nik.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61 %patch1 -p1
62
63 %build
64 %{__sed} -i 's,gawk,awk,g' locale/create-makefile
65 %configure2_13 \
66         --localedir=%{_datadir}/locale
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 %find_lang %{name}
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %doc CHANGELOG CREDITS.en DRIVE-NOTES README TODO TRANSLATION.HOWTO
83 %doc documentation/en documentation/images
84 %lang(de) %doc CREDITS.de documentation/de
85 %attr(755,root,root) %{_bindir}/*
86 %{_mandir}/man1/*
87 %lang(de) %{_mandir}/de/man1/*
88 %lang(it) %{_mandir}/it/man1/*
This page took 0.063162 seconds and 3 git commands to generate.