tar-vl.spec 10 KB

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