1
|
1 |
#
|
|
2 |
# spec file for package CBEcvs
|
|
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: CBEcvs
|
7
|
12 |
Version: 1.12.13
|
1
|
13 |
License: GPL, LGPL
|
|
14 |
Group: system/cbe
|
7
|
15 |
Distribution: Desktop CBE
|
1
|
16 |
Vendor: Sun Microsystems, Inc.
|
7
|
17 |
Summary: Desktop CBE: CVS - concurrent versions system
|
1
|
18 |
Source: http://ftp.gnu.org/non-gnu/cvs/source/feature/%{version}/cvs-%{version}.tar.bz2
|
|
19 |
URL: http://www.cvshome.org/
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
SUNW_BaseDir: %{_prefix}
|
7
|
22 |
SUNW_Category: CBE,JDS,application
|
10
|
23 |
SUNW_Rev: %{?cbe_version}%{?!cbe_version:0.0}
|
1
|
24 |
%include default-depend.inc
|
|
25 |
Requires: SUNWperl584core
|
10
|
26 |
BuildRequires: %make_dep
|
1
|
27 |
|
|
28 |
%description
|
|
29 |
CVS: concurrent versions system.
|
|
30 |
Open Source de-facto standard version control system.
|
|
31 |
|
|
32 |
%prep
|
|
33 |
%setup -q -n cvs-%{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 |
--mandir=%{_mandir}
|
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 -rf $RPM_BUILD_ROOT%{_prefix}/info
|
|
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}/*
|
|
60 |
%{_datadir}/cvs
|
|
61 |
|
|
62 |
%changelog
|
10
|
63 |
* Wed Jun 11 2008 <[email protected]>
|
|
64 |
- update rev, make depedency
|
1
|
65 |
* Mon Apr 14 2008 - [email protected]
|
|
66 |
- update deps
|
|
67 |
- use CBE.inc
|
|
68 |
* Mon Mar 3 2008 - [email protected]
|
|
69 |
- bump to 1.12.15
|
|
70 |
* Thu Oct 5 2006 <[email protected]>
|
|
71 |
- downgrade to 1.12.5 because 1.12.13 sometimes hangs on in select()
|
|
72 |
if compression is used. Already fixed in the cvs cvs, so 1.12.14 should
|
|
73 |
be fine.
|
|
74 |
* Sat Aug 19 2006 <[email protected]>
|
|
75 |
- move to /opt/jdsbld by default
|
|
76 |
- update default attributes
|
|
77 |
* Wed Aug 16 2006 <[email protected]>
|
|
78 |
- add missing deps
|
|
79 |
- bump to 1.12.13
|
|
80 |
* Wed Oct 12 2005 <[email protected]>
|
|
81 |
- add datadir to %files as bin/rcs2log is a link to a file in share
|
|
82 |
* Fri Sep 02 2004 <[email protected]>
|
|
83 |
- remove unpackaged files
|
|
84 |
* Sun Sep 05 2004 <[email protected]>
|
|
85 |
- enable parallel build
|
|
86 |
* Fri Mar 05 2004 <[email protected]>
|
|
87 |
- fix %files
|
|
88 |
- change the pkg category
|