CBElibtool22.spec
author xlucas
Tue, 28 Apr 2009 09:49:26 +0000
changeset 41 31570364d0f1
parent 10 a65a967018ee
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 CBElibtool
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
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
     9
%include CBE.inc
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    10
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    11
Name:			CBElibtool
9
6b2dd986c0ad 2008-05-27 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 7
diff changeset
    12
Version:		2.2.4
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    13
Release:		1
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    14
License:		GPL
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    15
Group:			system/cbe
7
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 libtool
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    19
Source:			ftp://ftp.gnu.org/pub/gnu/libtool/libtool-%{version}.tar.gz
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    20
URL:			http://www.gnu.org/
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: 9
diff changeset
    24
SUNW_Rev:		%{?cbe_version}%{?!cbe_version:0.0}
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    25
Requires:               SUNWcsl
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    26
Requires:               SUNWperl584core
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9
diff changeset
    27
BuildRequires:          %make_dep
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    28
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    29
%define cc_is_gcc %(test "x`basename $CC`" = xgcc && echo 1 || echo 0)
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    30
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    31
%if %cc_is_gcc
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    32
%define optflags           -O2 -Xlinker -i
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    33
%else
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    34
%define optflags           -xO4 -i -xspace -xstrconst -mr
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    35
%endif
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    36
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    37
%description
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    38
GNU libtool for the Desktop build environment
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    39
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    40
%prep
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    41
%setup -q -n libtool-%{version}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    42
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    43
%build
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    44
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    45
if test "x$CPUS" = "x" -o $CPUS = 0; then
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    46
  CPUS=1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    47
fi
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    48
CFLAGS="$RPM_OPT_FLAGS"			\
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    49
./configure \
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    50
    --prefix=%{_prefix} \
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    51
    --infodir=%{_infodir}
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9
diff changeset
    52
gmake -j$CPUS
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    53
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    54
%install
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9
diff changeset
    56
gmake install DESTDIR=$RPM_BUILD_ROOT
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    57
rm -f $RPM_BUILD_ROOT%{_libdir}/*a
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    58
rm -rf $RPM_BUILD_ROOT%{_infodir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    59
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    60
%clean
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    61
rm -rf $RPM_BUILD_ROOT
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    62
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    63
%files
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    64
%defattr(-, root, bin)
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    65
%dir %attr (0755, root, bin) %{_bindir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    66
%{_bindir}/*
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    67
%dir %attr (0755, root, sys) %{_datadir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    68
%{_datadir}/libtool
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    69
%dir %attr (0755, root, other) %{_datadir}/aclocal
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    70
%{_datadir}/aclocal/*
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    71
%dir %attr (0755, root, bin) %{_libdir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    72
%{_libdir}/lib*.so*
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    73
%dir %attr (0755, root, bin) %{_includedir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    74
%{_includedir}/*
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    75
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    76
%changelog
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9
diff changeset
    77
* Wed Jun 11 2008  <[email protected]>
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9
diff changeset
    78
- update rev, gmake depedency
9
6b2dd986c0ad 2008-05-27 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 7
diff changeset
    79
* Tue May 27 2008 <[email protected]>
6b2dd986c0ad 2008-05-27 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 7
diff changeset
    80
- bump to 2.2.4
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    81
* Tue Aug 22 2006  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    82
- fix %files attributes
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    83
- move to /opt/jdsbld by default
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    84
* Wed Aug 16 2006  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    85
- add missing deps
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    86
- bump to 1.5.22
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    87
* Wed Sep 07 2005  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    88
- update to 1.5.20
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    89
- fix bug where convenience libs are comma separated after -z allextract
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    90
* Fri Sep 02 2004  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    91
- remove unpackaged files
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    92
* Tue Jun 14 2005  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    93
- update to 1.5.18
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    94
* Thu Jun 09 2005  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    95
- update to 1.5.14
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    96
* Sun Sep 05 2004  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    97
- enable parallel build
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    98
* Fri Mar 05 2004  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    99
- fix %files
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
   100
- change the pkg category