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