source: projects/specs/trunk/d/ddrescue/ddrescue-vl.spec @ 521

Revision 521, 3.1 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1# $Id: ddrescue.spec 6087 2008-01-08 02:36:03Z dag $
2# Authority: dag
3# Upstream: Antonio Diaz Diaz <ant_diaz$teleline,es>
4
5Summary: Data recovery tool
6Summary(ja): 不良ディスクからデータを回収するデータリカバリツール
7Name: ddrescue
8### Epoch to override Fedora Extras stupid decision to NOT ADHERE TO THEIR OWN NAMING CONVENTION
9#Epoch: 1
10Version: 1.11
11Release: 1%{?_dist_release}
12License: GPLv3
13Group: Applications/System
14URL: http://www.gnu.org/software/ddrescue/ddrescue.html
15
16#Packager: Dag Wieers <dag@wieers.com>
17#Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
18
19Source: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%{version}.tar.gz
20#Source: http://savannah.gnu.org/download/ddrescue/ddrescue-%{version}.tar.gz
21Patch0: ddrescue-1.7-unistd.patch
22BuildRoot: %{_tmppath}/%{name}-%{version}-root
23
24BuildRequires: gcc-c++
25
26%description
27GNU ddrescue is a data recovery tool. It copies data from one file or block
28device (hard disc, cdrom, etc) to another, trying hard to rescue data in
29case of read errors.
30
31Ddrescue does not truncate the output file if not asked to. So, every time
32you run it on the same output file, it tries to fill in the gaps.
33
34The basic operation of ddrescue is fully automatic. That is, you don't have
35to wait for an error, stop the program, read the log, run it in reverse mode,
36etc.
37
38%prep
39%setup
40%patch0 -p0
41
42%build
43%configure
44%{__make} %{?_smp_mflags}
45
46%install
47%{__rm} -rf %{buildroot}
48%{__make} install DESTDIR="%{buildroot}"
49%{__install} -Dp -m0644 doc/ddrescue.1 %{buildroot}%{_mandir}/man1/ddrescue.1
50
51rm -rf %{buildroot}%{_datadir}/info/dir
52
53%post
54if [ -e %{_infodir}/ddrescue.info.gz ]; then
55    /sbin/install-info %{_infodir}/ddrescue.info.gz %{_infodir}/dir
56fi
57
58%preun
59if [ -e %{_infodir}/ddrescue.info.gz ]; then
60    /sbin/install-info --delete %{_infodir}/ddrescue.info.gz %{_infodir}/dir
61fi
62
63%clean
64%{__rm} -rf %{buildroot}
65
66%files
67%defattr(-, root, root, 0755)
68%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
69%doc %{_infodir}/ddrescue.info.*
70%doc %{_mandir}/man1/ddrescue.1*
71%{_bindir}/ddrescue
72#%{_datadir}/info/dir
73
74%changelog
75* Thu Jul 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.11-1vl5
76- Updated to release 1.11
77
78* Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10-1vl5
79- Updated to release 1.10
80- added summary(ja)
81- changed %Source
82
83* Sun Feb 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-1vl5
84- initial build for VineSeed
85- Updated to release 1.9
86
87* Tue Feb 26 2008 Dag Wieers <dag@wieers.com> - 1.8-1 - 6087+/dag
88- Updated to release 1.8.
89
90* Mon Jan 07 2008 Dag Wieers <dag@wieers.com> - 1.7-1
91- Updated to release 1.7.
92
93* Fri Nov 16 2007 Dag Wieers <dag@wieers.com> - 1.6-1
94- Updated to release 1.6.
95
96* Mon Jul 02 2007 Dag Wieers <dag@wieers.com> - 1.5-1
97- Updated to release 1.5.
98
99* Wed Jun 20 2007 Dag Wieers <dag@wieers.com> - 1.4-1
100- Updated to release 1.4.
101
102* Tue Dec 19 2006 Dag Wieers <dag@wieers.com> - 1.3-1
103- Updated to release 1.3.
104
105* Thu Dec 08 2005 Dag Wieers <dag@wieers.com> - 1.0-2
106- Added epoch to override Fedora Extras ddrescue (which really is dd_rescue).
107
108* Fri Jul 15 2005 Dag Wieers <dag@wieers.com> - 1.0-1
109- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.