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