1
|
1 |
#
|
|
2 |
# spec file for package CBElibtool
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
|
|
9 |
%include CBE.inc
|
|
10 |
|
|
11 |
Name: CBElibtool
|
|
12 |
Version: 1.5.26
|
|
13 |
Release: 1
|
7
|
14 |
License: GPL
|
|
15 |
Group: system/cbe
|
|
16 |
Distribution: Desktop CBE
|
1
|
17 |
Vendor: Sun Microsystems, Inc.
|
7
|
18 |
Summary: Desktop CBE: GNU libtool
|
1
|
19 |
Source: ftp://ftp.gnu.org/pub/gnu/libtool/libtool-%{version}.tar.gz
|
|
20 |
URL: http://www.gnu.org/
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
SUNW_BaseDir: %{_prefix}
|
7
|
23 |
SUNW_Category: CBE,KDE,JDS,application
|
10
|
24 |
SUNW_Rev: %{?cbe_version}%{?!cbe_version:0.0}
|
1
|
25 |
Requires: SUNWcsl
|
|
26 |
Requires: SUNWperl584core
|
10
|
27 |
BuildRequires: %make_dep
|
1
|
28 |
|
|
29 |
%description
|
7
|
30 |
GNU libtool for the Desktop build environment
|
1
|
31 |
|
|
32 |
%prep
|
|
33 |
%setup -q -n libtool-%{version}
|
|
34 |
|
|
35 |
%build
|
|
36 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
37 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
38 |
CPUS=1
|
|
39 |
fi
|
|
40 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
41 |
./configure \
|
|
42 |
--prefix=%{_prefix} \
|
|
43 |
--infodir=%{_infodir}
|
10
|
44 |
gmake -j$CPUS
|
1
|
45 |
|
|
46 |
%install
|
|
47 |
rm -rf $RPM_BUILD_ROOT
|
10
|
48 |
gmake install DESTDIR=$RPM_BUILD_ROOT
|
1
|
49 |
rm -f $RPM_BUILD_ROOT%{_libdir}/*a
|
|
50 |
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
|
51 |
|
|
52 |
%clean
|
|
53 |
rm -rf $RPM_BUILD_ROOT
|
|
54 |
|
|
55 |
%files
|
|
56 |
%defattr(-, root, bin)
|
|
57 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
58 |
%{_bindir}/*
|
|
59 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
60 |
%{_datadir}/libtool
|
|
61 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
62 |
%{_datadir}/aclocal/*
|
|
63 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
64 |
%{_libdir}/lib*.so*
|
|
65 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
66 |
%{_includedir}/*
|
|
67 |
|
|
68 |
%changelog
|
10
|
69 |
* Wed Jun 11 2008 <[email protected]>
|
|
70 |
- update rev, gmake depedency
|
1
|
71 |
* Tue Aug 22 2006 <[email protected]>
|
|
72 |
- fix %files attributes
|
|
73 |
- move to /opt/jdsbld by default
|
|
74 |
* Wed Aug 16 2006 <[email protected]>
|
|
75 |
- add missing deps
|
|
76 |
- bump to 1.5.22
|
|
77 |
* Wed Sep 07 2005 <[email protected]>
|
|
78 |
- update to 1.5.20
|
|
79 |
- fix bug where convenience libs are comma separated after -z allextract
|
|
80 |
* Fri Sep 02 2004 <[email protected]>
|
|
81 |
- remove unpackaged files
|
|
82 |
* Tue Jun 14 2005 <[email protected]>
|
|
83 |
- update to 1.5.18
|
|
84 |
* Thu Jun 09 2005 <[email protected]>
|
|
85 |
- update to 1.5.14
|
|
86 |
* Sun Sep 05 2004 <[email protected]>
|
|
87 |
- enable parallel build
|
|
88 |
* Fri Mar 05 2004 <[email protected]>
|
|
89 |
- fix %files
|
|
90 |
- change the pkg category
|