CBEcoreutils.spec
author xlucas
Tue, 28 Apr 2009 09:49:26 +0000
changeset 41 31570364d0f1
parent 20 f8e2b17c8c4f
child 48 7279c3f9140d
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:
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
     1
#
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
     2
# spec file for package CBEcoreutils
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
     3
#
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
     4
# Copyright 2008 Sun Microsystems, Inc.
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
     7
#
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
     8
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
     9
%include CBE.inc
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    10
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    11
Name:			CBEcoreutils
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    12
Version:		6.10
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    13
Release:		1
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    14
License:		GPL
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    15
Group:			system/cbe
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    16
Distribution:		Desktop CBE
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    17
Vendor:			Sun Microsystems, Inc.
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    18
Summary:		Desktop CBE: GNU coreutils
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    19
Source:			ftp://ftp.gnu.org/pub/gnu/coreutils/coreutils-%{version}.tar.gz
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    20
URL:			http://www.gnu.org/software/coreutils
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    21
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    22
SUNW_BaseDir:		%{_prefix}
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    23
SUNW_Category:          CBE,KDE,JDS,application
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    24
SUNW_Rev:		%{?cbe_version}%{?!cbe_version:0.0}
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    25
%include default-depend.inc
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    26
BuildRequires:          %make_dep
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    27
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    28
%description
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    29
GNU coreutils for the Desktop build environment
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    30
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    31
%prep
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    32
%setup -q -n coreutils-%{version}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    33
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    34
%build
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    35
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    36
if test "x$CPUS" = "x" -o $CPUS = 0; then
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    37
  CPUS=1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    38
fi
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    39
export LINGUAS="xx"
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    40
%define _mandir %{_datadir}/man
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    41
CFLAGS="$RPM_OPT_FLAGS %c99flag"			\
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    42
./configure --prefix=%{_prefix} --mandir=%{_mandir}
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    43
gmake -j$CPUS
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    44
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    45
%install
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    46
rm -rf $RPM_BUILD_ROOT
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    47
gmake install DESTDIR=$RPM_BUILD_ROOT
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    48
rm -rf $RPM_BUILD_ROOT%{_libdir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    49
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
20
f8e2b17c8c4f 2008-06-17 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10
diff changeset
    50
cd $RPM_BUILD_ROOT%{_bindir}
f8e2b17c8c4f 2008-06-17 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10
diff changeset
    51
ln -s install ginstall
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    52
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    53
%clean
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    54
rm -rf $RPM_BUILD_ROOT
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    55
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    56
%files
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    57
%defattr(-, root, bin)
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    58
%dir %attr (0755, root, bin) %{_bindir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    59
%{_bindir}/*
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    60
%dir %attr (0755, root, sys) %{_datadir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    61
%{_datadir}/*
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    62
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    63
%changelog
20
f8e2b17c8c4f 2008-06-17 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10
diff changeset
    64
* Tue Jun 17 2008  <[email protected]>
f8e2b17c8c4f 2008-06-17 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10
diff changeset
    65
- create ginstall symlink to install to match SUNWgnu-coreutils
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    66
* Wed Jun 11 2008  <[email protected]>
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    67
- update rev, gmake depedency
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    68
* Mon Apr 14 2008 - [email protected]
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    69
- update deps
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    70
- use CBE.inc
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    71
* Mon Mar  3 2008 - [email protected]
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    72
- rename to CBEcoreutils (from CBEfileutils) and bump to 6.10
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    73
* Tue Aug 22 2006  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    74
- fix %files attributes
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    75
- move to /opt/jdsbld by default
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    76
* Wed Aug 16 2006  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    77
- add missing deps
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    78
* Tue Aug  1 2006 - [email protected]
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    79
- add -xc99 (fix from Doug Scott)
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    80
* Fri Sep 02 2004  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    81
- remove unpackaged files
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    82
* Sun Sep 05 2004  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    83
- enable parallel build
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    84
* Fri Mar 05 2004  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    85
- fix %files
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    86
- change the pkg category