1
|
1 |
#
|
|
2 |
# spec file for package CBEsubversion
|
|
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 |
|
7
|
11 |
%define version_apr 1.2.11
|
|
12 |
%define version_apr_util 1.2.10
|
|
13 |
%define version_neon 0.25.5
|
|
14 |
|
1
|
15 |
Name: CBEsvn
|
7
|
16 |
Version: 1.4.6
|
1
|
17 |
License: Apache,LGPL,BSD
|
|
18 |
Group: system/cbe
|
7
|
19 |
Distribution: Desktop CBE
|
1
|
20 |
Vendor: Sun Microsystems, Inc.
|
7
|
21 |
Summary: Desktop CBE: Subversion SCM
|
1
|
22 |
Source: http://subversion.tigris.org/downloads/subversion-%{version}.tar.bz2
|
7
|
23 |
Source1: http://www.apache.org/dist/apr/apr-%{version_apr}.tar.bz2
|
|
24 |
Source2: http://www.apache.org/dist/apr/apr-util-%{version_apr_util}.tar.bz2
|
|
25 |
Source3: http://www.webdav.org/neon/neon-%{version_neon}.tar.gz
|
|
26 |
URL: http://subversion.tigris.org/
|
|
27 |
Patch1: subversion-01-libneon.la.diff
|
1
|
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
29 |
SUNW_BaseDir: %{_prefix}
|
7
|
30 |
SUNW_Category: CBE,KDE,JDS,application
|
10
|
31 |
SUNW_Rev: %{?cbe_version}%{?!cbe_version:0.0}
|
1
|
32 |
Requires: SUNWcsl
|
|
33 |
Requires: SUNWcsr
|
|
34 |
Requires: SUNWlibms
|
|
35 |
Requires: SUNWzlib
|
|
36 |
Requires: SUNWopenssl-libraries
|
7
|
37 |
Requires: SUNWbash
|
1
|
38 |
BuildRequires: SUNWopenssl-include
|
10
|
39 |
BuildRequires: %make_dep
|
12
|
40 |
BuildRequires: SUNWPython
|
1
|
41 |
|
|
42 |
%description
|
7
|
43 |
Subversion source code management system.
|
|
44 |
|
|
45 |
%define _mandir %{_datadir}/man
|
1
|
46 |
|
|
47 |
%prep
|
|
48 |
%setup -q -n subversion-%{version}
|
7
|
49 |
bzcat %SOURCE1 | tar xf -
|
|
50 |
mv apr-%{version_apr} apr
|
|
51 |
bzcat %SOURCE2 | tar xf -
|
|
52 |
mv apr-util-%{version_apr_util} apr-util
|
|
53 |
gzcat %SOURCE3 | tar xf -
|
|
54 |
mv neon-%{version_neon} neon
|
|
55 |
%patch1 -p1 -b .patch01
|
1
|
56 |
|
|
57 |
%build
|
7
|
58 |
export CFLAGS="%{optflags} -I/usr/sfw/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
1
|
59 |
export CPPFLAGS="-I/usr/sfw/include"
|
|
60 |
export LD=/usr/ccs/bin/ld
|
|
61 |
export LDFLAGS="-L%{_prefix}/lib -R%{_prefix}/lib -L/usr/sfw/lib -R/usr/sfw/lib -L$RPM_BUILD_ROOT%{_libdir}"
|
7
|
62 |
export PATH=$PATH:/usr/apache2/bin
|
|
63 |
./autogen.sh
|
|
64 |
aclocal -I build/ac-macros
|
|
65 |
autoconf
|
1
|
66 |
./configure \
|
|
67 |
--prefix=%{_prefix} \
|
|
68 |
--exec-prefix=%{_prefix} \
|
|
69 |
--disable-static \
|
|
70 |
--without-apxs \
|
|
71 |
--with-pic \
|
|
72 |
--with-installbuilddir=%{_datadir}/apr/build \
|
|
73 |
--disable-mod-activation \
|
|
74 |
--mandir=%{_mandir} \
|
|
75 |
--with-ssl \
|
|
76 |
--infodir=%{_infodir}
|
7
|
77 |
|
10
|
78 |
gmake
|
1
|
79 |
|
|
80 |
%install
|
|
81 |
rm -rf $RPM_BUILD_ROOT
|
10
|
82 |
gmake install DESTDIR=$RPM_BUILD_ROOT
|
1
|
83 |
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
|
84 |
|
10
|
85 |
rm $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
86 |
|
1
|
87 |
%clean
|
|
88 |
rm -rf $RPM_BUILD_ROOT
|
|
89 |
|
|
90 |
%files
|
7
|
91 |
%defattr (-, root, bin)
|
1
|
92 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
93 |
%{_bindir}/*
|
7
|
94 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
95 |
%{_libdir}/*
|
1
|
96 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
97 |
%{_includedir}/*
|
|
98 |
%dir %attr (0755, root, sys) %{_datadir}
|
7
|
99 |
%{_datadir}/apr
|
|
100 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
101 |
%{_datadir}/doc/*
|
|
102 |
%attr (-, root, other) %{_datadir}/locale
|
|
103 |
%dir %attr (0755, root, bin) %{_mandir}
|
|
104 |
%dir %attr (0755, root, bin) %{_mandir}/man1
|
|
105 |
%{_mandir}/man1/*
|
|
106 |
%dir %attr (0755, root, bin) %{_mandir}/man3
|
|
107 |
%{_mandir}/man3/*
|
|
108 |
%dir %attr (0755, root, bin) %{_mandir}/man5
|
|
109 |
%{_mandir}/man5/*
|
|
110 |
%dir %attr (0755, root, bin) %{_mandir}/man8
|
|
111 |
%{_mandir}/man8/*
|
|
112 |
|
1
|
113 |
|
|
114 |
%changelog
|
10
|
115 |
* Wed Jun 11 2008 <[email protected]>
|
|
116 |
- update rev, gmake depedency
|
7
|
117 |
* Mon Apr 21 2008 - <[email protected]>
|
|
118 |
- adopt for Desktop CBE
|
|
119 |
- bump to 1.4.6
|
|
120 |
* Wed Oct 31 2007 - <[email protected]>
|
|
121 |
- adopt for KBE
|
|
122 |
- bump to 1.4.5
|
|
123 |
* Thu Mar 22 2007 - [email protected]
|
|
124 |
- Bump to 1.4.3.
|
|
125 |
- Remove "-I/usr/sfw/include" from CFLAGS and
|
|
126 |
"-L/usr/sfw/lib -R/usr/sfw/lib" from LDFLAGS to build pass
|
|
127 |
- Nevada bundle neon, Change require from SFEneon to SUNWneon
|
|
128 |
* Sat Oct 14 2006 - [email protected]
|
|
129 |
- disable parallel build as it breaks on multicpu systems
|
|
130 |
- bump to 1.4.0
|
|
131 |
* Tue Sep 26 2006 - [email protected]
|
|
132 |
- Add Requires after check-deps.pl run
|
|
133 |
* Fri Jul 7 2006 - [email protected]
|
|
134 |
- rename to SFEsubversion
|
|
135 |
- add info stuff
|
|
136 |
- add some configure options to enable ssl, apache, https support
|
|
137 |
- add devel and l10n pkgs
|
|
138 |
* Sat Jan 7 2006 <[email protected]>
|
1
|
139 |
- initial version
|