mktemp-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Summary: A small utility for safely making /tmp files.
  2. Summary(ja): 安全に /tmp 以下にファイルを作成するユーティリティ
  3. Name: mktemp
  4. Version: 1.5
  5. Release: 11vl3
  6. License: BSD
  7. Group: System Environment/Base
  8. URL: http://www.mktemp.org/
  9. Source: ftp://ftp.mktemp.org/pub/mktemp/mktemp-%{version}.tar.gz
  10. Patch: mktemp-1.5-Makefile.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. %description
  13. The mktemp utility takes a given file name template and overwrites a
  14. portion of it to create a unique file name. This allows shell scripts
  15. and other programs to safely create and use /tmp files.
  16. Install the mktemp package if you need to use shell scripts or other
  17. programs which will create and use unique /tmp files.
  18. %description -l ja
  19. mktemp ユーティリティは,引数で与えたファイル名テンプレートを元に
  20. 一意なファイル名を生成します.これによりシェルスクリプト等のプログラムが
  21. /tmp 以下に安全にファイルを作成することが出来ます.
  22. シェルスクリプト等のプログラムから /tmp 以下に安全にファイルを
  23. 作成したい場合は mktemp パッケージをインストールして下さい.
  24. %prep
  25. %setup -q
  26. %patch0 -p1 -b .Makefile
  27. %build
  28. %configure
  29. %__make
  30. %install
  31. %__rm -rf %{buildroot}
  32. %makeinstall bindir=%{buildroot}%{_sysbindir}
  33. %clean
  34. %__rm -rf %{buildroot}
  35. %files
  36. %defattr(-,root,root)
  37. %doc LICENSE README RELEASE_NOTES
  38. %{_sysbindir}/mktemp
  39. %{_mandir}/man1/mktemp.*
  40. %changelog
  41. * Tue Jan 31 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.5-11vl3
  42. - use mktemp.org's mktemp-1.5
  43. - update URL
  44. - add Makefile.patch (patch0) to fix permission mode
  45. - drop obsolete patches
  46. - add documents
  47. * Wed Dec 12 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.5-11vl2
  48. - rebuild with new toolchains
  49. - s/Copyright/License/
  50. * Wed Dec 12 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org>
  51. - synced up with 1.5-11 from Rawhide, but exactly the same as 1.5-9vl1
  52. (see the changelog below, as Thank Ngo mentioned about sagami-san's patch)
  53. * Tue May 8 2001 Than Ngo <than@redhat.com>
  54. - fix typo in mkdtemp, thanks to sagami@mbc.nifty.com (bug #39713)
  55. * Mon May 7 2001 Than Ngo <than@redhat.com>
  56. - fix manpage (bug #39392)
  57. - cleanup specfile
  58. * Mon Apr 2 2001 Nalin Dahyabhai <nalin@redhat.com>
  59. - rework locally-supplied mkdtemp() to handle EEXIST better
  60. * Mon Feb 5 2001 Preston Brown <pbrown@redhat.com>
  61. - -d option is now supported, remove manpage patch (#25969)
  62. * Thu Dec 14 2000 Helge Deller <deller@gmx.de>
  63. - rewrite mkdtemp() from glibc2.2 for usage under glibc2.1
  64. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  65. - automatic rebuild
  66. * Sat Jul 1 2000 Nalin Dahyabhai <nalin@redhat.com>
  67. - re-enable the -d option, because glibc provides a mkdtemp() function now
  68. (except for ia64)
  69. * Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
  70. - FHS packaging
  71. - fixed non root build
  72. * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
  73. - handle compressed manpages
  74. * Mon Mar 22 1999 Erik Troan <ewt@redhat.com>
  75. - sync'd man page with openbsd latest, and updated it for some Linux-specific
  76. changes
  77. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  78. - auto rebuild in the new build environment (release 5)
  79. * Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
  80. - build for 6.0
  81. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  82. - translations modified for de, fr, tr
  83. * Wed Oct 01 1997 Erik Troan <ewt@redhat.com>
  84. - moved to /bin