From 8b1c27e909f34e575611b215e2e57145dc11b3da Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 08:56:17 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20nasm-0.?= =?UTF-8?q?98-5.src.rpm=20Wed=20Jul=2012=202000=20Prospector=20=20-=20automatic=20rebuild=20Tue=20Jun=2013=202000=20?= =?UTF-8?q?Trond=20Eivind=20Glomsr=F8d=20=20-=20rewrote=20?= =?UTF-8?q?almost=20everything.=20The=20old=20specfile=20was=20bad,=20bad,?= =?UTF-8?q?=20bad.=20Really=20=20=20=20=20Bad.=20Tue=20Apr=2004=202000=20E?= =?UTF-8?q?rik=20Troan=20=20-=20moved=20to=20distribution?= =?UTF-8?q?=20(syslinux=20needs=20it)=20-=20gzipped=20man=20pages=20Thu=20?= =?UTF-8?q?Dec=2002=201999=20Preston=20Brown=20=20-=20a?= =?UTF-8?q?dopted=20from=20one=20of=20the=20best=20.spec=20files=20I=20hav?= =?UTF-8?q?e=20seen=20in=20a=20long=20time.=20:)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 1 + nasm.spec | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 103 insertions(+) create mode 100644 nasm.spec diff --git a/.cvsignore b/.cvsignore index e69de29..78eee39 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +nasm-0.98.tar.gz diff --git a/nasm.spec b/nasm.spec new file mode 100644 index 0000000..224734b --- /dev/null +++ b/nasm.spec @@ -0,0 +1,101 @@ +Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax +Name: nasm +Version: 0.98 +Release: 5 +License: GPL +Group: Development/Languages +Source: ftp://ftp.us.kernel.org/pub/software/devel/nasm/source/nasm-%{version}.tar.gz +URL: http://www.cryogen.com/Nasm/ +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Prereq: /sbin/install-info + +%package doc +Summary: Extensive documentation for NASM +Group: Development/Languages + +%package rdoff +Summary: Tools for the RDOFF binary format, sometimes used with NASM. +Group: Development/Tools + +%description +NASM is the Netwide Assembler, a free portable assembler for the Intel +80x86 microprocessor series, using primarily the traditional Intel +instruction mnemonics and syntax. + +%description doc +Extensive documentation for the Netwide Assembler, NASM, in HTML, +info, PostScript and text formats. + +%description rdoff +Tools for the operating-system independent RDOFF binary format, which +is sometimes used with the Netwide Assembler (NASM). These tools +include linker, library manager, loader, and information dump. + +%prep +%setup + +%build + +%configure +make everything + +%install +rm -fr $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/usr/bin +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 + +gzip -9f $RPM_BUILD_ROOT/%{_infodir}/nasm.* +cp -a $RPM_BUILD_ROOT/usr/tempdoc/html $RPM_BUILD_ROOT/usr/tempdoc/nasmdoc.{ps,txt} . +gzip -9f nasmdoc.{ps,txt} + +%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 COPYING Changes Licence MODIFIED Readme Wishlist +/usr/bin/nasm +/usr/bin/ndisasm +%{_mandir}/*/* +%{_infodir}/nasm.info*.gz + +%files doc +%defattr(-,root,root) +%doc html nasmdoc.txt.gz nasmdoc.ps.gz + +%files rdoff +%defattr(-,root,root) +/usr/bin/ldrdf +/usr/bin/rdf2bin +/usr/bin/rdf2com +/usr/bin/rdfdump +/usr/bin/rdflib +/usr/bin/rdx + +%changelog +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Tue Jun 13 2000 Trond Eivind Glomsrød +- rewrote almost everything. The old specfile was bad, bad, bad. + Really Bad. + +* Tue Apr 04 2000 Erik Troan +- moved to distribution (syslinux needs it) +- gzipped man pages + +* Thu Dec 02 1999 Preston Brown +- adopted from one of the best .spec files I have seen in a long time. :) diff --git a/sources b/sources index e69de29..4274e1c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fc334b4b05b5f57fe3fc867c42320ef9 nasm-0.98.tar.gz