aboutsummaryrefslogtreecommitdiffstats
path: root/nasm.spec.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2017-04-13 21:54:42 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2017-04-13 22:12:05 -0700
commit5194f77bfd38ce14176b2b5efab2052bf7014bbd (patch)
tree075e375878a0b6cde5320bfdbccd8a3987fbc058 /nasm.spec.in
parentb1778ef7ddd2fe94f0367eaa254a39ed6abd0721 (diff)
downloadnasm-daily-5194f77bfd38ce14176b2b5efab2052bf7014bbd.tar.gz
nasm-daily-5194f77bfd38ce14176b2b5efab2052bf7014bbd.tar.xz
nasm-daily-5194f77bfd38ce14176b2b5efab2052bf7014bbd.zip
doc: add indented paragraphs, valid XHTML, CSS style sheet
Add indented paragraphs, which can be used to continue an item in a bulleted list. Produce valid strict XHTML, and include a style sheet with a navbar and other fancy things. Remove archaic output formats. Now only text, XHTML, and PDF are supported. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'nasm.spec.in')
-rw-r--r--nasm.spec.in25
1 files changed, 6 insertions, 19 deletions
diff --git a/nasm.spec.in b/nasm.spec.in
index 9cdb3001..9ca198ea 100644
--- a/nasm.spec.in
+++ b/nasm.spec.in
@@ -10,7 +10,7 @@ Source: http://www.nasm.us/pub/nasm/releasebuilds/%{nasm_version}/nasm-%{nasm_ve
URL: http://www.nasm.us/
BuildRoot: /tmp/rpm-build-nasm
Prefix: %{_prefix}
-BuildRequires: perl, asciidoc, xmlto, ghostscript, texinfo, perl-Font-TTF
+BuildRequires: perl, asciidoc, xmlto, ghostscript, perl-Font-TTF
BuildRequires: adobe-source-sans-pro-fonts, adobe-source-code-pro-fonts
BuildRequires: fontconfig, xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -18,9 +18,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%package doc
Summary: Extensive documentation for NASM
Group: Development/Languages
-BuildRequires: ghostscript, texinfo
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
%package rdoff
Summary: Tools for the RDOFF binary format, sometimes used with NASM.
@@ -32,8 +29,8 @@ NASM is the Netwide Assembler, a free portable assembler for the Intel
instruction mnemonics and syntax.
%description doc
-Extensive documentation for the Netwide Assembler, NASM, in HTML,
-info, PostScript and text formats.
+Extensive documentation for the Netwide Assembler (NASM) in HTML and
+PDF formats.
%description rdoff
Tools for the operating-system independent RDOFF binary format, which
@@ -51,26 +48,17 @@ make %{?_smp_mflags} everything
rm -rf "$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT"/%{_bindir}
mkdir -p "$RPM_BUILD_ROOT"/%{_mandir}/man1
-mkdir -p "$RPM_BUILD_ROOT"/%{_infodir}
mkdir -p "$RPM_BUILD_ROOT"/usr/tempdoc
%makeinstall install_everything docdir="$RPM_BUILD_ROOT"/usr/tempdoc
cp -a $RPM_BUILD_ROOT/usr/tempdoc/html \
- $RPM_BUILD_ROOT/usr/tempdoc/nasmdoc.{txt,pdf} .
-xz -9ef nasmdoc.{pdf,txt}
+ $RPM_BUILD_ROOT/usr/tempdoc/nasmdoc.pdf .
+xz -9ef nasmdoc.pdf
# remove unpackaged files from the buildroot
rm -rf $RPM_BUILD_ROOT%{_prefix}/tempdoc
%clean
rm -rf "$RPM_BUILD_ROOT"
-%post
-/sbin/install-info %{_infodir}/nasm.info.gz %{_infodir}/dir || :
-
-%preun
-if [ $1 = 0 ]; then
- /sbin/install-info --delete %{_infodir}/nasm.info.gz %{_infodir}/dir || :
-fi
-
%files
%defattr(-,root,root)
%doc AUTHORS CHANGES README TODO
@@ -78,11 +66,10 @@ fi
%{_bindir}/ndisasm
%{_mandir}/man1/nasm.1*
%{_mandir}/man1/ndisasm.1*
-%{_infodir}/nasm.info*.gz
%files doc
%defattr(-,root,root)
-%doc html nasmdoc.txt.xz nasmdoc.pdf.xz
+%doc html nasmdoc.pdf.xz
%files rdoff
%defattr(-,root,root)