nasm-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. %bcond_with doc
  2. Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax
  3. Summary(ja): Netwide アセンブラ: Intel ライクなシンタックスのポータブル x86 アセンブラ
  4. Name: nasm
  5. Version: 2.16.03
  6. Release: 1%{?_dist_release}
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Packager: owa
  11. License: BSD
  12. URL: https://www.nasm.us
  13. %global download %{url}/pub/nasm/releasebuilds
  14. Source0: %{download}/%{version}/nasm-%{version}.tar.xz
  15. Source1: %{download}/%{version}/nasm-%{version}-xdoc.tar.xz
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: pkgconfig
  18. BuildRequires: asciidoc
  19. BuildRequires: xmlto
  20. Obsoletes: %{name}-rdoff < 2.16.03
  21. %if %{with doc}
  22. Obsoletes: %{name}-doc < %{version}-%{release}
  23. %endif
  24. %description
  25. NASM is the Netwide Assembler, a free portable assembler for the Intel
  26. 80x86 microprocessor series, using primarily the traditional Intel
  27. instruction mnemonics and syntax.
  28. %description -l ja
  29. NASM は Netwide アセンブラです。Intel 80x86 プロセッサシリーズ用の
  30. フリーでポータブルなアセンブラで、基本的に伝統的な Intel インストラクション
  31. ニーモニックと文法を使います。
  32. %if %{with doc}
  33. %package doc
  34. Summary: Extensive documentation for NASM
  35. Summary(ja): NASM のドキュメント
  36. Group: documentation
  37. Requires: %{name} = %{version}-%{release}
  38. %description doc
  39. Extensive documentation for the Netwide Assembler, NASM, in HTML format.
  40. %description doc -l ja
  41. Netwide アセンブラ NASM のHTML形式ドキュメントです。
  42. %endif
  43. %debug_package
  44. %prep
  45. %setup -q -n nasm-%{version}
  46. tar xJf %{SOURCE1} --strip-components 1
  47. %build
  48. %configure
  49. %if %{with doc}
  50. make everything %{?_smp_mflags}
  51. gzip -9f doc/nasmdoc.{ps,txt}
  52. %else
  53. make all %{?_smp_mflags}
  54. %endif
  55. %install
  56. %make_install
  57. %check
  58. make -C test golden test diff
  59. %files
  60. %license LICENSE
  61. %doc AUTHORS CHANGES README.md
  62. %{_bindir}/nasm
  63. %{_bindir}/ndisasm
  64. %{_mandir}/man1/nasm*
  65. %{_mandir}/man1/ndisasm*
  66. %if %{with doc}
  67. %files doc
  68. %doc doc/html doc/nasmdoc.txt.gz doc/nasmdoc.ps.gz doc/nasmdoc.pdf
  69. %endif
  70. %changelog
  71. * Sat Jul 06 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.16.03-1
  72. - new upstream release.
  73. * Thu Sep 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.14.02-1
  74. - new upstream release.
  75. * Sat Sep 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> nasm-2.11.08-1
  76. - updated nasm to nasm-2.11.08
  77. - updated xdoc to nasm-2.11.08-xdoc
  78. * Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> nasm-2.11.05-1
  79. - updated nasm to nasm-2.11.05
  80. - updated xdoc to nasm-2.11.05-xdoc
  81. - updated License to BSD (see, LICENSE)
  82. * Thu Apr 28 2011 Shu KONNO <owa@bg.wakwak.com> nasm-2.09.08-1
  83. - updated nasm to nasm-2.09.08
  84. - updated xdoc to nasm-2.09.08-xdoc
  85. * Mon Nov 22 2010 Shu KONNO <owa@bg.wakwak.com> nasm-2.09.03-1
  86. - updated nasm to nasm-2.09.03
  87. - updated xdoc to nasm-2.09.03-xdoc
  88. * Wed Sep 08 2010 Shu KONNO <owa@bg.wakwak.com> nasm-2.09.01-1
  89. - updated nasm to nasm-2.09.01
  90. - updated xdoc to nasm-2.09.01-xdoc
  91. * Thu Sep 02 2010 Shu KONNO <owa@bg.wakwak.com> nasm-2.09-1
  92. - updated nasm to nasm-2.09
  93. - updated xdoc to nasm-2.09-xdoc
  94. * Tue Mar 16 2010 Shu KONNO <owa@bg.wakwak.com> nasm-2.08.01-1
  95. - updated nasm to nasm-2.08.01
  96. - updated xdoc to nasm-2.08.01-xdoc
  97. * Sat Sep 05 2009 Shu KONNO <owa@bg.wakwak.com> nasm-2.07.00-1
  98. - updated nasm to nasm-2.07
  99. * Mon Jul 13 2009 Shu KONNO <owa@bg.wakwak.com> nasm-2.06.00-1
  100. - updated nasm to nasm-2.06
  101. - added nasm-2.06-xdoc
  102. - changed download url
  103. * Tue Sep 30 2008 Shu KONNO <owa@bg.wakwak.com> nasm-2.04.00-1vl5
  104. - updated nasm to nasm-2.04
  105. - fixed typo of changelog version
  106. * Sat Jun 14 2008 Shu KONNO <owa@bg.wakwak.com> nasm-2.03.00-1vl5
  107. - updated nasm to nasm-2.03
  108. - applied new versioning policy and spec in utf-8
  109. * Fri Feb 22 2008 Shu KONNO <owa@bg.wakwak.com> nasm-2.02.00-0vl1
  110. - updated nasm to nasm-2.02
  111. * Mon Jan 28 2008 Shu KONNO <owa@bg.wakwak.com> nasm-2.01.00-0vl1
  112. - updated nasm to nasm-2.01
  113. * Thu Nov 29 2007 Shu KONNO <owa@bg.wakwak.com> nasm-2.0.0-0vl1
  114. - updated nasm to nasm-2.00
  115. * Sun Nov 25 2007 Shu KONNO <owa@bg.wakwak.com> nasm-2.0-0vl0rc1
  116. - updated nasm to nasm-2.00rc1
  117. * Sun Aug 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.98.39-0vl2
  118. - drop stupid macros
  119. - fix dependencies
  120. - add BuildRequires: texinfo
  121. - add BuildRequires: ghostscript instead of /usr/bin/ps2pdf
  122. - doc: add PreReq: install-info instead of /sbin/install-info
  123. - chande doc's group to Applications/Documentation
  124. * Sat Jun 4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98.39-0vl1
  125. - new upstream release
  126. * Wed Apr 21 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98.38-0vl1
  127. - updated to 0.98.38
  128. - fixed %doc of nasm-doc
  129. * Thu Jul 17 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98.36-0vl3
  130. - fixed nasm-doc Group: Documentation
  131. - changed URL:
  132. - s/Copyright/License/
  133. * Tue May 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98.36-0vl2
  134. - merged Vine Plus spec file and Vine Seed Plus spec file (sorry....)
  135. * Thu May 1 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98.36-0vl1
  136. - update 0.98.36 based on sourceforge
  137. - change licence to LGPL
  138. - change URL
  139. - add BuildPrereq: perl
  140. * Mon Jan 27 2003 Masaki Shinomiya <shino@pos.to> 0.98.35-0vl1
  141. - source upstream, new URL, doc files
  142. * Sat Apr 14 2001 Shoji Matsumoto <shom@vinelinux.org> 0.98-0vl2
  143. - add ja desc
  144. - modify %files
  145. - use %configure
  146. - build for Seed
  147. * Fri Dec 15 2000 Hirotaka Mizutani
  148. - 0.98-0vl1
  149. - updated for VineLinux2.1