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

Revision 10758, 4.2 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

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.21
11Release: 2%{?_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.lz
20#Source: http://savannah.gnu.org/download/ddrescue/ddrescue-%{version}.tar.gz
21#Patch0: ddrescue-1.7-unistd.patch
22BuildRoot: %{_tmppath}/%{name}-%{version}-root
23
24BuildRequires: gcc-c++, lzip
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
39%prep
40%setup
41#%patch0 -p0
42
43%build
44%configure
45%{__make} %{?_smp_mflags}
46
47%install
48%{__rm} -rf %{buildroot}
49%{__make} install DESTDIR="%{buildroot}"
50%{__install} -Dp -m0644 doc/ddrescue.1 %{buildroot}%{_mandir}/man1/ddrescue.1
51
52rm -rf %{buildroot}%{_datadir}/info/dir
53
54%check
55make check
56
57%post
58if [ -e %{_infodir}/ddrescue.info.gz ]; then
59    /sbin/install-info %{_infodir}/ddrescue.info.gz %{_infodir}/dir
60fi
61
62%preun
63if [ -e %{_infodir}/ddrescue.info.gz ]; then
64    /sbin/install-info --delete %{_infodir}/ddrescue.info.gz %{_infodir}/dir
65fi
66
67%clean
68%{__rm} -rf %{buildroot}
69
70%files
71%defattr(-, root, root, 0755)
72%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
73%doc %{_infodir}/ddrescue.info.*
74%doc %{_mandir}/man1/ddrescue*
75%{_bindir}/ddrescue*
76#%{_datadir}/info/dir
77
78%changelog
79* Thu Sep 01 2016 Toshiaki Ara <ara_t@384.jp> - 1.21-2
80- rebuild with gcc-5.4.0
81
82* Sat Jul 09 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.21-1
83- new upstream release
84
85* Sat Nov 14 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.20-1
86- new upstream release
87- deleted Patch0
88
89* Wed Feb 11 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.19-1
90- new upstream release
91- changed source archive xz to lz
92- added BuildRequires: lzip
93
94* Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.17-2
95- rebuilt with new toolchain
96
97* Sat Jul 20 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.17-1
98- new upstream release
99- changed source archive gz to xz
100- run make check
101
102* Tue Jun 19 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.16-1
103- new upstream release
104
105* Tue Feb 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.15-1
106- new upstream release
107
108* Fri Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.14-1
109- Updated to release 1.14
110
111* Tue Aug 31 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.13-1
112- Updated to release 1.13
113
114* Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12-1
115- Updated to release 1.12
116
117* Thu Jul 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.11-1vl5
118- Updated to release 1.11
119
120* Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10-1vl5
121- Updated to release 1.10
122- added summary(ja)
123- changed %Source
124
125* Sun Feb 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-1vl5
126- initial build for VineSeed
127- Updated to release 1.9
128
129* Tue Feb 26 2008 Dag Wieers <dag@wieers.com> - 1.8-1 - 6087+/dag
130- Updated to release 1.8.
131
132* Mon Jan 07 2008 Dag Wieers <dag@wieers.com> - 1.7-1
133- Updated to release 1.7.
134
135* Fri Nov 16 2007 Dag Wieers <dag@wieers.com> - 1.6-1
136- Updated to release 1.6.
137
138* Mon Jul 02 2007 Dag Wieers <dag@wieers.com> - 1.5-1
139- Updated to release 1.5.
140
141* Wed Jun 20 2007 Dag Wieers <dag@wieers.com> - 1.4-1
142- Updated to release 1.4.
143
144* Tue Dec 19 2006 Dag Wieers <dag@wieers.com> - 1.3-1
145- Updated to release 1.3.
146
147* Thu Dec 08 2005 Dag Wieers <dag@wieers.com> - 1.0-2
148- Added epoch to override Fedora Extras ddrescue (which really is dd_rescue).
149
150* Fri Jul 15 2005 Dag Wieers <dag@wieers.com> - 1.0-1
151- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.