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
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}
12
af4384a951ad 2008-06-14 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10
diff changeset
    42
cd $RPM_BUILD_ROOT%{_bindir}
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    43
ln -s make gmake 
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    44
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    45
%clean
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    46
rm -rf $RPM_BUILD_ROOT
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    47
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    48
%files
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    49
%defattr(-, root, bin)
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    50
%dir %attr (0755, root, bin) %{_bindir}
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    51
%{_bindir}/*
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    52
%{_prefix}/man
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    53
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    54
%changelog
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    55
* Wed Jun 11 2008  <[email protected]>
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    56
- update rev
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    57
* Sun Apr 20 2008  <[email protected]>
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    58
- adopt for CBE
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    59
* Sat Nov 17 2007  <[email protected]>
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    60
- create symbolic link gmake to make
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    61
* Tue Oct 30 2007  <[email protected]>
4
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    62
- adopt for KBE
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    63
* Mon Aug 21 2006  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    64
- move to /opt/jdsbld by default
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    65
- fix file attributes
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    66
* Wed Aug 16 2006  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    67
- add missing deps
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    68
* Fri Sep 02 2004  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    69
- remove unpackaged files
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    70
* Fri Mar 05 2004  <[email protected]>
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    71
- fix %files
407e0b9732b0 add GNU sed, GNU awk to CBE
xlucas
parents:
diff changeset
    72
- change the pkg category