CBEmake.spec
author laca
Tue, 10 Jun 2008 13:04:19 +0000
changeset 10 a65a967018ee
parent 7 fe5233293a17
child 12 af4384a951ad
permissions -rw-r--r--
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
     1
#
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
     2
# spec file for package CBEmake
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
     3
#
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
     4
# Copyright 2008 Sun Microsystems, Inc.
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
     6
# package are under the same license as the package itself.
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
     7
#
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
     8
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
     9
%include CBE.inc
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    10
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    11
Name:			CBEmake
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    12
Version:		3.81
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    13
License:		GPL
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 4
diff changeset
    14
Group:			system/cbe
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 4
diff changeset
    15
Distribution:		Desktop CBE
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    16
Vendor:			Sun Microsystems, Inc.
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 4
diff changeset
    17
Summary:		Desktop CBE: GNU make
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    18
Source:			ftp://ftp.gnu.org/pub/gnu/make/make-%{version}.tar.bz2
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    19
URL:			http://www.gnu.org/
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    20
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    21
SUNW_BaseDir:		%{_prefix}
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 4
diff changeset
    22
SUNW_Category:          CBE,KDE,JDS,application
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    23
SUNW_Rev:		%{?cbe_version}%{?!cbe_version:0.0}
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    24
%include default-depend.inc
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    25
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    26
%prep
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    27
%setup -q -n make-%{version}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    28
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    29
%build
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    30
export CFLAGS="%optflags"
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    31
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    32
./configure	--prefix=%{_prefix} \
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    33
		--without-nls \
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    34
		--infodir=%{_infodir}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    35
make
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    36
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    37
%install
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    38
rm -rf $RPM_BUILD_ROOT
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    39
make install DESTDIR=$RPM_BUILD_ROOT
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    40
rm -rf $RPM_BUILD_ROOT%{_datadir}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    41
rm -rf $RPM_BUILD_ROOT%{_infodir}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    42
ln -s make gmake 
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    43
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    44
%clean
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    45
rm -rf $RPM_BUILD_ROOT
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    46
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    47
%files
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    48
%defattr(-, root, bin)
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    49
%dir %attr (0755, root, bin) %{_bindir}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    50
%{_bindir}/*
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    51
%{_prefix}/man
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    52
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    53
%changelog
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    54
* Wed Jun 11 2008  <[email protected]>
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    55
- update rev
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    56
* Sun Apr 20 2008  <[email protected]>
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    57
- adopt for CBE
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    58
* Sat Nov 17 2007  <[email protected]>
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    59
- create symbolic link gmake to make
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    60
* Tue Oct 30 2007  <[email protected]>
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    61
- adopt for KBE
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    62
* Mon Aug 21 2006  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    63
- move to /opt/jdsbld by default
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    64
- fix file attributes
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    65
* Wed Aug 16 2006  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    66
- add missing deps
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    67
* Fri Sep 02 2004  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    68
- remove unpackaged files
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    69
* Fri Mar 05 2004  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    70
- fix %files
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    71
- change the pkg category