99 lines
2.5 KiB
RPMSpec
99 lines
2.5 KiB
RPMSpec
Summary: Complete rewrite of the NASM assembler
|
|
Name: yasm
|
|
Version: 0.4.0
|
|
Release: 5%{?dist}
|
|
License: BSD
|
|
Group: Development/Languages
|
|
URL: http://www.tortall.net/projects/yasm/
|
|
Source: http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
|
|
Patch0: yasm-0.4.0-genmacro.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: bison, byacc, xmlto, gettext-devel
|
|
|
|
|
|
%description
|
|
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License
|
|
(some portions are under other licenses, see COPYING for details). It is
|
|
designed from the ground up to allow for multiple assembler syntaxes to be
|
|
supported (eg, NASM, TASM, GAS, etc.) in addition to multiple output object
|
|
formats and even multiple instruction sets. Another primary module of the
|
|
overall design is an optimizer module.
|
|
|
|
|
|
%package devel
|
|
Summary: Header files and static libraries for yasm
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License
|
|
(some portions are under other licenses, see COPYING for details). It is
|
|
designed from the ground up to allow for multiple assembler syntaxes to be
|
|
supported (eg, NASM, TASM, GAS, etc.) in addition to multiple output object
|
|
formats and even multiple instruction sets. Another primary module of the
|
|
overall design is an optimizer module.
|
|
Install this package if you need to rebuild applications that use yasm.
|
|
|
|
|
|
%prep
|
|
%setup
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%{__rm} -rf %{buildroot}
|
|
%makeinstall
|
|
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%defattr(-, root, root, 0755)
|
|
%doc Artistic.txt AUTHORS BSD.txt ChangeLog COPYING GNU* NEWS README
|
|
%{_bindir}/yasm
|
|
%{_libdir}/*.so.*
|
|
%dir %{_libdir}/yasm/
|
|
%{_libdir}/yasm/*.so
|
|
%{_mandir}/man1/yasm.1*
|
|
|
|
%files devel
|
|
%defattr(-, root, root, 0755)
|
|
%{_includedir}/libyasm.h
|
|
%{_includedir}/libyasm/
|
|
%{_libdir}/*.a
|
|
%exclude %{_libdir}/*.la
|
|
%{_libdir}/*.so
|
|
%dir %{_libdir}/yasm/
|
|
%{_libdir}/yasm/*.a
|
|
%exclude %{_libdir}/yasm/*.la
|
|
%{_mandir}/man7/yasm_arch.7*
|
|
|
|
|
|
%changelog
|
|
* Thu Feb 9 2006 Matthias Saou <http://freshrpms.net/> 0.4.0-5
|
|
- Rebuild for new gcc/glibc.
|
|
|
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.4.0-4
|
|
- rebuild on all arches
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
- rebuilt
|
|
|
|
* Mon Feb 14 2005 David Woodhouse <dwmw2@infradead.org> 0.4.0-2
|
|
- Fix corruption in genmacro
|
|
|
|
* Fri Jan 28 2005 Matthias Saou <http://freshrpms.net/> 0.4.0-1
|
|
- Initial RPM release.
|
|
|