Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > by-pkgid > c76667f51b9f2339e1b3a94b4bdf281b > files > 2

yasm-0.7.2-2mdv2009.1.src.rpm

Summary:	Modular Assembler
Name:		yasm
Version:	0.7.2
Release:	%mkrel 2
License:	BSD
Group:		Development/Other
Url:		http://www.tortall.net/projects/yasm/
Source0:	http://www.tortall.net/projects/yasm/releases/%{name}-%{version}.tar.bz2
BuildRequires:	xmlto
BuildRequires:	python-pyrex
%py_requires -d
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%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:	Development headers and files for %{name}
Group:		Development/C
Obsoletes:	%mklibname -d yasm 0
Requires:	%{name} = %{version}-%{release}

%description devel
Development headers and files for %{name}.

%package python
Summary:	Python bindings for %{name}
Group:		Development/Python
Requires:	%{name} = %{version}-%{release}

%description python
Python bindings for %{name}.

%prep
%setup -q -n %{name}-%{version}

%build
%ifnarch ix86
export CFLAGS="%{optflags} -fPIC"
%endif

%configure2_5x \
	--disable-rpath \
	--enable-python \
	--enable-python-bindings

%make

%install
rm -rf  %{buildroot}

%makeinstall_std

rm -f %{buildroot}%{_libdir}/yasm/*.a

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS
%{_bindir}/%{name}
%{_mandir}/man1/yasm.1*
%{_mandir}/man7/yasm_arch.7*
%{_mandir}/man7/yasm_dbgfmts.7.*
%{_mandir}/man7/yasm_objfmts.7.*
%{_mandir}/man7/yasm_parsers.7.*

%files python
%defattr(-,root,root)
%{py_sitedir}/*

%files devel
%defattr(-,root,root)
%{_libdir}/lib*.a
%{_includedir}/libyasm
%{_includedir}/libyasm.h
%{_includedir}/libyasm-stdint.h


%changelog
* Fri Dec 26 2008 Funda Wang <fundawang@mandriva.org> 0.7.2-2mdv2009.1
+ Revision: 319240
- rebuild for new python

* Fri Oct 10 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.7.2-1mdv2009.0
+ Revision: 291448
- update to new version 0.7.2

* Sat Aug 09 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.7.1-2mdv2009.0
+ Revision: 269852
- rebuild early 2009.0 package (before pixel changes)

* Tue May 20 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.7.1-1mdv2009.0
+ Revision: 209592
- update to new version 0.7.1

* Mon May 12 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.7.0-1mdv2009.0
+ Revision: 206302
- add requires on python-devel
- new version
- enable pythin bindings
- add missing buildrequires on xmlto and python-pyrex
- compile with fPIC on non-ix86 archs
- spec file clean

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Sat Sep 22 2007 trem <trem@mandriva.org> 0.6.2-1mdv2008.1
+ Revision: 92122
- update to 0.6.2
- update to 0.6.2

* Sun Aug 19 2007 Michael Scherer <misc@mandriva.org> 0.6.1-3mdv2008.0
+ Revision: 66497
- rebuild for missing lib

* Thu Aug 16 2007 Michael Scherer <misc@mandriva.org> 0.6.1-2mdv2008.0
+ Revision: 64650
- fix build errors due to manpages
- rebuild for 2008.0

* Sat Jun 16 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.6.1-1mdv2008.0
+ Revision: 40287
- new version


* Tue Feb 27 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.6.0-4mdv2007.0
+ Revision: 126545
- remove conflicts

* Tue Feb 27 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.6.0-3mdv2007.1
+ Revision: 126449
- correct obsoletes and conflicts (thanks goes to Goetz)

* Tue Feb 27 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.6.0-2mdv2007.1
+ Revision: 126246
- remove libification, because yasm doesn't provide any libraries
- remove rpath
- some cleans

* Mon Feb 26 2007 trem <trem@mandriva.org> 0.6.0-1mdv2007.1
+ Revision: 126165
- 0.6.0

  + Michael Scherer <misc@mandriva.org>
    - Import yasm

* Mon Jul 17 2006 Götz Waschk <waschk@mandriva.org> 0.5.0-1mdv2007.0
- New release 0.5.0

* Sat Apr 08 2006 trem <trem@mandriva.org> 0.5.0-0.rc2.1mdk
- 0.5.0rc2

* Sun Feb 12 2006 trem <trem@mandriva.org> 0.5.0-0.rc1.1mdk
- 0.5.0rc1

* Fri May 20 2005 Götz Waschk <waschk@mandriva.org> 0.4.0-1mdk
- initial package