[Tizen-submit] 5653: Changes to Tizen/nasm

noreply at tizen.org noreply at tizen.org
Mon May 20 11:15:20 GMT 2013


Hi,
Prajwal Mohan have made the following changes to nasm in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5653

  submit:       Tizen:build/nasm(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.023505
Git project: platform/upstream/nasm
Tag: submit/tizen/20130517.023505
Commit: ea7375d Update to 2.10.07

State:   accepted   2013-05-16T20:41:54 pkarurmo
Comment: Ok

History: new        2013-05-16T19:36:18 tizenrobot
changes files:
--------------

++++++ new changes file:
--- nasm.changes
+++ nasm.changes
@@ -0,0 +1,3 @@
+* Sun Apr 14 2013 Anas Nashif <anas.nashif at intel.com> upstream/2.10.07 at a242b37
+- Update to 2.10.07
+

new:
----
  nasm-2.10.07.tar.xz
  nasm.changes
  nasm.spec

spec files:
-----------

++++++ new spec file:
--- nasm.spec
+++ nasm.spec
@@ -0,0 +1,68 @@
+Name:           nasm
+Version:        2.10.07
+Release:        0
+VCS:            platform/upstream/nasm#submit/tizen/20130517.023505-0-gea7375d
+License:        BSD-2-Clause
+Summary:        Netwide Assembler (An x86 Assembler)
+Url:            http://nasm.sourceforge.net/
+Group:          Development/Languages
+Source:         nasm-%{version}.tar.xz
+BuildRequires:  makeinfo
+
+%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
+License:        LGPL-2.1+
+Summary:        Documentation for Nasm
+Group:          Development/Languages
+
+%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 %{buildroot}/usr/bin
+install -d -m 755 %{buildroot}/%{_mandir}/man1
+install -d -m 755 %{buildroot}/%{_docdir}/nasm
+install -d -m 755 %{buildroot}/%{_docdir}/nasm/rdoff
+install -d -m 755 %{buildroot}/%{_docdir}/nasm/html
+install -d -m 755 %{buildroot}/%{_infodir}
+make INSTALLROOT=%{buildroot} install
+make INSTALLROOT=%{buildroot} rdf_install
+install -m 644 AUTHORS CHANGES ChangeLog LICENSE TODO README doc/*.txt \
+	%{buildroot}/%{_docdir}/nasm
+install -m 644 rdoff/README rdoff/doc/* \
+	%{buildroot}/%{_docdir}/nasm/rdoff
+install -m 644 doc/html/* %{buildroot}%{_docdir}/nasm/html
+install -m 644 ndisasm.1 nasm.1 rdoff/*.1 %{buildroot}%{_mandir}/man1
+install -m 644 doc/info/* %{buildroot}%{_infodir}
+
+%files
+%defattr(-,root,root)
+%license LICENSE
+/usr/bin/*

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list