1 | Summary: A GNU file archiving program. |
---|
2 | Summary(ja): GNU ファイルアーカイブプログラム |
---|
3 | Name: tar |
---|
4 | Version: 1.32 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv3+ |
---|
7 | Group: Applications/Archiving |
---|
8 | Source: ftp://ftp.gnu.org/pub/gnu/tar/tar-%{version}.tar.xz |
---|
9 | |
---|
10 | # Note that all patches are documented in patch files (git format-patch format) |
---|
11 | Patch1: tar-1.28-loneZeroWarning.patch |
---|
12 | Patch2: tar-1.28-vfatTruncate.patch |
---|
13 | Patch3: tar-1.29-wildcards.patch |
---|
14 | Patch4: tar-1.28-atime-rofs.patch |
---|
15 | Patch9: tar-1.28-document-exclude-mistakes.patch |
---|
16 | |
---|
17 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | BuildRequires: autoconf texinfo gettext |
---|
19 | BuildRequires: libacl-devel |
---|
20 | |
---|
21 | Requires(post,postun): install-info |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | |
---|
26 | %description |
---|
27 | The GNU tar program saves many files together in one archive and can |
---|
28 | restore individual files (or all of the files) from that archive. Tar |
---|
29 | can also be used to add supplemental files to an archive and to update |
---|
30 | or list files in the archive. Tar includes multivolume support, |
---|
31 | automatic archive compression/decompression, the ability to perform |
---|
32 | remote archives, and the ability to perform incremental and full |
---|
33 | backups. |
---|
34 | |
---|
35 | If you want to use tar for remote backups, you also need to install |
---|
36 | the rmt package. |
---|
37 | |
---|
38 | |
---|
39 | %description -l ja |
---|
40 | GNU tar プログラムは多くのファイルを一つのファイルにまとめたりアーカイブ |
---|
41 | から個々のファイルを(または全てのファイルを)リストアしたりします。tar は |
---|
42 | また、追加ファイルを加えたりアーカイブファイル中のリストを更新したりする |
---|
43 | ために使われます。 |
---|
44 | |
---|
45 | tar はマルチボリュームサポート、自動アーカイブ圧縮/伸長、リモートアーカイ |
---|
46 | ブの取り扱い機能、そして差分バックアップとフルバックアップをする機能を含ん |
---|
47 | でいます。 |
---|
48 | |
---|
49 | もしリモートバックアップのために tar をインストールするなら、rmt パッケージ |
---|
50 | もまたインストールする必要があります。 |
---|
51 | |
---|
52 | |
---|
53 | %prep |
---|
54 | %autosetup -p1 |
---|
55 | autoreconf -v |
---|
56 | |
---|
57 | # Keep only entries related to the latest release. |
---|
58 | mv ChangeLog{,~} |
---|
59 | awk 'stop = false; /^2014-07-27/ { stop = true; exit }; { print }' \ |
---|
60 | < ChangeLog~ > ChangeLog |
---|
61 | |
---|
62 | %build |
---|
63 | %configure \ |
---|
64 | --bindir=/bin --libexecdir=/sbin \ |
---|
65 | --with-lzma="xz --format=lzma" \ |
---|
66 | DEFAULT_RMT_DIR=%{_sysconfdir} \ |
---|
67 | RSH=/usr/bin/ssh |
---|
68 | |
---|
69 | make %{?_smp_mflags} |
---|
70 | |
---|
71 | |
---|
72 | %install |
---|
73 | rm -rf %{buildroot} |
---|
74 | |
---|
75 | make DESTDIR=%{buildroot} install |
---|
76 | |
---|
77 | ln -s tar %{buildroot}/bin/gtar |
---|
78 | rm -f %{buildroot}/%{_infodir}/dir |
---|
79 | mkdir -p %{buildroot}%{_mandir}/man1 |
---|
80 | ln -s tar.1.gz %{buildroot}%{_mandir}/man1/gtar.1 |
---|
81 | |
---|
82 | # XXX Nuke unpackaged files. |
---|
83 | rm -f %{buildroot}%{_sysconfdir}/rmt |
---|
84 | rm -f %{buildroot}%{_mandir}/man8/rmt.8* |
---|
85 | |
---|
86 | %find_lang %name |
---|
87 | |
---|
88 | |
---|
89 | %post |
---|
90 | /sbin/install-info %{_infodir}/tar.info.gz %{_infodir}/dir |
---|
91 | |
---|
92 | |
---|
93 | %preun |
---|
94 | if [ $1 = 0 ]; then |
---|
95 | /sbin/install-info --delete %{_infodir}/tar.info.gz %{_infodir}/dir |
---|
96 | fi |
---|
97 | |
---|
98 | |
---|
99 | %clean |
---|
100 | rm -rf ${buildroot} |
---|
101 | |
---|
102 | |
---|
103 | %files -f %{name}.lang |
---|
104 | %defattr(-,root,root) |
---|
105 | %{!?_licensedir:%global license %%doc} |
---|
106 | %license COPYING |
---|
107 | %doc AUTHORS README THANKS NEWS ChangeLog |
---|
108 | /bin/tar |
---|
109 | /bin/gtar |
---|
110 | %{_mandir}/man1/tar.1* |
---|
111 | %{_mandir}/man1/gtar.1* |
---|
112 | %{_infodir}/tar.info* |
---|
113 | |
---|
114 | |
---|
115 | %changelog |
---|
116 | * Thu Mar 28 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.32-1 |
---|
117 | - new upstream release. |
---|
118 | - dropped all patches. |
---|
119 | - imported patches from rawhide. |
---|
120 | |
---|
121 | * Tue Jan 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.28-2 |
---|
122 | - added LIBS="-lacl" to build on x86_64 (ad-hoc fix, maybe) |
---|
123 | - added BR: libacl-devel |
---|
124 | |
---|
125 | * Fri Jan 16 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.28-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.27.1-1 |
---|
129 | - new upstream release |
---|
130 | - remove Patch13 (tar-1.23-oldarchive.patch) |
---|
131 | - add Patch15 (tar-1.26-update-with-change-directory.patch) from Fedora |
---|
132 | |
---|
133 | * Wed May 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.26-1 |
---|
134 | - new upstream release |
---|
135 | - added BuildRequires: gettext |
---|
136 | |
---|
137 | * Mon Nov 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.25-1 |
---|
138 | - new upstream release |
---|
139 | - changed source archive type (gzip to bzip2) |
---|
140 | - modified Patch8 a little |
---|
141 | - added Patch11,12,13 from Fedora development |
---|
142 | - added BuildRequires: autoconf texinfo |
---|
143 | - run autoreconf on %%build |
---|
144 | |
---|
145 | * Tue Mar 16 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 1.22-4 |
---|
146 | - add patch110 for fix CVE-2010-0624 (rmt) from fc11 |
---|
147 | |
---|
148 | * Thu Apr 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.22-3 |
---|
149 | - add missing documents |
---|
150 | |
---|
151 | * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.22-2 |
---|
152 | - spec in utf-8 |
---|
153 | |
---|
154 | * Mon Mar 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.22-1 |
---|
155 | - new upstream release |
---|
156 | - improved tar-1.20-loneZeroWarning.patch (refer to Fedora package) |
---|
157 | |
---|
158 | * Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.20-1 |
---|
159 | - new upstream release |
---|
160 | - remove unneeded patches |
---|
161 | |
---|
162 | * Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.15.1-0vl3 |
---|
163 | - rebuilt for VineSeed |
---|
164 | |
---|
165 | * Thu Nov 30 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.15.1-0vl2.1 |
---|
166 | - add patch120 for fix CVE-2006-6097 |
---|
167 | |
---|
168 | * Sun Sep 17 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.15.1-0vl2 |
---|
169 | - add patch110 for fix CVE-2006-0300 |
---|
170 | |
---|
171 | * Mon May 02 2005 Satoshi MACHINO <machino@vinelinux.org> 1.15.1-0vl1 |
---|
172 | - new upstream release |
---|
173 | - fixed patch6 and patch7 for new upstream release |
---|
174 | - some patches are imported from fedora package. and fixed |
---|
175 | -- stop issuing lone zero block warnings(patch8) |
---|
176 | -- fixed testsuite(patch9) |
---|
177 | -- don't applyed(patch10) |
---|
178 | -- fixed offset had incorrect type(patch11) |
---|
179 | |
---|
180 | * Sun Jun 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.14-0vl1 |
---|
181 | - new upstream release |
---|
182 | - some patches are imported from fedora package. |
---|
183 | |
---|
184 | * Fri May 2 2003 IWAI Masaharu <iwai@alib.jp> 1.3.25-8vl4 |
---|
185 | - rebuild with new toolchain |
---|
186 | - update BuildRequire (autoconf253 -> autoconf) |
---|
187 | |
---|
188 | * Thu Oct 31 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.25-8vl3 |
---|
189 | - add adhoc but useful patch100 for "z" option to accepts bz2 tarball. |
---|
190 | |
---|
191 | * Wed Oct 30 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.25-8vl2 |
---|
192 | - Oops the spec was in Shift-JIS. Fixed. |
---|
193 | |
---|
194 | * Wed Oct 30 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.25-8vl1 |
---|
195 | - based on 1.3.25-8 from Rawhide and built for Vine Linux |
---|
196 | - the previous Vine package was 1.3.18-0vl2. Vine's changelog was as follows: |
---|
197 | |
---|
198 | - Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.13.18-0vl2 |
---|
199 | - rebuild to remove rpmlib dependancy |
---|
200 | |
---|
201 | - Sat May 26 2001 <sagami@vinelinux.org> |
---|
202 | - 1.13.18-0vl1: based on 1.13.18-1 and added Japanese summary and description |
---|
203 | - added barterly patch |
---|
204 | |
---|
205 | * Fri Aug 23 2002 Phil Knirsch <pknirsch@redhat.com> 1.13.25-8 |
---|
206 | - Included security patch from errata release. |
---|
207 | |
---|
208 | * Mon Jul 1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.25-7 |
---|
209 | - Fix argv NULL termination (#64869) |
---|
210 | |
---|
211 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
212 | - automated rebuild |
---|
213 | |
---|
214 | * Tue Apr 9 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.25-4 |
---|
215 | - Fix build with autoconf253 (LIBOBJ change; autoconf252 worked) |
---|
216 | |
---|
217 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
218 | - automated rebuild |
---|
219 | |
---|
220 | * Tue Oct 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.25-2 |
---|
221 | - Don't include hardlinks to sockets in a tar file (#54827) |
---|
222 | |
---|
223 | * Thu Sep 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.25-1 |
---|
224 | - 1.13.25 |
---|
225 | |
---|
226 | * Tue Sep 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.22-1 |
---|
227 | - Update to 1.13.22, adapt patches |
---|
228 | |
---|
229 | * Mon Aug 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.19-6 |
---|
230 | - Fix #52084 |
---|
231 | |
---|
232 | * Thu May 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.19-5 |
---|
233 | - Fix build with current autoconf (stricter checking on AC_DEFINE) |
---|
234 | - Fix segfault when tarring directories without having read permissions |
---|
235 | (#40802) |
---|
236 | |
---|
237 | * Tue Mar 6 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
238 | - Don't depend on librt. |
---|
239 | |
---|
240 | * Fri Feb 23 2001 Trond Eivind Glomsr <teg@redhat.com> |
---|
241 | - langify |
---|
242 | |
---|
243 | * Thu Feb 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
244 | - Fix up the man page (#28915) |
---|
245 | |
---|
246 | * Wed Feb 21 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
247 | - 1.3.19, nukes -I and fixes up -N |
---|
248 | - Add -I back in as an alias to -j with a nice loud warning |
---|
249 | |
---|
250 | * Mon Oct 30 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
251 | - 1.3.18 |
---|
252 | - Update man page to reflect changes |
---|
253 | |
---|
254 | * Thu Oct 5 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
255 | - Fix the "ignore failed read" option (Bug #8330) |
---|
256 | |
---|
257 | * Mon Sep 25 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
258 | - fix hang on tar tvzf - <something.tar.gz, introduced by |
---|
259 | exit code fix (Bug #15448), Patch from Tim Waugh <twaugh@redhat.com> |
---|
260 | |
---|
261 | * Fri Aug 18 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
262 | - really fix exit code (Bug #15448) |
---|
263 | |
---|
264 | * Mon Aug 7 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
265 | - fix exit code (Bug #15448), patch from Tim Waugh <twaugh@redhat.com> |
---|
266 | |
---|
267 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
268 | - automatic rebuild |
---|
269 | |
---|
270 | * Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
271 | - FHSify |
---|
272 | |
---|
273 | * Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> |
---|
274 | - fix for ia64 |
---|
275 | |
---|
276 | * Wed Feb 9 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
277 | - Fix the exclude bug (#9201) |
---|
278 | |
---|
279 | * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> |
---|
280 | - man pages are compressed |
---|
281 | - fix description |
---|
282 | - fix fnmatch build problems |
---|
283 | |
---|
284 | * Sun Jan 9 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
285 | - 1.13.17 |
---|
286 | - remove dotbug patch (fixed in base) |
---|
287 | - update download URL |
---|
288 | |
---|
289 | * Fri Jan 7 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
290 | - Fix a severe bug (tar xf any_package_containing_. would delete the |
---|
291 | current directory) |
---|
292 | |
---|
293 | * Wed Jan 5 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
294 | - 1.3.16 |
---|
295 | - unset LINGUAS before running configure |
---|
296 | |
---|
297 | * Tue Nov 9 1999 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
298 | - 1.13.14 |
---|
299 | - Update man page to know about -I / --bzip |
---|
300 | - Remove dependancy on rmt - tar can be used for anything local |
---|
301 | without it. |
---|
302 | |
---|
303 | * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com> |
---|
304 | - upgrade to 1.13.11. |
---|
305 | |
---|
306 | * Wed Aug 18 1999 Jeff Johnson <jbj@redhat.com> |
---|
307 | - update to 1.13.9. |
---|
308 | |
---|
309 | * Thu Aug 12 1999 Jeff Johnson <jbj@redhat.com> |
---|
310 | - update to 1.13.6. |
---|
311 | - support -y --bzip2 options for bzip2 compression (#2415). |
---|
312 | |
---|
313 | * Fri Jul 23 1999 Jeff Johnson <jbj@redhat.com> |
---|
314 | - update to 1.13.5. |
---|
315 | |
---|
316 | * Tue Jul 13 1999 Bill Nottingham <notting@redhat.com> |
---|
317 | - update to 1.13 |
---|
318 | |
---|
319 | * Sat Jun 26 1999 Jeff Johnson <jbj@redhat.com> |
---|
320 | - update to 1.12.64014. |
---|
321 | - pipe patch corrected for remote tars now merged in. |
---|
322 | |
---|
323 | * Sun Jun 20 1999 Jeff Johnson <jbj@redhat.com> |
---|
324 | - update to tar-1.12.64013. |
---|
325 | - subtract (and reopen #2415) bzip2 support using -y. |
---|
326 | - move gtar to /bin. |
---|
327 | |
---|
328 | * Tue Jun 15 1999 Jeff Johnson <jbj@redhat.com> |
---|
329 | - upgrade to tar-1.12.64011 to |
---|
330 | - add bzip2 support (#2415) |
---|
331 | - fix filename bug (#3479) |
---|
332 | |
---|
333 | * Mon Mar 29 1999 Jeff Johnson <jbj@redhat.com> |
---|
334 | - fix suspended tar with compression over pipe produces error (#390). |
---|
335 | |
---|
336 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
337 | - auto rebuild in the new build environment (release 8) |
---|
338 | |
---|
339 | * Mon Mar 08 1999 Michael Maher <mike@redhat.com> |
---|
340 | - added patch for bad name cache. |
---|
341 | - FIXES BUG 320 |
---|
342 | |
---|
343 | * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> |
---|
344 | - Injected new description and group. |
---|
345 | |
---|
346 | * Fri Dec 18 1998 Preston Brown <pbrown@redhat.com> |
---|
347 | - bumped spec number for initial rh 6.0 build |
---|
348 | |
---|
349 | * Tue Aug 4 1998 Jeff Johnson <jbj@redhat.com> |
---|
350 | - add /usr/bin/gtar symlink (change #421) |
---|
351 | |
---|
352 | * Tue Jul 14 1998 Jeff Johnson <jbj@redhat.com> |
---|
353 | - Fiddle bindir/libexecdir to get RH install correct. |
---|
354 | - Don't include /sbin/rmt -- use the rmt from dump. |
---|
355 | - Turn on nls. |
---|
356 | |
---|
357 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
358 | - translations modified for de, fr, tr |
---|
359 | |
---|
360 | * Thu Oct 16 1997 Donnie Barnes <djb@redhat.com> |
---|
361 | - updated from 1.11.8 to 1.12 |
---|
362 | - various spec file cleanups |
---|
363 | - /sbin/install-info support |
---|
364 | |
---|
365 | * Thu Jun 19 1997 Erik Troan <ewt@redhat.com> |
---|
366 | - built against glibc |
---|
367 | |
---|
368 | * Thu May 29 1997 Michael Fulbright <msf@redhat.com> |
---|
369 | - Fixed to include rmt |
---|