4
|
1 |
#
|
|
2 |
# spec file for package CBEmake
|
|
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: CBEmake
|
|
12 |
Version: 3.81
|
|
13 |
License: GPL
|
7
|
14 |
Group: system/cbe
|
|
15 |
Distribution: Desktop CBE
|
4
|
16 |
Vendor: Sun Microsystems, Inc.
|
7
|
17 |
Summary: Desktop CBE: GNU make
|
4
|
18 |
Source: ftp://ftp.gnu.org/pub/gnu/make/make-%{version}.tar.bz2
|
|
19 |
URL: http://www.gnu.org/
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
SUNW_BaseDir: %{_prefix}
|
7
|
22 |
SUNW_Category: CBE,KDE,JDS,application
|
10
|
23 |
SUNW_Rev: %{?cbe_version}%{?!cbe_version:0.0}
|
4
|
24 |
%include default-depend.inc
|
|
25 |
|
|
26 |
%prep
|
|
27 |
%setup -q -n make-%{version}
|
|
28 |
|
|
29 |
%build
|
|
30 |
export CFLAGS="%optflags"
|
|
31 |
|
|
32 |
./configure --prefix=%{_prefix} \
|
|
33 |
--without-nls \
|
|
34 |
--infodir=%{_infodir}
|
|
35 |
make
|
|
36 |
|
|
37 |
%install
|
|
38 |
rm -rf $RPM_BUILD_ROOT
|
|
39 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
40 |
rm -rf $RPM_BUILD_ROOT%{_datadir}
|
|
41 |
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
12
|
42 |
cd $RPM_BUILD_ROOT%{_bindir}
|
4
|
43 |
ln -s make gmake
|
|
44 |
|
|
45 |
%clean
|
|
46 |
rm -rf $RPM_BUILD_ROOT
|
|
47 |
|
|
48 |
%files
|
|
49 |
%defattr(-, root, bin)
|
|
50 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
51 |
%{_bindir}/*
|
|
52 |
%{_prefix}/man
|
|
53 |
|
|
54 |
%changelog
|
10
|
55 |
* Wed Jun 11 2008 <[email protected]>
|
|
56 |
- update rev
|
|
57 |
* Sun Apr 20 2008 <[email protected]>
|
4
|
58 |
- adopt for CBE
|
10
|
59 |
* Sat Nov 17 2007 <[email protected]>
|
4
|
60 |
- create symbolic link gmake to make
|
10
|
61 |
* Tue Oct 30 2007 <[email protected]>
|
4
|
62 |
- adopt for KBE
|
|
63 |
* Mon Aug 21 2006 <[email protected]>
|
|
64 |
- move to /opt/jdsbld by default
|
|
65 |
- fix file attributes
|
|
66 |
* Wed Aug 16 2006 <[email protected]>
|
|
67 |
- add missing deps
|
|
68 |
* Fri Sep 02 2004 <[email protected]>
|
|
69 |
- remove unpackaged files
|
|
70 |
* Fri Mar 05 2004 <[email protected]>
|
|
71 |
- fix %files
|
|
72 |
- change the pkg category
|