2008-06-11 Laszlo (Laca) Peter <
[email protected]>
* README: (new) note on building the CBE from svn
* CBEant.spec: update rev
* CBEautoconf.spec: update rev, gmake dependency
* CBEautomake.spec: update rev, gmake dependency, create aclocal
symlink
* CBEbison.spec: update rev, gmake dependency
* CBEcmake.spec: update rev, gmake depedency, use -norunpath with CC
* CBEcoreutils.spec: update rev, gmake dependency
* CBEcvs.spec: update rev, gmake depedency
* CBEdiff.spec: update rev, gmake depedency
* CBEenv.spec: update version, create symlinks for [Open]Solaris
gnu make, automake, aclocal
* CBEflex.spec: update rev, gmake depedency, use c99flag
* CBEgettext.spec: update rev, gmake dependency
* CBEgnuawk.spec: update rev, gmake dependency
* CBEgnused.spec: update rev, gmake dependency
* CBElibtool.spec: update rev, gmake dependency
* CBElibtool22.spec: update rev, gmake dependency
* CBEm4.spec: update rev, gmake dependency
* CBEmake.spec: update rev
* CBErsync.spec: update rev, gmake dependency
* CBEsubversion.spec: update rev, gmake dependency
* CBEyasm.spec: update rev, gmake dependency, fix _datadir, _mandir
attributes
* cbe-install: major rework for Solaris 10, Nevada and OpenSolaris
* cbe-remove: remove all 'JDS CBE' and 'Desktop CBE' packages
* ext-sources/env.csh: fix unset bug reported by Ben Taylor, where
multi-line values break the script
* ext-sources/env.sh: fix unset bug reported by Ben Taylor
* include/CBE.inc: define c99flag, cxx_optflags, make_dep and change
default cbe prefix to /opt/dtbld
#
# spec file for package CBEyasm
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%include CBE.inc
Name: CBEyasm
Version: 0.6.2
License: BSD, Artisitic, GNU GPL2, GNU LGPL2
Group: system/cbe
Distribution: Desktop CBE
Vendor: Sun Microsystems, Inc.
Summary: Desktop CBE: Yet another assembler
Source: http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
URL: http://www.tortall.net/projects/yasm/wiki
BuildRoot: %{_tmppath}/%{name}-%{version}-build
SUNW_BaseDir: %{_prefix}
SUNW_Category: CBE,KDE,JDS,application
SUNW_Rev: %{?cbe_version}%{?!cbe_version:0.0}
%include default-depend.inc
BuildRequires: %make_dep
%prep
%setup -q -n yasm-%{version}
%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
# the safest way is don't setup optim
export CFLAGS=""
export LDFLAGS=""
./configure --prefix=%{_prefix} \
--bindir=%{_bindir} \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--datadir=%{_datadir} \
--libexecdir=%{_libexecdir} \
--sysconfdir=%{_sysconfdir} \
--enable-shared \
--disable-static
gmake -j$CPUS
%install
rm -rf $RPM_BUILD_ROOT
gmake install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/*
%dir %attr (0755,root,sys) %{_datadir}
%dir %attr (0755,root,bin) %{_mandir}
%{_mandir}/*
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
%changelog
* Wed Jun 11 2008 <[email protected]>
- update rev, gmake depedency, fix _datadir, _mandir attributes
* Fri Apr 18 2008 - [email protected]
- adopt for CBE
* Sat Apr 05 2008 - [email protected]
- Remove optimization flags, as they yield a broken yasm
* Sat Nov 17 2007 - [email protected]
- adopt for KBE
- bump to 0.6.2
* Mon Apr 30 2007 - [email protected]
- Initial version