ms-sys-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Name: ms-sys
  2. Version: 2.1.3
  3. Release: 1%{?_dist_release}
  4. Summary: Create DOS/MS-compatible boot records
  5. Summary(ja): DOS/MS 互換のブートレコードを作成
  6. Group: Applications/System
  7. License: GPLv2
  8. URL: http://ms-sys.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: bash, gettext
  12. %description
  13. This program is used to create DOS/MS-compatible boot records. It is
  14. able to do the same as Microsoft "fdisk /mbr" to a hard disk. It is
  15. also able to do the same as DOS "sys" to a floppy or FAT32 partition
  16. except that it does not copy any system files, only the boot record is
  17. written.
  18. %prep
  19. %setup -q
  20. %build
  21. %{__make} \
  22. CC="${CC:-%{__cc}}" \
  23. EXTRA_CFLAGS="%{optflags} -fasm" \
  24. EXTRA_LDFLAGS="%{optflags}" \
  25. PREFIX="%{_prefix}" \
  26. SHELL="/bin/bash"
  27. iconv --from=ISO-8859-1 --to=UTF-8 CONTRIBUTORS > CONTRIBUTORS.new
  28. iconv --from=ISO-8859-1 --to=UTF-8 CHANGELOG > CHANGELOG.new
  29. mv CONTRIBUTORS.new CONTRIBUTORS
  30. mv CHANGELOG.new CHANGELOG
  31. %install
  32. %{__rm} -rf %{buildroot}
  33. %{__make} install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}"
  34. %find_lang %{name}
  35. %clean
  36. %{__rm} -rf %{buildroot}
  37. %files -f %{name}.lang
  38. %defattr(-, root, root, -)
  39. %doc CHANGELOG CONTRIBUTORS COPYING FAQ README TODO
  40. %doc %{_mandir}/man1/ms-sys.1*
  41. %{_bindir}/ms-sys
  42. %changelog
  43. * Thu Jan 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-1
  44. - initial build for Vine Linux
  45. * Mon Aug 04 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.1.3-2
  46. - Fix license tag and disable debugging.
  47. * Mon Aug 04 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.1.3-1
  48. - Initial package