Search
j0ke.net Open Build Service
>
Projects
>
devel
:
subversion
>
subversion
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 43
[-]
[+]
Added
subversion.spec
@@ -0,0 +1,1839 @@ +# +# spec file for package subversion (Version 1.5.6) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +%if 0%{?sles_version:1} +%define with_ruby 0 +%else +%define with_ruby 1 +%endif + +Name: subversion +%if 0%{?suse_version} > 910 +BuildRequires: update-alternatives +%endif # suse_version > 910 +BuildRequires: apache2-devel db-devel gcc-c++ python-devel zlib-devel +%if %with_ruby +BuildRequires: ruby-devel +%endif +BuildRequires: apache2-prefork +%ifarch ppc ppc64 +%define with_java 0 +%else +%if 0%{?sles_version:1} +%define with_java 0 +%else +%define with_java 1 +%if 0%{?suse_version} > 1110 +BuildRequires: java-1_6_0-openjdk-devel +%else +%if 0%{?suse_version} > 1030 +BuildRequires: java-1_6_0-sun-devel +%else +BuildRequires: java-1_5_0-sun-devel +%endif # suse_version > 1030 +%endif # suse_version > 1110 +%endif # sles_version +%endif # ifarch +%if 0%{?suse_version} > 1030 +BuildRequires: libneon-devel +%else +BuildRequires: neon-devel openldap2-devel +%endif # suse_version > 1030 +BuildRequires: sqlite-devel +Version: 1.5.7 +Release: 0.1 +# +%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services +# +%define apxs /usr/sbin/apxs2 +%define apache_libexecdir %(%{apxs} -q LIBEXECDIR) +%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR) +%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) +%if %{!?site_python:1}0 +%define site_python %(python -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib()") +%endif +# +%define swig_version 1.3.33 +# +PreReq: %insserv_prereq %fillup_prereq +# +Summary: A Concurrent Versioning system similar to but better than CVS +BuildRoot: %{_tmppath}/%{name}-%{version}-build +License: Subversion license, http://subversion.tigris.org/license-1.html +Group: Development/Tools/Version Control +Url: http://subversion.tigris.org +Source0: http://subversion.tigris.org/downloads/subversion-%{version}.tar.bz2 +Source1: subversion.conf +Source2: subversion.README.SuSE +Source9: subversion.rcsvnserve +# http://prdownloads.sourceforge.net/swig/swig-%{swig_version}.tar.gz +Source90: swig-%{swig_version}.tar.bz2 +Source10: subversion.sysconfig.svnserve +Source12: subversion.sysconfig.svnserve.remoteaccess +Source13: subversion.xinetd.svnserve +Source42: subversion.svngrep.sh +Source43: subversion.svndiff.sh +# +Patch11: subversion.libtool-verbose.patch +# build fixes +Patch20: subversion-swig-perl-install_vendor.patch +Patch23: subversion.libtool-pie-flags.patch +Patch31: subversion.perl.LD_RUN_PATH.patch +Patch33: subversion.header_wrappers.patch +Patch34: subversion.allowed-neon.patch +Patch35: subversion.java14.patch +Patch36: subversion-1.5.x-no-neon-la.patch +# + +%if %with_ruby +%if %{!?rb_arch:1}0 +%define rb_arch %(echo "%{_host_cpu}-%{_os}" | sed -e "s/i686/i586/" -e "s/armv5tel/armv4l/" -e "s/hppa2.0/hppa/") +%endif +%if %{!?rb_major_ver:1}0 +%define rb_major_ver %(/usr/bin/ruby -e 'puts VERSION'|cut -f1,2 -d.) +%endif +%if %{!?site_ruby:1}0 +%define site_ruby %{_usr}/%{_lib}/ruby/site_ruby/%{rb_major_ver} +%endif +%endif + +%description +Subversion does the same thing cvs (CVS (Concurrent Versioning System)) +but has major enhancements compared to CVS. The name of the cmdline +client is svn. + +%package devel +License: The Apache Software License +Group: Development/Libraries/C and C++ +Summary: Development package for Subversion developers +Requires: subversion = %{version} +# this pulls in libapr1-devel and libexpat-devel +Requires: libapr-util1-devel + +%description devel +The subversion-devel package includes the static libraries and include +files for developers interacting with the subversion package. + +%package tools +License: The Apache Software License; Subversion License, http://subversion.tigris.org/license-1.html +Group: Development/Tools/Version Control +Summary: Tools for Subversion + +%description tools +This package contains a lot of tools for subversion server and + repository admins: * hot-backup makes a backup of a svn repo + without stopping + +* various scripts for client (bash_completion, showchange.pl, + svn-graph.pl, ...) and server (svn-backup-dumps.py, ...) site + +* po file translation scripts + +* hook scripts + +* xslt example + +* some scripts and code examples + +An overview of the scripts can be found at: +http://subversion.tigris.org/tools_contrib.html + +%package perl +License: The Apache Software License; Subversion License, http://subversion.tigris.org/license-1.html +Group: Development/Tools/Version Control +Summary: Allows Perl scripts to directly use Subversion repositories. +Requires: subversion = %{version} +Requires: perl >= 5.8 + +%description perl +Provides Perl (SWIG) support for Subversion. + +%package python +License: The Apache Software License; Subversion License, http://subversion.tigris.org/license-1.html +Group: Development/Tools/Version Control +Summary: Allows Python scripts to directly use Subversion repositories. +Requires: subversion = %{version} + +%description python +Provides Python (SWIG) support for Subversion. + +%if %with_ruby +%package ruby +License: The Apache Software License; Subversion License, http://subversion.tigris.org/license-1.html +Group: Development/Tools/Version Control +Summary: Allows Ruby scripts to directly use Subversion repositories. +Requires: subversion = %{version} + +%description ruby +Provides Ruby (SWIG) support for Subversion. +%endif + +%package server +License: The Apache Software License +Group: Development/Tools/Version Control +Summary: Apache server module for Subversion server +Requires: subversion = %{version} apache2 %{apache_mmn} + +%description server +The subversion-server package adds the Subversion server Apache module +to the Apache directories and configuration. + +http://subversion.tigris.org + +%prep