tar-vl.spec 11 KB

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