CBEcvs.spec
author xlucas
Fri, 10 Jul 2009 13:16:22 +0000
changeset 43 3074c20eff5a
parent 10 a65a967018ee
permissions -rw-r--r--
2009-07-10 Lukas (Luc) Oboril <[email protected]> * bump yasm to 0.8.0

#
# spec file for package CBEcvs
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

%include CBE.inc

Name:			CBEcvs
Version:		1.12.13
License:		GPL, LGPL
Group:			system/cbe
Distribution:		Desktop CBE
Vendor:			Sun Microsystems, Inc.
Summary:		Desktop CBE: CVS - concurrent versions system
Source:			http://ftp.gnu.org/non-gnu/cvs/source/feature/%{version}/cvs-%{version}.tar.bz2
URL:			http://www.cvshome.org/
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
SUNW_BaseDir:		%{_prefix}
SUNW_Category:          CBE,JDS,application
SUNW_Rev:		%{?cbe_version}%{?!cbe_version:0.0}
%include default-depend.inc
Requires: SUNWperl584core
BuildRequires: %make_dep

%description
CVS: concurrent versions system.
Open Source de-facto standard version control system.

%prep
%setup -q -n cvs-%{version}

%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi
CFLAGS="$RPM_OPT_FLAGS"			\
./configure \
    --prefix=%{_prefix} \
    --mandir=%{_mandir}
gmake -j $CPUS

%install
rm -rf $RPM_BUILD_ROOT
gmake install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_prefix}/info

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, sys) %{_datadir}
%{_mandir}/*
%{_datadir}/cvs

%changelog
* Wed Jun 11 2008  <[email protected]>
- update rev, make depedency
* Mon Apr 14 2008 - [email protected]
- update deps
- use CBE.inc
* Mon Mar  3 2008 - [email protected]
- bump to 1.12.15
* Thu Oct  5 2006  <[email protected]>
- downgrade to 1.12.5 because 1.12.13 sometimes hangs on in select()
  if compression is used.  Already fixed in the cvs cvs, so 1.12.14 should
  be fine.
* Sat Aug 19 2006  <[email protected]>
- move to /opt/jdsbld by default
- update default attributes
* Wed Aug 16 2006  <[email protected]>
- add missing deps
- bump to 1.12.13
* Wed Oct 12 2005  <[email protected]>
- add datadir to %files as bin/rcs2log is a link to a file in share
* Fri Sep 02 2004  <[email protected]>
- remove unpackaged files
* Sun Sep 05 2004  <[email protected]>
- enable parallel build
* Fri Mar 05 2004  <[email protected]>
- fix %files
- change the pkg category