author | xlucas |
Thu, 23 Jul 2009 10:43:32 +0000 | |
changeset 45 | c816a0db9647 |
parent 44 | 9d78700fb711 |
child 49 | 108dc0f05be7 |
permissions | -rw-r--r-- |
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 |
|
44
9d78700fb711
2009-07-22 Lukas (Luc) Oboril <[email protected]> * CBEflex.spec: bump to 2.5.3 * cbe-install: add support for Sun Studio 12 update1 specify patch level of Sun Studio version * Changelog: fix my previous records there ;) * CBEsubversion.spec: change source tarball location of apr and apr-util
xlucas
parents:
12
diff
changeset
|
14 |
%define apache_site http://archive.apache.org/dist/apr |
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 |
44
9d78700fb711
2009-07-22 Lukas (Luc) Oboril <[email protected]> * CBEflex.spec: bump to 2.5.3 * cbe-install: add support for Sun Studio 12 update1 specify patch level of Sun Studio version * Changelog: fix my previous records there ;) * CBEsubversion.spec: change source tarball location of apr and apr-util
xlucas
parents:
12
diff
changeset
|
23 |
Source1: %apache_site/apr-%{version_apr}.tar.bz2 |
9d78700fb711
2009-07-22 Lukas (Luc) Oboril <[email protected]> * CBEflex.spec: bump to 2.5.3 * cbe-install: add support for Sun Studio 12 update1 specify patch level of Sun Studio version * Changelog: fix my previous records there ;) * CBEsubversion.spec: change source tarball location of apr and apr-util
xlucas
parents:
12
diff
changeset
|
24 |
Source2: %apache_site/apr-util-%{version_apr_util}.tar.bz2 |
7 | 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 |
|
44
9d78700fb711
2009-07-22 Lukas (Luc) Oboril <[email protected]> * CBEflex.spec: bump to 2.5.3 * cbe-install: add support for Sun Studio 12 update1 specify patch level of Sun Studio version * Changelog: fix my previous records there ;) * CBEsubversion.spec: change source tarball location of apr and apr-util
xlucas
parents:
12
diff
changeset
|
115 |
* Wed Jul 22 2009 <[email protected]> |
9d78700fb711
2009-07-22 Lukas (Luc) Oboril <[email protected]> * CBEflex.spec: bump to 2.5.3 * cbe-install: add support for Sun Studio 12 update1 specify patch level of Sun Studio version * Changelog: fix my previous records there ;) * CBEsubversion.spec: change source tarball location of apr and apr-util
xlucas
parents:
12
diff
changeset
|
116 |
- change source location of apr and apr-utils |
10 | 117 |
* Wed Jun 11 2008 <[email protected]> |
118 |
- update rev, gmake depedency |
|
7 | 119 |
* Mon Apr 21 2008 - <[email protected]> |
120 |
- adopt for Desktop CBE |
|
121 |
- bump to 1.4.6 |
|
122 |
* Wed Oct 31 2007 - <[email protected]> |
|
123 |
- adopt for KBE |
|
124 |
- bump to 1.4.5 |
|
125 |
* Thu Mar 22 2007 - [email protected] |
|
126 |
- Bump to 1.4.3. |
|
127 |
- Remove "-I/usr/sfw/include" from CFLAGS and |
|
128 |
"-L/usr/sfw/lib -R/usr/sfw/lib" from LDFLAGS to build pass |
|
129 |
- Nevada bundle neon, Change require from SFEneon to SUNWneon |
|
130 |
* Sat Oct 14 2006 - [email protected] |
|
131 |
- disable parallel build as it breaks on multicpu systems |
|
132 |
- bump to 1.4.0 |
|
133 |
* Tue Sep 26 2006 - [email protected] |
|
134 |
- Add Requires after check-deps.pl run |
|
135 |
* Fri Jul 7 2006 - [email protected] |
|
136 |
- rename to SFEsubversion |
|
137 |
- add info stuff |
|
138 |
- add some configure options to enable ssl, apache, https support |
|
139 |
- add devel and l10n pkgs |
|
140 |
* Sat Jan 7 2006 <[email protected]> |
|
1 | 141 |
- initial version |