CBEmake.spec
author xlucas
Tue, 28 Apr 2009 09:49:26 +0000
changeset 41 31570364d0f1
parent 12 af4384a951ad
permissions -rw-r--r--
2009-03-16 Lukas (Luc) Oboril <[email protected]> * bump pkgbuild to latest version 1.3.98.4 * add Sun Studio Express 03/09 as known compiler

#
# spec file for package CBEmake
#
# 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:			CBEmake
Version:		3.81
License:		GPL
Group:			system/cbe
Distribution:		Desktop CBE
Vendor:			Sun Microsystems, Inc.
Summary:		Desktop CBE: GNU make
Source:			ftp://ftp.gnu.org/pub/gnu/make/make-%{version}.tar.bz2
URL:			http://www.gnu.org/
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

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

%build
export CFLAGS="%optflags"

./configure	--prefix=%{_prefix} \
		--without-nls \
		--infodir=%{_infodir}
make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_datadir}
rm -rf $RPM_BUILD_ROOT%{_infodir}
cd $RPM_BUILD_ROOT%{_bindir}
ln -s make gmake 

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%{_prefix}/man

%changelog
* Wed Jun 11 2008  <[email protected]>
- update rev
* Sun Apr 20 2008  <[email protected]>
- adopt for CBE
* Sat Nov 17 2007  <[email protected]>
- create symbolic link gmake to make
* Tue Oct 30 2007  <[email protected]>
- adopt for KBE
* Mon Aug 21 2006  <[email protected]>
- move to /opt/jdsbld by default
- fix file attributes
* Wed Aug 16 2006  <[email protected]>
- add missing deps
* Fri Sep 02 2004  <[email protected]>
- remove unpackaged files
* Fri Mar 05 2004  <[email protected]>
- fix %files
- change the pkg category