Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
nasm
nasm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nasm.spec of Package nasm
# # spec file for package nasm # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: nasm Url: http://nasm.sourceforge.net/ Version: 2.10.09 Release: 0 Summary: Netwide Assembler (An x86 Assembler) License: BSD-2-Clause Group: Development/Languages/Other Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.bz2 BuildRequires: makeinfo BuildRoot: %{_tmppath}/%{name}-%{version}-build %description NASM is a prototype general-purpose x86 assembler. It can currently output several binary formats, including ELF, a.out, Win32, and OS/2. Read the licence agreement in /usr/share/doc/packages/nasm/Licence. %prep %setup -q %package doc Summary: Documentation for Nasm License: LGPL-2.1+ Group: Development/Languages/Other PreReq: %install_info_prereq Provides: nasm:/usr/share/doc/packages/nasm/nasmdoc.pdf %description doc This package contains the documentation for Nasm. %build 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 cd doc make html info nasmdoc.ps nasmdoc.txt %install install -d -m 755 $RPM_BUILD_ROOT/usr/bin install -d -m 755 $RPM_BUILD_ROOT/%{_mandir}/man1 install -d -m 755 $RPM_BUILD_ROOT/%{_docdir}/nasm install -d -m 755 $RPM_BUILD_ROOT/%{_docdir}/nasm/rdoff install -d -m 755 $RPM_BUILD_ROOT/%{_docdir}/nasm/html install -d -m 755 $RPM_BUILD_ROOT/%{_infodir} make INSTALLROOT=$RPM_BUILD_ROOT install make INSTALLROOT=$RPM_BUILD_ROOT rdf_install install -m 644 AUTHORS CHANGES ChangeLog LICENSE TODO README doc/*.txt \ $RPM_BUILD_ROOT/%{_docdir}/nasm install -m 644 rdoff/README rdoff/doc/* \ $RPM_BUILD_ROOT/%{_docdir}/nasm/rdoff install -m 644 doc/html/* $RPM_BUILD_ROOT%{_docdir}/nasm/html install -m 644 ndisasm.1 nasm.1 rdoff/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 install -m 644 doc/info/* $RPM_BUILD_ROOT%{_infodir} %post doc %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %postun doc %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files %defattr(-,root,root) /usr/bin/* %doc %{_mandir}/man1/*.1.gz %files doc %defattr(-,root,root) %doc %{_docdir}/nasm %doc %{_infodir}/nasm* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor