author | xlucas |
Tue, 15 Dec 2009 11:02:29 +0000 | |
changeset 50 | c265167ce53c |
parent 48 | 7279c3f9140d |
permissions | -rw-r--r-- |
1 | 1 |
# |
2 |
# spec file for package CBEm4 |
|
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: CBEm4 |
|
48
7279c3f9140d
2009-11-15 Lukas (Luc) Oboril <[email protected]> * CBEm4: bump to 1.4.12, as same as Opensolaris has * CBEautoconf.spec: bump to 2.63 as same as Opensolaris has * CBEcoreutils.spec: bump to 7.4 as same as Opensolaris has * CBErsync.spec: bump to 3.0.6
xlucas
parents:
10
diff
changeset
|
12 |
Version: 1.4.12 |
1 | 13 |
License: GPL |
14 |
Group: system/cbe |
|
7 | 15 |
Distribution: Desktop CBE |
1 | 16 |
Vendor: Sun Microsystems, Inc. |
7 | 17 |
Summary: Desktop CBE: GNU m4 |
1 | 18 |
Source: ftp://ftp.gnu.org/pub/gnu/m4/m4-%{version}.tar.gz |
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} |
1 | 24 |
%include default-depend.inc |
10 | 25 |
BuildRequires: %make_dep |
1 | 26 |
|
27 |
%description |
|
7 | 28 |
GNU m4 for the Desktop build environment |
1 | 29 |
|
30 |
%prep |
|
31 |
%setup -q -n m4-%{version} |
|
32 |
||
33 |
%build |
|
34 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
35 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
36 |
CPUS=1 |
|
37 |
fi |
|
38 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
39 |
./configure --prefix=%{_prefix} \ |
|
40 |
--infodir=%{_infodir} |
|
10 | 41 |
gmake -j$CPUS |
1 | 42 |
|
43 |
%install |
|
44 |
rm -rf $RPM_BUILD_ROOT |
|
10 | 45 |
gmake install \ |
1 | 46 |
prefix=$RPM_BUILD_ROOT%{_prefix} \ |
47 |
infodir=$RPM_BUILD_ROOT%{_infodir} |
|
48 |
rm -rf $RPM_BUILD_ROOT%{_infodir} |
|
9 | 49 |
rm -rf $RPM_BUILD_ROOT%{_libdir} |
1 | 50 |
|
51 |
%clean |
|
52 |
rm -rf $RPM_BUILD_ROOT |
|
53 |
||
54 |
%files |
|
55 |
%defattr(-, root, bin) |
|
56 |
%dir %attr (0755, root, bin) %{_bindir} |
|
57 |
%{_bindir}/* |
|
58 |
%dir %attr (0755, root, sys) %{_datadir} |
|
59 |
%{_mandir}/man1 |
|
60 |
||
61 |
%changelog |
|
48
7279c3f9140d
2009-11-15 Lukas (Luc) Oboril <[email protected]> * CBEm4: bump to 1.4.12, as same as Opensolaris has * CBEautoconf.spec: bump to 2.63 as same as Opensolaris has * CBEcoreutils.spec: bump to 7.4 as same as Opensolaris has * CBErsync.spec: bump to 3.0.6
xlucas
parents:
10
diff
changeset
|
62 |
* Sat Nov 15 2009 <[email protected]> |
7279c3f9140d
2009-11-15 Lukas (Luc) Oboril <[email protected]> * CBEm4: bump to 1.4.12, as same as Opensolaris has * CBEautoconf.spec: bump to 2.63 as same as Opensolaris has * CBEcoreutils.spec: bump to 7.4 as same as Opensolaris has * CBErsync.spec: bump to 3.0.6
xlucas
parents:
10
diff
changeset
|
63 |
- bump to 1.4.12 as same as Opensolaris has |
10 | 64 |
* Wed Jun 11 2008 <[email protected]> |
65 |
- update rev, make depedency |
|
9 | 66 |
* Tue May 27 2008 <[email protected]> |
67 |
- bump to 1.4.9 |
|
68 |
- remove ${_libdir} files from install |
|
1 | 69 |
* Tue Aug 22 2006 <[email protected]> |
70 |
- fix %files attributes |
|
71 |
- move to /opt/jdsbld by default |
|
72 |
* Wed Aug 16 2006 <[email protected]> |
|
73 |
- add missing deps |
|
74 |
- bump to 1.4.5 |
|
75 |
* Fri Sep 02 2004 <[email protected]> |
|
76 |
- remove unpackaged files |
|
77 |
* Sun Sep 05 2004 <[email protected]> |
|
78 |
- enable parallel build |
|
79 |
* Fri Mar 05 2004 <[email protected]> |
|
80 |
- fix %files |
|
81 |
- change the pkg category |