CBEdiff.spec
author laca
Tue, 10 Jun 2008 13:04:19 +0000
changeset 10 a65a967018ee
parent 7 fe5233293a17
child 17 5bfcb9e423cd
permissions -rw-r--r--
2008-06-11 Laszlo (Laca) Peter <[email protected]> * README: (new) note on building the CBE from svn * CBEant.spec: update rev * CBEautoconf.spec: update rev, gmake dependency * CBEautomake.spec: update rev, gmake dependency, create aclocal symlink * CBEbison.spec: update rev, gmake dependency * CBEcmake.spec: update rev, gmake depedency, use -norunpath with CC * CBEcoreutils.spec: update rev, gmake dependency * CBEcvs.spec: update rev, gmake depedency * CBEdiff.spec: update rev, gmake depedency * CBEenv.spec: update version, create symlinks for [Open]Solaris gnu make, automake, aclocal * CBEflex.spec: update rev, gmake depedency, use c99flag * CBEgettext.spec: update rev, gmake dependency * CBEgnuawk.spec: update rev, gmake dependency * CBEgnused.spec: update rev, gmake dependency * CBElibtool.spec: update rev, gmake dependency * CBElibtool22.spec: update rev, gmake dependency * CBEm4.spec: update rev, gmake dependency * CBEmake.spec: update rev * CBErsync.spec: update rev, gmake dependency * CBEsubversion.spec: update rev, gmake dependency * CBEyasm.spec: update rev, gmake dependency, fix _datadir, _mandir attributes * cbe-install: major rework for Solaris 10, Nevada and OpenSolaris * cbe-remove: remove all 'JDS CBE' and 'Desktop CBE' packages * ext-sources/env.csh: fix unset bug reported by Ben Taylor, where multi-line values break the script * ext-sources/env.sh: fix unset bug reported by Ben Taylor * include/CBE.inc: define c99flag, cxx_optflags, make_dep and change default cbe prefix to /opt/dtbld
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 CBEdiff
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:			CBEdiff
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    12
Version:		2.8.1
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.
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    18
Summary:		Desktop CBE: GNU diff
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    19
Source:			ftp://ftp.gnu.org/pub/gnu/diffutils/diffutils-%{version}.tar.gz
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    20
Source2:                gendiff
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    21
URL:			http://www.gnu.org/
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    22
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    23
SUNW_BaseDir:		%{_prefix}
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    24
SUNW_Category:          CBE,KDE,JDS,application
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    25
SUNW_Rev:		%{?cbe_version}%{?!cbe_version:0.0}
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    26
%include default-depend.inc
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
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
%description
7
fe5233293a17 2008-04-20 Lukas (Luc) Oboril <[email protected]>
xlucas
parents: 1
diff changeset
    30
GNU diff for the Desktop build environment
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    31
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    32
%prep
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    33
%setup -q -n diffutils-%{version}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    34
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    35
%build
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    36
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    37
if test "x$CPUS" = "x" -o $CPUS = 0; then
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    38
  CPUS=1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    39
fi
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    40
CFLAGS="$RPM_OPT_FLAGS"			\
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    41
./configure \
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    42
    --prefix=%{_prefix} \
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    43
    --mandir=%{_mandir} \
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    44
    --infodir=%{_infodir}
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    45
gmake -j$CPUS
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    46
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    47
%install
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    48
rm -rf $RPM_BUILD_ROOT
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    49
gmake install \
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    50
    prefix=$RPM_BUILD_ROOT%{_prefix} \
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    51
    mandir=$RPM_BUILD_ROOT%{_mandir} \
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    52
    infodir=$RPM_BUILD_ROOT%{_infodir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    53
/usr/ucb/install -m 0755 %SOURCE2 $RPM_BUILD_ROOT%{_bindir}/gendiff
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    54
rm -rf $RPM_BUILD_ROOT%{_infodir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    55
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    56
%clean
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    57
rm -rf $RPM_BUILD_ROOT
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    58
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    59
%files
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    60
%defattr(-, root, bin)
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    61
%dir %attr (0755, root, bin) %{_bindir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    62
%{_bindir}/*
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    63
%dir %attr (0755, root, sys) %{_datadir}
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    64
%{_mandir}/*
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    65
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    66
%changelog
10
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    67
* Wed Jun 11 2008  <[email protected]>
a65a967018ee 2008-06-11 Laszlo (Laca) Peter <[email protected]>
laca
parents: 7
diff changeset
    68
- update rev, gmake depedency
1
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    69
* Mon Apr 14 2008 - [email protected]
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    70
- update deps
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    71
- use CBE.inc
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    72
* Tue Aug 22 2006  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    73
- fix %files attributes
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    74
- move to /opt/jdsbld by default
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    75
* Wed Aug 16 2006  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    76
- add missing deps
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    77
* Fri Dec 09 2005  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    78
- Add gendiff (taken from rpm 3.0.6, license: GPL)
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    79
* Fri Sep 02 2005  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    80
- remove unpackaged files
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    81
* Sun Sep 05 2004  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    82
- enable parallel build
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    83
* Tue Mar 09 2004  <[email protected]>
102c9870ef63 initial import -- still incomplete
laca
parents:
diff changeset
    84
- initial version