summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-11-12 18:33:36 +0100
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-11-14 21:54:04 +0100
commitaf2bc804353f28ea4b7892422791cc35ad6de362 (patch)
tree8c421a3e52654baac0da7751006d0ca928f8cda7
parentf0bd7218ed6ec1d03c7db990cddefb38bee067ec (diff)
downloadnasm-af2bc804353f28ea4b7892422791cc35ad6de362.tar.gz
nasm-af2bc804353f28ea4b7892422791cc35ad6de362.tar.bz2
nasm-af2bc804353f28ea4b7892422791cc35ad6de362.zip
Change-Id: I7c90daba4c08d44669cd4ce0e111dbf19563f1b4 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r--packaging/nasm.spec19
1 files changed, 11 insertions, 8 deletions
diff --git a/packaging/nasm.spec b/packaging/nasm.spec
index 1986d4f..0774602 100644
--- a/packaging/nasm.spec
+++ b/packaging/nasm.spec
@@ -1,13 +1,17 @@
Name: nasm
-Version: 2.10.07
+Version: 2.11.05
Release: 0
License: BSD-2-Clause
Summary: Netwide Assembler (An x86 Assembler)
Url: http://nasm.sourceforge.net/
+#X-Vc-Url: git://repo.or.cz/nasm.git
Group: Development/Languages
-Source: nasm-%{version}.tar.xz
-Source1001: nasm.manifest
+Source: %{name}-%{version}.tar.xz
+Source1001: nasm.manifest
+BuildRequires: asciidoc
+BuildRequires: docbook
BuildRequires: makeinfo
+BuildRequires: xmlto
%description
NASM is a prototype general-purpose x86 assembler. It can currently
@@ -32,11 +36,11 @@ touch -r ./ver.c ./ver.c.stamp
TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
sed -i "s/__DATE__/\"$TS\"/g" ver.c
touch -r ./ver.c.stamp ./ver.c
-%configure
-make all
+%autogen
+%reconfigure
+%__make all
-cd doc
-make html info nasmdoc.ps nasmdoc.txt
+%__make -C doc html info nasmdoc.ps nasmdoc.txt
%install
install -d -m 755 %{buildroot}/usr/bin
@@ -68,4 +72,3 @@ install -m 644 doc/info/* %{buildroot}%{_infodir}
%doc %{_docdir}/nasm
%doc %{_infodir}/nasm*
-%changelog