]> git.pld-linux.org Git - packages/nasm.git/blob - nasm.spec
- up to 2.06
[packages/nasm.git] / nasm.spec
1 Summary:        Nasm is a free assembler for the 80x86 series of microprocessors
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-подібним синтаксисом
8 Name:           nasm
9 Version:        2.06
10 Release:        1
11 License:        LGPL v2.1
12 Group:          Development/Tools
13 Source0:        http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.bz2
14 # Source0-md5:  0db94e88fd9b7a360f826f9ffd6c0fc7
15 Patch0:         %{name}-info.patch
16 URL:            http://www.nasm.us/
17 BuildRequires:  perl-base
18 BuildRequires:  texinfo
19 Obsoletes:      nasm-doc
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
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.
29
30 %description -l es.UTF-8
31 Ensamblador de red.
32
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
36 tym linuksowe a.out i ELF, COFF, 16-bitowe OBJ Microsoftu oraz Win32.
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.
41
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
45 puros, a.out, COFF, ELF, Microsoft Win32 e 16 bits DOS, OS/2, as86, e
46 um formato "caseiro" chamado RDF.
47
48 %description -l ru.UTF-8
49 NASM - это Netwide Assembler, свободный переносимый ассемблер для
50 серии микропроцессоров Intel 80x86. Использует в основном традиционные
51 Интеловские мнемонику инструкций и синтаксис.
52
53 %description -l uk.UTF-8
54 NASM - це Netwide Assembler, вільний переносимий асемблер для серії
55 мікропроцесорів Intel 80x86. Використовує в основному традиційні
56 Інтелівські мнемоніку інструкцій та синтаксис.
57
58 %package rdoff
59 Summary:        Tools for the RDOFF binary format, sometimes used with NASM
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
63 Group:          Development/Tools
64 Requires:       %{name} = %{version}-%{release}
65
66 %description rdoff
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.
70
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.
75
76 %description rdoff -l ru.UTF-8
77 Инструменты для независимого от операционной системы бинарного формата
78 RDOFF, который иногда используют с NASM. Эти инструменты включают
79 редактор связей, библиотечный менеджер, загрузчик и программу выдачи
80 информационнного дампа.
81
82 %description rdoff -l uk.UTF-8
83 Інструменти для незалежного від операційної системи бінарного формату
84 RDOFF, котрий іноді використовують з NASM. Ці інструменти включають
85 редактор зв'язків, бібліотечний менеджер, завантажувач та програму
86 видачі інформаційного дампу.
87
88 %prep
89 %setup -q
90 %patch0 -p1
91
92 %build
93 %configure
94
95 %{__make} all rdf
96
97 cd doc
98 %{__make} nasmdoc.texi
99 makeinfo nasmdoc.texi
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT{%{_bindir},%{_infodir},%{_mandir}/man1}
104
105 %{__make} install install_rdf \
106         INSTALLROOT=$RPM_BUILD_ROOT
107
108 install doc/nasm.info* $RPM_BUILD_ROOT%{_infodir}
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %post   -p      /sbin/postshell
114 -/usr/sbin/fix-info-dir -c %{_infodir}
115
116 %postun -p      /sbin/postshell
117 -/usr/sbin/fix-info-dir -c %{_infodir}
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.060154 seconds and 3 git commands to generate.