[521] | 1 | Name: dosfstools |
---|
| 2 | Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux. |
---|
| 3 | Summary(ja): LinuxでMS-DOS FAT filesystemsを作成/チェックするユーティリティ |
---|
| 4 | Version: 2.11 |
---|
| 5 | Release: 6%{?_dist_release} |
---|
| 6 | License: GPL |
---|
| 7 | Group: Applications/System |
---|
| 8 | Source: ftp://ibiblio.org/pub/Linux/system/filesystems/dosfs/dosfstools-%{version}.src.tar.gz |
---|
| 9 | Patch1: dosfstools-2.7-argfix.patch |
---|
| 10 | Patch2: dosfstools-2.11-assumeKernel26.patch |
---|
| 11 | Patch4: dosfstools-2.11-fortify.patch |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-root |
---|
| 13 | Obsoletes: mkdosfs-ygg |
---|
| 14 | |
---|
| 15 | %description |
---|
| 16 | The dosfstools package includes the mkdosfs and dosfsck utilities, |
---|
| 17 | which respectively make and check MS-DOS FAT filesystems on hard |
---|
| 18 | drives or on floppies. |
---|
| 19 | |
---|
| 20 | %description -l ja |
---|
| 21 | dosfstools パッケージには mkdosfs と dosfsck のユーティリティが含まれ、 |
---|
| 22 | それぞれハードドライブやフロッピーにおける MS-DOS FAT ファイルシステムの |
---|
| 23 | 作成とチェックを行います。 |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q |
---|
| 27 | %patch1 -p1 -b .argfix |
---|
| 28 | %patch2 -p1 -b .assumeKernel26 |
---|
| 29 | %patch4 -p1 -b .fortify |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | rm -rf %{buildroot} |
---|
| 36 | mkdir -p %{buildroot}%{_syssbindir} |
---|
| 37 | mkdir -p %{buildroot}/%{_mandir}/man8 |
---|
| 38 | |
---|
| 39 | install -m755 -s mkdosfs/mkdosfs %{buildroot}%{_syssbindir}/mkdosfs |
---|
| 40 | ln %{buildroot}%{_syssbindir}/mkdosfs %{buildroot}%{_syssbindir}/mkfs.msdos |
---|
| 41 | ln %{buildroot}%{_syssbindir}/mkdosfs %{buildroot}%{_syssbindir}/mkfs.vfat |
---|
| 42 | |
---|
| 43 | install -m755 -s dosfsck/dosfsck %{buildroot}%{_syssbindir}/dosfsck |
---|
| 44 | ln %{buildroot}%{_syssbindir}/dosfsck %{buildroot}%{_syssbindir}/fsck.msdos |
---|
| 45 | ln %{buildroot}%{_syssbindir}/dosfsck %{buildroot}%{_syssbindir}/fsck.vfat |
---|
| 46 | |
---|
| 47 | install -m 644 mkdosfs/mkdosfs.8 %{buildroot}%{_mandir}/man8 |
---|
| 48 | ln -sf mkdosfs.8.gz %{buildroot}%{_mandir}/man8/mkfs.msdos.8.gz |
---|
| 49 | ln -sf mkdosfs.8.gz %{buildroot}%{_mandir}/man8/mkfs.vfat.8.gz |
---|
| 50 | |
---|
| 51 | install -m 644 dosfsck/dosfsck.8 %{buildroot}%{_mandir}/man8 |
---|
| 52 | ln -sf dosfsck.8.gz %{buildroot}%{_mandir}/man8/fsck.msdos.8.gz |
---|
| 53 | ln -sf dosfsck.8.gz %{buildroot}%{_mandir}/man8/fsck.vfat.8.gz |
---|
| 54 | |
---|
| 55 | # Prepare for packed documents |
---|
| 56 | cp -p dosfsck/CHANGES CHANGES.dosfsck |
---|
| 57 | cp -p dosfsck/COPYING COPYING.dosfsck |
---|
| 58 | cp -p dosfsck/README README.dosfsck |
---|
| 59 | |
---|
| 60 | cp -p mkdosfs/ANNOUNCE ANNOUNCE.mkdosfs |
---|
| 61 | cp -p mkdosfs/COPYING COPYING.mkdosfs |
---|
| 62 | cp -p mkdosfs/ChangeLog ChangeLog.mkdosfs |
---|
| 63 | cp -p mkdosfs/README README.mkdosfs |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -rf %{buildroot} |
---|
| 67 | |
---|
| 68 | %files |
---|
| 69 | %defattr(-,root,root) |
---|
| 70 | %doc *.dosfsck *.mkdosfs |
---|
| 71 | %{_syssbindir}/* |
---|
| 72 | %{_mandir}/man8/* |
---|
| 73 | |
---|
| 74 | %changelog |
---|
| 75 | * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.11-6vl5 |
---|
| 76 | - applied new versioning policy and spec in utf-8 |
---|
| 77 | |
---|
| 78 | * Wed Jun 7 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.11-5vl1 |
---|
| 79 | - updated to 2.11 based on Fedora development |
---|
| 80 | * Thu May 11 2006 Peter Vrabec <pvrabec@redhat.com> 2.11-5 |
---|
| 81 | - fix work with disk image files > 4GB (#191198) |
---|
| 82 | * Wed Oct 12 2005 Peter Vrabec <pvrabec@redhat.com> 2.11-1 |
---|
| 83 | - upgrade |
---|
| 84 | - fixed %doc section |
---|
| 85 | |
---|
| 86 | * Sun Feb 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8-4vl1 |
---|
| 87 | - merged with Vine Linux package based on rawhide package. |
---|
| 88 | - rebuild on new environment. |
---|
| 89 | * Sun Mar 31 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8-0vl3 |
---|
| 90 | - fixed typo (s/dosfcsk/dosfsck/) |
---|
| 91 | * Tue Feb 05 2002 Toru Sagami <sagami@vinelinux.org> 2.8-0vl2 |
---|
| 92 | - added fsck.msdos.8 symlink |
---|
| 93 | * Thu Aug 02 2001 Toru Sagami <sagami@vinelinux.org> |
---|
| 94 | - 2.8-0vl1 |
---|
| 95 | * Sat Feb 17 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp> |
---|
| 96 | - 2.7-0vl1 |
---|
| 97 | * Sun Jan 21 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 98 | - 2.6-0vl2 |
---|
| 99 | - use better macros (%%{_syssbidir}) |
---|
| 100 | - fixed incorrect symlink to dosfsck :-) |
---|
| 101 | * Sun Jan 14 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp> |
---|
| 102 | - 2.6-0vl1 |
---|
| 103 | - based on 2.2-4 in RedHat 6.2 |
---|
| 104 | - added Japanese summary and description |
---|
| 105 | - use macros and add some docs |
---|
| 106 | |
---|
| 107 | * Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.8-4 |
---|
| 108 | - Patch2 for errno |
---|
| 109 | |
---|
| 110 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 111 | - automated rebuild |
---|
| 112 | |
---|
| 113 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
| 114 | - automated rebuild |
---|
| 115 | |
---|
| 116 | * Thu Mar 07 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 117 | - update to version 2.8 |
---|
| 118 | |
---|
| 119 | * Fri Jul 6 2001 Preston Brown <pbrown@redhat.com> |
---|
| 120 | - major upgrade to v2.7. |
---|
| 121 | - forward port old ia64 patch (now incorporated) s390 additions |
---|
| 122 | |
---|
| 123 | * Tue Mar 20 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com> |
---|
| 124 | - ported to zSeries (64 bit) |
---|
| 125 | |
---|
| 126 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 127 | - automatic rebuild |
---|
| 128 | |
---|
| 129 | * Fri Jun 17 2000 Bill Nottingham <notting@redhat.com> |
---|
| 130 | - hard link mkdosfs |
---|
| 131 | |
---|
| 132 | * Thu Jun 15 2000 Matt Wilson <msw@redhat.com> |
---|
| 133 | - FHS |
---|
| 134 | - patch to build against 2.4 kernel headers (patch3) |
---|
| 135 | |
---|
| 136 | * Fri Apr 28 2000 Bill Nottingham <notting@redhat.com> |
---|
| 137 | - fix for ia64 |
---|
| 138 | |
---|
| 139 | * Thu Feb 3 2000 Matt Wilson <msw@redhat.com> |
---|
| 140 | - remove mkdosfs.8 symlink, symlink mkdosfs.8.gz to mkfs.msdos.8.gz |
---|
| 141 | |
---|
| 142 | * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 143 | - fix descriptions and summary |
---|
| 144 | - man pages are compressed |
---|
| 145 | |
---|
| 146 | * Thu Dec 16 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 147 | - fix the 2.88MB drives (patch from hjl) |
---|
| 148 | |
---|
| 149 | * Mon Aug 16 1999 Matt Wilson <msw@redhat.com> |
---|
| 150 | - updated to 2.2 |
---|
| 151 | |
---|
| 152 | * Sun Jun 27 1999 Matt Wilson <msw@redhat.com> |
---|
| 153 | - changed to new maintainer, renamed to dosfstools |
---|
| 154 | |
---|
| 155 | * Sat Apr 17 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 156 | - fix mkdosfs on sparc (#1746) |
---|
| 157 | |
---|
| 158 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 159 | - auto rebuild in the new build environment (release 10) |
---|
| 160 | |
---|
| 161 | * Thu Jan 21 1999 Bill Nottingham <notting@redhat.com> |
---|
| 162 | - build for RH 6.0 |
---|
| 163 | |
---|
| 164 | * Tue Oct 13 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 165 | - avoid using unsinged long on alphas |
---|
| 166 | |
---|
| 167 | * Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 168 | - build root |
---|
| 169 | |
---|
| 170 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
| 171 | - translations modified for de, fr, tr |
---|
| 172 | |
---|
| 173 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
| 174 | - built against glibc |
---|