]>
Commit | Line | Data |
---|---|---|
4be6b77e | 1 | Summary: Nasm is a free assembler for the 80x86 series of microprocessors |
be38ae30 ER |
2 | Summary(es.UTF-8): Ensamblador de red |
3 | Summary(ja.UTF-8): Intel風の文法を持つポータブルな x86 アセンブラ | |
4 | Summary(pl.UTF-8): Nasm jest darmowym asemblerem dla procesorów z serii 80x86 | |
5 | Summary(pt_BR.UTF-8): O "Netwide Assembler" | |
6 | Summary(ru.UTF-8): Netwide Assembler, переносимый x86 ассемблер с Intel-подобным синтаксисом | |
7 | Summary(uk.UTF-8): Netwide Assembler, переносимий x86 асемблер з Intel-подібним синтаксисом | |
4be6b77e | 8 | Name: nasm |
ebabbe6d | 9 | Version: 0.99.05 |
b5e655dc | 10 | Release: 1 |
e6e053b2 | 11 | License: LGPL v2.1 |
dc8053b6 | 12 | Group: Development/Tools |
93183628 | 13 | Source0: http://dl.sourceforge.net/nasm/%{name}-%{version}.tar.bz2 |
ebabbe6d | 14 | # Source0-md5: 49b904a7ef01fdde4261b4724cf7695e |
2f4725dc | 15 | Patch0: %{name}-info.patch |
e6e053b2 | 16 | URL: http://nasm.sourceforge.net/ |
fc44ad6e | 17 | BuildRequires: perl-base |
99c3f8dc | 18 | BuildRequires: texinfo |
6dd6cee8 | 19 | Obsoletes: nasm-doc |
245a70fb | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cf4b4607 | 21 | |
22 | %description | |
23 | NASM is an 80x86 assembler designed for portability and modularity. It | |
24 | supports a range of object file formats including Linux a.out and ELF, | |
25 | COFF, Microsoft 16-bit OBJ and Win32. It will also output plain binary | |
53227a3d | 26 | files. Its syntax is designed to be simple and easy to understand, |
27 | similar to Intel's but less complex. It supports Pentium, P6 and MMX | |
28 | opcodes, and has macro capability. It includes a disassembler as well. | |
6dd6cee8 | 29 | |
a8c3e6e2 | 30 | %description -l es.UTF-8 |
1845ddc6 | 31 | Ensamblador de red. |
32 | ||
a8c3e6e2 JR |
33 | %description -l pl.UTF-8 |
34 | NASM jest asemblerem dla procesorów 80x86 skonstruowanym z myślą o | |
35 | przenośności i modularności. Zawiera szeroką gamę obsługi obiektów, w | |
bdbfea1b | 36 | tym linuksowe a.out i ELF, COFF, 16-bitowe OBJ Microsoftu oraz Win32. |
a8c3e6e2 JR |
37 | Dostajemy czysty wynikowy plik binarny. Składnia jest skonstruowana z |
38 | myślą o prostocie i łatwości zrozumienia, podobna do intelowskiej, ale | |
39 | mniej kompleksowa. Zawiera obsługę procesorów Pentium, P6 oraz MMX | |
40 | opcode i ma macro capability. Zawiera także deassembler. | |
fcee5da4 | 41 | |
a8c3e6e2 JR |
42 | %description -l pt_BR.UTF-8 |
43 | Este é o NASM, o "Netwide Assembler". o NASM é um assembler para a | |
44 | familia x86 de processadores. Atualmente, ele sabe gerar binários | |
1845ddc6 | 45 | puros, a.out, COFF, ELF, Microsoft Win32 e 16 bits DOS, OS/2, as86, e |
46 | um formato "caseiro" chamado RDF. | |
47 | ||
a8c3e6e2 JR |
48 | %description -l ru.UTF-8 |
49 | NASM - это Netwide Assembler, свободный переносимый ассемблер для | |
50 | серии микропроцессоров Intel 80x86. Использует в основном традиционные | |
51 | Интеловские мнемонику инструкций и синтаксис. | |
1845ddc6 | 52 | |
a8c3e6e2 JR |
53 | %description -l uk.UTF-8 |
54 | NASM - це Netwide Assembler, вільний переносимий асемблер для серії | |
55 | мікропроцесорів Intel 80x86. Використовує в основному традиційні | |
56 | Інтелівські мнемоніку інструкцій та синтаксис. | |
1845ddc6 | 57 | |
6dd6cee8 | 58 | %package rdoff |
59 | Summary: Tools for the RDOFF binary format, sometimes used with NASM | |
be38ae30 ER |
60 | Summary(pl.UTF-8): Narzędzia do formatu binarnego RDOFF, czasem używane z NASM-em |
61 | Summary(ru.UTF-8): Инструменты для бинарного формата RDOFF | |
62 | Summary(uk.UTF-8): Інструменти для бінарного формату RDOFF | |
6dd6cee8 | 63 | Group: Development/Tools |
93183628 | 64 | Requires: %{name} = %{version}-%{release} |
6dd6cee8 | 65 | |
66 | %description rdoff | |
53227a3d | 67 | Tools for the operating-system independent RDOFF binary format, which |
68 | is sometimes used with the Netwide Assembler (NASM). These tools | |
69 | include linker, library manager, loader, and information dump. | |
cf4b4607 | 70 | |
a8c3e6e2 JR |
71 | %description rdoff -l pl.UTF-8 |
72 | Narzędzia do niezależnego od systemu operacyjnego formatu binarnego | |
73 | RDOFF, czasem używane z Netwide Assembler (NASM). Te narzędzia | |
74 | zawierają linker, library manager, loader oraz information dump. | |
fcee5da4 | 75 | |
a8c3e6e2 JR |
76 | %description rdoff -l ru.UTF-8 |
77 | Инструменты для независимого от операционной системы бинарного формата | |
78 | RDOFF, который иногда используют с NASM. Эти инструменты включают | |
79 | редактор связей, библиотечный менеджер, загрузчик и программу выдачи | |
80 | информационнного дампа. | |
1845ddc6 | 81 | |
a8c3e6e2 JR |
82 | %description rdoff -l uk.UTF-8 |
83 | Інструменти для незалежного від операційної системи бінарного формату | |
84 | RDOFF, котрий іноді використовують з NASM. Ці інструменти включають | |
85 | редактор зв'язків, бібліотечний менеджер, завантажувач та програму | |
86 | видачі інформаційного дампу. | |
1845ddc6 | 87 | |
cf4b4607 | 88 | %prep |
89 | %setup -q | |
85d7330e | 90 | %patch0 -p1 |
cf4b4607 | 91 | |
92 | %build | |
303fde05 | 93 | %configure |
94 | ||
792962fb | 95 | %{__make} all rdf |
cf4b4607 | 96 | |
99c3f8dc JB |
97 | cd doc |
98 | %{__make} nasmdoc.texi | |
99 | makeinfo nasmdoc.texi | |
4be6b77e | 100 | |
be8f738a | 101 | %install |
cf4b4607 | 102 | rm -rf $RPM_BUILD_ROOT |
4be6b77e | 103 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_infodir},%{_mandir}/man1} |
85d7330e | 104 | |
245a70fb | 105 | %{__make} install install_rdf \ |
106 | INSTALLROOT=$RPM_BUILD_ROOT | |
cf4b4607 | 107 | |
4be6b77e | 108 | install doc/nasm.info* $RPM_BUILD_ROOT%{_infodir} |
8da01b03 | 109 | |
e0dc4d9c JB |
110 | %clean |
111 | rm -rf $RPM_BUILD_ROOT | |
112 | ||
4be6b77e | 113 | %post |
22cf692a | 114 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
4be6b77e | 115 | |
303fde05 | 116 | %postun |
22cf692a | 117 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
cf4b4607 | 118 | |
cf4b4607 | 119 | %files |
4be6b77e | 120 | %defattr(644,root,root,755) |
99c3f8dc | 121 | %doc ChangeLog AUTHORS README TODO |
6dd6cee8 | 122 | %attr(755,root,root) %{_bindir}/nasm |
123 | %attr(755,root,root) %{_bindir}/ndisasm | |
8da01b03 | 124 | %{_infodir}/nasm.info* |
4be6b77e | 125 | %{_mandir}/man?/* |
6dd6cee8 | 126 | |
127 | %files rdoff | |
128 | %defattr(644,root,root,755) | |
99c3f8dc | 129 | %doc rdoff/README |
6dd6cee8 | 130 | %attr(755,root,root) %{_bindir}/ldrdf |
131 | %attr(755,root,root) %{_bindir}/rdf2bin | |
132 | %attr(755,root,root) %{_bindir}/rdf2com | |
6338cd9f | 133 | %attr(755,root,root) %{_bindir}/rdf2ihx |
6dd6cee8 | 134 | %attr(755,root,root) %{_bindir}/rdfdump |
135 | %attr(755,root,root) %{_bindir}/rdflib | |
136 | %attr(755,root,root) %{_bindir}/rdx |