CBEmake.spec
author xlucas
Sun, 20 Apr 2008 08:19:47 +0000
changeset 4 407e0b9732b0
child 7 fe5233293a17
permissions -rw-r--r--
add GNU sed, GNU awk to CBE add GNU make (for Solaris 10 users) better patch to cmake (remove optimalization from default settings) add ldflags to CBE.inc (temporary for test builds) fix packaging of cmake
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
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    14
Distribution:		JDS CBE
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    15
Vendor:			Sun Microsystems, Inc.
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    16
Summary:		JDS CBE: GNU make
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    17
Source:			ftp://ftp.gnu.org/pub/gnu/make/make-%{version}.tar.bz2
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    18
URL:			http://www.gnu.org/
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    19
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    20
SUNW_BaseDir:		%{_prefix}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    21
SUNW_Category:          JDS,CBE,application
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    22
SUNW_Rev:		@CBE_VERSION@
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    23
%include default-depend.inc
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    24
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    25
%prep
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    26
%setup -q -n make-%{version}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    27
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    28
%build
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    29
export CFLAGS="%optflags"
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    30
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    31
./configure	--prefix=%{_prefix} \
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    32
		--without-nls \
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    33
		--infodir=%{_infodir}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    34
make
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    35
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    36
%install
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    37
rm -rf $RPM_BUILD_ROOT
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    38
make install DESTDIR=$RPM_BUILD_ROOT
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    39
rm -rf $RPM_BUILD_ROOT%{_datadir}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    40
rm -rf $RPM_BUILD_ROOT%{_infodir}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    41
ln -s make gmake 
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    42
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    43
%clean
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    44
rm -rf $RPM_BUILD_ROOT
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    45
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    46
%files
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    47
%defattr(-, root, bin)
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    48
%dir %attr (0755, root, bin) %{_bindir}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    49
%{_bindir}/*
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    50
%{_prefix}/man
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    51
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    52
%changelog
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    53
* Sun Apr 20 2008 <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    54
- adopt for CBE
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    55
* Sat Nov 17 2007 <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    56
- create symbolic link gmake to make
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    57
* Tue Oct 30 2007 <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    58
- adopt for KBE
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    59
* Mon Aug 21 2006  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    60
- move to /opt/jdsbld by default
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    61
- fix file attributes
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    62
* Wed Aug 16 2006  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    63
- add missing deps
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    64
* Fri Sep 02 2004  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    65
- remove unpackaged files
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    66
* Fri Mar 05 2004  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    67
- fix %files
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    68
- change the pkg category