pdisk-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. Summary: A partitioning tool for Apple Macintosh-style partitioned disks
  2. Summary(ja): Apple Macintosh 用ディスクのパーティションツール
  3. Name: pdisk
  4. Version: 0.8
  5. Release: 4%{?_dist_release}
  6. License: Apple Free Copyright
  7. Group: Applications/Administration
  8. Source: pdisk.20000516.src.tar
  9. Patch10: pdisk.20000516.jp.patch
  10. Patch11: pdisk.20000516.getopt.patch
  11. Patch12: pdisk.20000516.bootstrap.patch
  12. Patch13: pdisk.20000516.smallsize.patch
  13. Patch14: pdisk.20000516.llseek.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: libjconv
  16. Requires: libjconv
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  20. %description
  21. pdisk enables you to view and modify Apple Macintosh-style partition maps.
  22. Normally, it is used to create MkLinux (or LinuxPPC) partitions on your
  23. disk, however, it can create partitions of any type, including HFS (except
  24. it would be up to MacOS or some other tool to actually create the HFS
  25. filesystem in that HFS partition). pdisk won't put MacOS disk drivers onto
  26. your disk.
  27. %description -l ja
  28. pdisk を使うことで, Apple Macintosh 形式のパーティションマップを
  29. 調べたり編集したりすることができます.
  30. 一般的には MkLinux (と LinuxPPC) 用パーティションを作成するのに使われますが,
  31. HFS など他のパーティションも作成可能です.
  32. ただし HFS ファイルシステムは MacOS 上や他のツールをつかわないと
  33. 作成できません.
  34. pdisk は MacOS ディスクドライバはインストールしません.
  35. %prep
  36. rm -rf $RPM_BUILD_ROOT
  37. mkdir $RPM_BUILD_ROOT
  38. %setup -q -n pdisk
  39. %patch10 -p0
  40. %patch11 -p1
  41. %patch12 -p1
  42. %patch13 -p1
  43. %patch14 -p1
  44. %build
  45. make
  46. %install
  47. rm -rf ${RPM_BUILD_ROOT}
  48. mkdir -p ${RPM_BUILD_ROOT}%{_syssbindir}
  49. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
  50. install -m700 pdisk ${RPM_BUILD_ROOT}%{_syssbindir}/pdisk
  51. install -m444 pdisk.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/pdisk.8
  52. %clean
  53. rm -rf ${RPM_BUILD_ROOT}
  54. %files
  55. %defattr(-,root,root)
  56. %doc README pdisk.html
  57. %{_syssbindir}/pdisk
  58. %{_mandir}/man8/pdisk.8*
  59. %changelog
  60. * Sun Mar 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.8-4
  61. - fixed Group to Applications/Administration
  62. * Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.8-3
  63. - changed Group to Application/Administration
  64. * Sat Oct 04 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.8-2
  65. - spec in UTF-8
  66. * Thu Apr 17 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.8-1
  67. - rebuilt
  68. * Fri Sep 01 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.8-0vl5
  69. - Requires: libjconv
  70. * Fri Sep 01 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.8-0vl4
  71. - rebuild
  72. * Fri Aug 26 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.8-0vl3
  73. - added Patch12 to enable 'b' option (create 800K bootstrap partition)
  74. this was borrowed from Debian's mac-fdisk
  75. - added Patch13 to print HFS/Bootstrap/UNIX_SVR2 partition
  76. which is smaller than 1MG
  77. - added Patch14 to use lseek64 in place of llseek (to avoid gcc warnings)
  78. * Fri Jun 15 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  79. - 0.8-0vl2
  80. - added a patch to enable 'f' option
  81. * Fri Jun 15 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  82. - 0.8-0vl1
  83. - updated to 0.8, based on 0.8-0hl1 from HOLON Linux
  84. * Thu Feb 27 2001 Kazuhide Takahashi <kazu@ppc.linux.or.jp>
  85. - support kanji code conversion at dump disk info
  86. * Tue Feb 20 2001 Kazuhide Takahashi <kazu@ppc.linux.or.jp>
  87. - Just recompile for HOLON Linux 2.0.1
  88. * Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  89. - 0.7-2vl3
  90. - use better macros
  91. * Mon Sep 04 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  92. - 0.7-2vl2
  93. - modified %files section to handle compressed man page(s)
  94. - added %defattr
  95. * Sun Mar 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  96. - 0.7-2vl1
  97. - based on 0.7-2 from LinuxPPC 1999 Q3
  98. - added Japanese summary/description
  99. * Fri Mar 06 1998 Gilbert Coville <coville@apple.com>
  100. - Initial version - some bits ripped off from Mark Hatle's old pfdisk spec file.