b585ba
# set to zero to avoid running test suite
b585ba
b585ba
%bcond_without kwallet
b585ba
%bcond_without python2
b585ba
%bcond_with python3
b585ba
%bcond_without bdb
b585ba
%bcond_without tests
b585ba
%bcond_without pyswig
b585ba
b585ba
%ifarch %{power64} s390x
b585ba
%global with_java 0
b585ba
%else
b585ba
%global with_java 1
b585ba
%endif
b585ba
b585ba
%if %{with python2} == %{with python3}
b585ba
%error Pick exactly one Python version
b585ba
%endif
b585ba
b585ba
# set JDK path to build javahl; default for JPackage
b585ba
%define jdk_path /usr/lib/jvm/java
b585ba
b585ba
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}}
b585ba
b585ba
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
b585ba
b585ba
%if %{with python2}
b585ba
%global svn_python_sitearch %{python2_sitearch}
b585ba
%global svn_python %{__python2}
b585ba
%global svn_python_br python2-devel
b585ba
%else
b585ba
%global svn_python_sitearch %{python3_sitearch}
b585ba
%global svn_python %{__python3}
b585ba
%global svn_python_br python3-devel
b585ba
%endif
b585ba
b585ba
Summary: A Modern Concurrent Version Control System
b585ba
Name: subversion
b585ba
Version: 1.10.2
b585ba
Release: 1%{?dist}
b585ba
License: ASL 2.0
b585ba
Group: Development/Tools
b585ba
URL: https://subversion.apache.org/
b585ba
b585ba
Source0: https://www.apache.org/dist/subversion/subversion-%{version}.tar.bz2
b585ba
Source1: subversion.conf
b585ba
Source3: filter-requires.sh
b585ba
Source4: http://www.xsteve.at/prg/emacs/psvn.el
b585ba
Source5: psvn-init.el
b585ba
Source6: svnserve.service
b585ba
Source7: svnserve.tmpfiles
b585ba
Source8: svnserve.sysconf
b585ba
Patch1: subversion-1.10.0-rpath.patch
b585ba
Patch2: subversion-1.10.0-pie.patch
b585ba
Patch4: subversion-1.8.0-rubybind.patch
b585ba
Patch5: subversion-1.8.5-swigplWall.patch
b585ba
BuildRequires: autoconf, libtool, texinfo, which
b585ba
BuildRequires: swig >= 1.3.24, gettext
b585ba
%if %{with bdb}
b585ba
BuildRequires: libdb-devel >= 4.1.25
b585ba
%endif
b585ba
BuildRequires: %{svn_python_br}
b585ba
BuildRequires: apr-devel >= 1.3.0, apr-util-devel >= 1.3.0
b585ba
BuildRequires: libserf-devel >= 1.3.0, cyrus-sasl-devel
b585ba
BuildRequires: sqlite-devel >= 3.4.0, file-devel, systemd-units
b585ba
BuildRequires: utf8proc-devel, lz4-devel
b585ba
# Any apr-util crypto backend needed
b585ba
BuildRequires: apr-util-openssl
b585ba
# For systemctl scriptlets
b585ba
Requires(post): systemd
b585ba
Requires(preun): systemd
b585ba
Requires(postun): systemd
b585ba
Provides: svn = %{version}-%{release}
b585ba
Requires: subversion-libs%{?_isa} = %{version}-%{release}
b585ba
b585ba
%define __perl_requires %{SOURCE3}
b585ba
b585ba
# Put Python bindings in site-packages
b585ba
%define swigdirs swig_pydir=%{svn_python_sitearch}/libsvn swig_pydir_extra=%{svn_python_sitearch}/svn
b585ba
b585ba
%description
b585ba
Subversion is a concurrent version control system which enables one
b585ba
or more users to collaborate in developing and maintaining a
b585ba
hierarchy of files and directories while keeping a history of all
b585ba
changes.  Subversion only stores the differences between versions,
b585ba
instead of every complete file.  Subversion is intended to be a
b585ba
compelling replacement for CVS.
b585ba
b585ba
%package libs
b585ba
Group: Development/Tools
b585ba
Summary: Libraries for Subversion Version Control system
b585ba
# APR 1.3.x interfaces are required
b585ba
Conflicts: apr%{?_isa} < 1.3.0
b585ba
# Enforced at run-time by ra_serf
b585ba
Conflicts: libserf%{?_isa} < 1.3.0
b585ba
b585ba
%description libs
b585ba
The subversion-libs package includes the essential shared libraries
b585ba
used by the Subversion version control tools.
b585ba
b585ba
%if %{with python2} && %{with pyswig}
b585ba
%package -n python2-subversion
b585ba
%{?python_provide:%python_provide python2-subversion}
b585ba
# Remove before F30
b585ba
Provides: %{name}-python = %{version}-%{release}
b585ba
Provides: %{name}-python%{?_isa} = %{version}-%{release}
b585ba
Obsoletes: %{name}-python < %{version}-%{release}
b585ba
BuildRequires: python2-devel
b585ba
Group: Development/Libraries
b585ba
Summary: Python bindings for Subversion Version Control system
b585ba
b585ba
%description -n python2-subversion
b585ba
The python2-subversion package includes the Python 2.x bindings to the
b585ba
Subversion libraries.
b585ba
%endif
b585ba
%if %{with python3} && %{with pyswig}
b585ba
%package -n python3-subversion
b585ba
%{?python_provide:%python_provide python3-subversion}
b585ba
Group: Development/Libraries
b585ba
Summary: Python bindings for Subversion Version Control system
b585ba
BuildRequires: python3-devel
b585ba
b585ba
%description -n python3-subversion
b585ba
The python3-subversion package includes the Python 3.x bindings to the
b585ba
Subversion libraries.
b585ba
%endif
b585ba
b585ba
%package devel
b585ba
Group: Development/Tools
b585ba
Summary: Development package for the Subversion libraries
b585ba
Requires: subversion%{?_isa} = %{version}-%{release}
b585ba
Requires: apr-devel%{?_isa}, apr-util-devel%{?_isa}
b585ba
b585ba
%description devel
b585ba
The subversion-devel package includes the libraries and include files
b585ba
for developers interacting with the subversion package.
b585ba
b585ba
%package gnome
b585ba
Group: Development/Tools
b585ba
Summary: GNOME Keyring support for Subversion
b585ba
Requires: subversion%{?_isa} = %{version}-%{release}
b585ba
BuildRequires: dbus-devel, libsecret-devel
b585ba
b585ba
%description gnome
b585ba
The subversion-gnome package adds support for storing Subversion
b585ba
passwords in the GNOME Keyring.
b585ba
b585ba
%if %{with kwallet}
b585ba
%package kde
b585ba
Group: Development/Tools
b585ba
Summary: KDE Wallet support for Subversion
b585ba
Requires: subversion%{?_isa} = %{version}-%{release}
b585ba
BuildRequires: kdelibs-devel >= 4.0.0
b585ba
b585ba
%description kde
b585ba
The subversion-kde package adds support for storing Subversion
b585ba
passwords in the KDE Wallet.
b585ba
%endif
b585ba
b585ba
%package -n mod_dav_svn
b585ba
Group: System Environment/Daemons
b585ba
Summary: Apache httpd module for Subversion server
b585ba
Requires: httpd-mmn = %{_httpd_mmn}
b585ba
Requires: subversion-libs%{?_isa} = %{version}-%{release}
b585ba
BuildRequires: httpd-devel >= 2.0.45
b585ba
b585ba
%description -n mod_dav_svn
b585ba
The mod_dav_svn package allows access to a Subversion repository
b585ba
using HTTP, via the Apache httpd server.
b585ba
b585ba
%package perl
b585ba
Group: Development/Libraries
b585ba
Summary: Perl bindings to the Subversion libraries
b585ba
BuildRequires: perl-devel >= 2:5.8.0, perl-generators, perl(ExtUtils::MakeMaker)
b585ba
BuildRequires: perl(Test::More), perl(ExtUtils::Embed)
b585ba
Requires: %(eval `perl -V:version`; echo "perl(:MODULE_COMPAT_$version)")
b585ba
Requires: subversion%{?_isa} = %{version}-%{release}
b585ba
b585ba
%description perl
b585ba
This package includes the Perl bindings to the Subversion libraries.
b585ba
b585ba
%if %{with_java}
b585ba
%package javahl
b585ba
Group: Development/Libraries
b585ba
Summary: JNI bindings to the Subversion libraries
b585ba
Requires: subversion = %{version}-%{release}
b585ba
BuildRequires: java-devel-openjdk
b585ba
# JAR repacking requires both zip and unzip in the buildroot
b585ba
BuildRequires: zip, unzip
b585ba
# For the tests
b585ba
BuildRequires: junit
b585ba
BuildArch: noarch
b585ba
b585ba
%description javahl
b585ba
This package includes the JNI bindings to the Subversion libraries.
b585ba
%endif
b585ba
b585ba
%package ruby
b585ba
Group: Development/Libraries
b585ba
Summary: Ruby bindings to the Subversion libraries
b585ba
BuildRequires: ruby-devel >= 1.9.1, ruby >= 1.9.1
b585ba
BuildRequires: rubygem(test-unit)
b585ba
Requires: subversion%{?_isa} = %{version}-%{release}
b585ba
Conflicts: ruby-libs%{?_isa} < 1.8.2
b585ba
b585ba
%description ruby
b585ba
This package includes the Ruby bindings to the Subversion libraries.
b585ba
b585ba
%package tools
b585ba
Group: Development/Tools
b585ba
Summary: Supplementary tools for Subversion
b585ba
Requires: subversion%{?_isa} = %{version}-%{release}
b585ba
b585ba
%description tools
b585ba
This package includes supplementary tools for use with Subversion.
b585ba
b585ba
%prep
b585ba
%setup -q
b585ba
%patch1 -p1 -b .rpath
b585ba
%patch2 -p1 -b .pie
b585ba
%patch4 -p1 -b .rubybind
b585ba
%patch5 -p1 -b .swigplWall
b585ba
b585ba
%build
b585ba
# Regenerate the buildsystem, so that:
b585ba
#  1) patches applied to configure.in take effect
b585ba
#  2) the swig bindings are regenerated using the system swig
b585ba
# (2) is not ideal since typically upstream test with a different
b585ba
# swig version
b585ba
# This PATH order makes the fugly test for libtoolize work...
b585ba
mv build-outputs.mk build-outputs.mk.old
b585ba
export PYTHON=%{svn_python}
b585ba
b585ba
PATH=/usr/bin:$PATH ./autogen.sh --release
b585ba
b585ba
# fix shebang lines, #111498
b585ba
perl -pi -e 's|/usr/bin/env perl -w|/usr/bin/perl -w|' tools/hook-scripts/*.pl.in
b585ba
# fix python executable
b585ba
perl -pi -e 's|/usr/bin/env python.*|%{svn_python}|' subversion/tests/cmdline/svneditor.py
b585ba
b585ba
# override weird -shrext from ruby
b585ba
export svn_cv_ruby_link="%{__cc} -shared"
b585ba
export svn_cv_ruby_sitedir_libsuffix=""
b585ba
export svn_cv_ruby_sitedir_archsuffix=""
b585ba
b585ba
#export EXTRA_CFLAGS="$RPM_OPT_FLAGS -DSVN_SQLITE_MIN_VERSION_NUMBER=3007012 \
b585ba
#       -DSVN_SQLITE_MIN_VERSION=\\\"3.7.12\\\""
b585ba
export APACHE_LDFLAGS="-Wl,-z,relro,-z,now"
b585ba
export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path}
b585ba
b585ba
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
b585ba
        --disable-debug \
b585ba
        --with-swig --with-serf=%{_prefix} \
b585ba
        --with-ruby-sitedir=%{ruby_vendorarchdir} \
b585ba
        --with-ruby-test-verbose=verbose \
b585ba
        --with-apxs=%{_httpd_apxs} --disable-mod-activation \
b585ba
        --with-apache-libexecdir=%{_httpd_moddir} \
b585ba
        --disable-static --with-sasl=%{_prefix} \
b585ba
        --with-libmagic=%{_prefix} \
b585ba
        --with-gnome-keyring \
b585ba
%if %{with_java}
b585ba
        --enable-javahl \
b585ba
        --with-junit=%{_prefix}/share/java/junit.jar \
b585ba
%endif
b585ba
%if %{with kwallet}
b585ba
        --with-kwallet=%{_includedir}/kde4:%{_libdir}/kde4/devel \
b585ba
%endif
b585ba
%if %{with bdb}
b585ba
        --with-berkeley-db \
b585ba
%else
b585ba
        --without-berkeley-db \
b585ba
%endif
b585ba
        || (cat config.log; exit 1)
b585ba
make %{?_smp_mflags} all tools
b585ba
%if %{with pyswig}
b585ba
make swig-py swig-py-lib %{swigdirs}
b585ba
%endif
b585ba
make swig-pl swig-pl-lib swig-rb swig-rb-lib
b585ba
%if %{with_java}
b585ba
# javahl-javah does not parallel-make with javahl
b585ba
#make javahl-java javahl-javah
b585ba
make javahl
b585ba
%endif
b585ba
b585ba
%install
b585ba
make install DESTDIR=$RPM_BUILD_ROOT
b585ba
%if %{with pyswig}
b585ba
make install-swig-py %{swigdirs} DESTDIR=$RPM_BUILD_ROOT
b585ba
%endif
b585ba
make install-swig-pl-lib install-swig-rb DESTDIR=$RPM_BUILD_ROOT
b585ba
make pure_vendor_install -C subversion/bindings/swig/perl/native \
b585ba
        PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
b585ba
%if %{with_java}
b585ba
make install-javahl-java install-javahl-lib javahl_javadir=%{_javadir} DESTDIR=$RPM_BUILD_ROOT
b585ba
%endif
b585ba
b585ba
install -m 755 -d ${RPM_BUILD_ROOT}%{_sysconfdir}/subversion
b585ba
b585ba
mkdir -p ${RPM_BUILD_ROOT}{%{_httpd_modconfdir},%{_httpd_confdir}}
b585ba
b585ba
%if "%{_httpd_modconfdir}" == "%{_httpd_confdir}"
b585ba
# httpd <= 2.2.x
b585ba
install -p -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_httpd_confdir}
b585ba
%else
b585ba
sed -n /^LoadModule/p %{SOURCE1} > 10-subversion.conf
b585ba
sed    /^LoadModule/d %{SOURCE1} > example.conf
b585ba
touch -r %{SOURCE1} 10-subversion.conf example.conf
b585ba
install -p -m 644 10-subversion.conf ${RPM_BUILD_ROOT}%{_httpd_modconfdir}
b585ba
%endif
b585ba
b585ba
# Remove unpackaged files
b585ba
rm -rf ${RPM_BUILD_ROOT}%{_includedir}/subversion-*/*.txt \
b585ba
       ${RPM_BUILD_ROOT}%{svn_python_sitearch}/*/*.{a,la}
b585ba
b585ba
# The SVN build system is broken w.r.t. DSO support; it treats
b585ba
# normal libraries as DSOs and puts them in $libdir, whereas they
b585ba
# should go in some subdir somewhere, and be linked using -module,
b585ba
# etc.  So, forcibly nuke the .so's for libsvn_auth_{gnome,kde},
b585ba
# since nothing should ever link against them directly.
b585ba
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsvn_auth_*.so
b585ba
b585ba
# remove stuff produced with Perl modules
b585ba
find $RPM_BUILD_ROOT -type f \
b585ba
    -a \( -name .packlist -o \( -name '*.bs' -a -empty \) \) \
b585ba
    -print0 | xargs -0 rm -f
b585ba
b585ba
# make Perl modules writable so they get stripped
b585ba
find $RPM_BUILD_ROOT%{_libdir}/perl5 -type f -perm 555 -print0 |
b585ba
        xargs -0 chmod 755
b585ba
b585ba
# unnecessary libraries for swig bindings
b585ba
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsvn_swig_*.{so,la,a}
b585ba
b585ba
# Remove unnecessary ruby libraries
b585ba
rm -f ${RPM_BUILD_ROOT}%{ruby_vendorarchdir}/svn/ext/*.*a
b585ba
b585ba
# Trim what goes in docdir
b585ba
rm -rvf tools/*/*.in tools/hook-scripts/mailer/tests
b585ba
b585ba
# Install psvn for emacs and xemacs
b585ba
for f in emacs/site-lisp xemacs/site-packages/lisp; do
b585ba
  install -m 755 -d ${RPM_BUILD_ROOT}%{_datadir}/$f
b585ba
  install -m 644 $RPM_SOURCE_DIR/psvn.el ${RPM_BUILD_ROOT}%{_datadir}/$f
b585ba
done
b585ba
b585ba
install -m 644 $RPM_SOURCE_DIR/psvn-init.el \
b585ba
        ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp
b585ba
b585ba
# Rename authz_svn INSTALL doc for docdir
b585ba
ln -f subversion/mod_authz_svn/INSTALL mod_authz_svn-INSTALL
b585ba
b585ba
# Trim exported dependencies to APR libraries only:
b585ba
sed -i "/^dependency_libs/{
b585ba
     s, -l[^ ']*, ,g;
b585ba
     s, -L[^ ']*, ,g;
b585ba
     s,%{_libdir}/lib[^a][^p][^r][^ ']*.la, ,g;
b585ba
     }"  $RPM_BUILD_ROOT%{_libdir}/*.la
b585ba
b585ba
# Install bash completion
b585ba
install -Dpm 644 tools/client-side/bash_completion \
b585ba
        $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/svn
b585ba
for comp in svnadmin svndumpfilter svnlook svnsync svnversion; do
b585ba
    ln -s svn \
b585ba
        $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/${comp}
b585ba
done
b585ba
b585ba
# Install svnserve bits
b585ba
mkdir -p %{buildroot}%{_unitdir} \
b585ba
      %{buildroot}/run/svnserve \
b585ba
      %{buildroot}%{_prefix}/lib/tmpfiles.d \
b585ba
      %{buildroot}%{_sysconfdir}/sysconfig
b585ba
b585ba
install -p -m 644 $RPM_SOURCE_DIR/svnserve.service \
b585ba
        %{buildroot}%{_unitdir}/svnserve.service
b585ba
install -p -m 644 $RPM_SOURCE_DIR/svnserve.tmpfiles \
b585ba
        %{buildroot}%{_prefix}/lib/tmpfiles.d/svnserve.conf
b585ba
install -p -m 644 $RPM_SOURCE_DIR/svnserve.sysconf \
b585ba
        %{buildroot}%{_sysconfdir}/sysconfig/svnserve
b585ba
b585ba
# Install tools ex diff*, x509-parser
b585ba
make install-tools DESTDIR=$RPM_BUILD_ROOT toolsdir=%{_bindir}
b585ba
rm -f $RPM_BUILD_ROOT%{_bindir}/diff* $RPM_BUILD_ROOT%{_bindir}/x509-parser
b585ba
b585ba
# Don't add spurious dependency in libserf-devel
b585ba
sed -i "/^Requires.private/s, serf-1, ," \
b585ba
    $RPM_BUILD_ROOT%{_datadir}/pkgconfig/libsvn_ra_serf.pc
b585ba
b585ba
# Make svnauthz-validate a symlink
b585ba
rm $RPM_BUILD_ROOT%{_bindir}/svnauthz-validate
b585ba
ln -s svnauthz $RPM_BUILD_ROOT%{_bindir}/svnauthz-validate
b585ba
b585ba
for f in svn-populate-node-origins-index fsfs-access-map \
b585ba
    svnauthz svnauthz-validate svnmucc svnraisetreeconflict svnbench \
b585ba
    svn-mergeinfo-normalizer fsfs-stats svnmover svnconflict; do
b585ba
    echo %{_bindir}/$f
b585ba
    if test -f $RPM_BUILD_ROOT%{_mandir}/man?/${f}.*; then
b585ba
       echo %{_mandir}/man?/${f}.*
b585ba
    fi
b585ba
done | tee tools.files | sed 's/^/%%exclude /' > exclude.tools.files
b585ba
b585ba
%find_lang %{name}
b585ba
b585ba
cat %{name}.lang exclude.tools.files >> %{name}.files
b585ba
b585ba
%if %{with tests}
b585ba
%check
b585ba
export LANG=C LC_ALL=C
b585ba
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
b585ba
export MALLOC_PERTURB_=171 MALLOC_CHECK_=3
b585ba
export LIBC_FATAL_STDERR_=1
b585ba
export PYTHON=%{svn_python}
b585ba
if ! make check CLEANUP=yes; then
b585ba
   : Test suite failure.
b585ba
   cat fails.log
b585ba
   exit 1
b585ba
fi
b585ba
if ! make check-swig-pl check-swig-rb; then
b585ba
   : Swig test failure.
b585ba
   exit 1
b585ba
fi
b585ba
%if %{with pyswig}
b585ba
if ! make check-swig-py; then
b585ba
   : Python swig test failure.
b585ba
   exit 1
b585ba
fi
b585ba
%endif
b585ba
# check-swig-rb omitted: it runs svnserve
b585ba
%if %{with_java}
b585ba
make check-javahl
b585ba
%endif
b585ba
%endif
b585ba
b585ba
%post
b585ba
%systemd_post svnserve.service
b585ba
b585ba
%preun
b585ba
%systemd_preun svnserve.service
b585ba
b585ba
%postun
b585ba
%systemd_postun_with_restart svnserve.service
b585ba
b585ba
%post libs -p /sbin/ldconfig
b585ba
b585ba
%postun libs -p /sbin/ldconfig
b585ba
b585ba
%post perl -p /sbin/ldconfig
b585ba
b585ba
%postun perl -p /sbin/ldconfig
b585ba
b585ba
%post ruby -p /sbin/ldconfig
b585ba
b585ba
%postun ruby -p /sbin/ldconfig
b585ba
b585ba
%if %{with_java}
b585ba
%post javahl -p /sbin/ldconfig
b585ba
b585ba
%postun javahl -p /sbin/ldconfig
b585ba
%endif
b585ba
b585ba
%files -f %{name}.files
b585ba
%{!?_licensedir:%global license %%doc}
b585ba
%license LICENSE NOTICE
b585ba
%doc BUGS COMMITTERS INSTALL README CHANGES
b585ba
%doc mod_authz_svn-INSTALL
b585ba
%{_bindir}/*
b585ba
%{_mandir}/man*/*
b585ba
%{_datadir}/emacs/site-lisp/*.el
b585ba
%{_datadir}/xemacs/site-packages/lisp/*.el
b585ba
%{_datadir}/bash-completion/
b585ba
%config(noreplace) %{_sysconfdir}/sysconfig/svnserve
b585ba
%dir %{_sysconfdir}/subversion
b585ba
%exclude %{_mandir}/man*/*::*
b585ba
%{_unitdir}/*.service
b585ba
%attr(0700,root,root) %dir /run/svnserve
b585ba
%{_prefix}/lib/tmpfiles.d/svnserve.conf
b585ba
b585ba
%files tools -f tools.files
b585ba
%doc tools/hook-scripts tools/backup tools/bdb tools/examples tools/xslt
b585ba
b585ba
%files libs
b585ba
%{!?_licensedir:%global license %%doc}
b585ba
%license LICENSE NOTICE
b585ba
%{_libdir}/libsvn*.so.*
b585ba
%exclude %{_libdir}/libsvn_swig_perl*
b585ba
%exclude %{_libdir}/libsvn_swig_ruby*
b585ba
%if %{with_java}
b585ba
%{_libdir}/libsvnjavahl-*.so
b585ba
%endif
b585ba
%if %{with kwallet}
b585ba
%exclude %{_libdir}/libsvn_auth_kwallet*
b585ba
%endif
b585ba
%exclude %{_libdir}/libsvn_auth_gnome*
b585ba
b585ba
%if %{with python2} && %{with pyswig}
b585ba
%files -n python2-subversion
b585ba
%{python2_sitearch}/svn
b585ba
%{python2_sitearch}/libsvn
b585ba
%endif
b585ba
b585ba
%if %{with python3} && %{with pyswig}
b585ba
%files -n python3-subversion
b585ba
%{python3_sitearch}/svn
b585ba
%{python3_sitearch}/libsvn
b585ba
%endif
b585ba
b585ba
%files gnome
b585ba
%{_libdir}/libsvn_auth_gnome_keyring-*.so.*
b585ba
b585ba
%if %{with kwallet}
b585ba
%files kde
b585ba
%{_libdir}/libsvn_auth_kwallet-*.so.*
b585ba
%endif
b585ba
b585ba
%files devel
b585ba
%{_includedir}/subversion-1
b585ba
%{_libdir}/libsvn*.*a
b585ba
%{_libdir}/libsvn*.so
b585ba
%{_datadir}/pkgconfig/*.pc
b585ba
%exclude %{_libdir}/libsvn_swig_perl*
b585ba
%exclude %{_libdir}/libsvnjavahl-*.so
b585ba
b585ba
%files -n mod_dav_svn
b585ba
%config(noreplace) %{_httpd_modconfdir}/*.conf
b585ba
%{_libdir}/httpd/modules/mod_*.so
b585ba
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
b585ba
%doc example.conf
b585ba
%endif
b585ba
b585ba
%files perl
b585ba
%{perl_vendorarch}/auto/SVN
b585ba
%{perl_vendorarch}/SVN
b585ba
%{_libdir}/libsvn_swig_perl*
b585ba
%{_mandir}/man*/*::*
b585ba
b585ba
%files ruby
b585ba
%{_libdir}/libsvn_swig_ruby*
b585ba
%{ruby_vendorarchdir}/svn
b585ba
b585ba
%if %{with_java}
b585ba
%files javahl
b585ba
%{_javadir}/svn-javahl.jar
b585ba
%endif
b585ba
b585ba
%changelog
b585ba
* Fri Jul 20 2018 Joe Orton <jorton@redhat.com> - 1.10.2-1
b585ba
- update to 1.10.2 (#1603197)
b585ba
b585ba
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-10
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b585ba
b585ba
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.10.0-9
b585ba
- Perl 5.28 rebuild
b585ba
b585ba
* Thu Jun 28 2018 Joe Orton <jorton@redhat.com> - 1.10.0-8
b585ba
- fix test suite invocation
b585ba
b585ba
* Thu Jun 28 2018 Joe Orton <jorton@redhat.com> - 1.10.0-7
b585ba
- switch build conditional to disable only python bindings
b585ba
b585ba
* Thu May  3 2018 Joe Orton <jorton@redhat.com> - 1.10.0-6
b585ba
- really disable Berkeley DB support if required by bcond
b585ba
- add build conditional to disable swig binding subpackages
b585ba
b585ba
* Tue May  1 2018 Joe Orton <jorton@redhat.com> - 1.10.0-5
b585ba
- remove build and -devel deps on libgnome-keyring-devel
b585ba
b585ba
* Tue May  1 2018 Joe Orton <jorton@redhat.com> - 1.10.0-4
b585ba
- drop -devel dep on libserf-devel
b585ba
b585ba
* Tue Apr 24 2018 Joe Orton <jorton@redhat.com> - 1.10.0-3
b585ba
- add bdb, tests as build conditional
b585ba
b585ba
* Tue Apr 17 2018 Joe Orton <jorton@redhat.com> - 1.10.0-2
b585ba
- move new tools to -tools
b585ba
b585ba
* Mon Apr 16 2018 Joe Orton <jorton@redhat.com> - 1.10.0-1
b585ba
- update to 1.10.0 (#1566493)
b585ba
b585ba
* Tue Mar 27 2018 Joe Orton <jorton@redhat.com> - 1.9.7-7
b585ba
- add build conditionals for python2, python3 and kwallet
b585ba
b585ba
* Thu Feb  8 2018 Joe Orton <jorton@redhat.com> - 1.9.7-6
b585ba
- force use of Python2 in test suite
b585ba
b585ba
* Thu Feb 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.9.7-5
b585ba
- Update Python 2 dependency declarations to new packaging standards
b585ba
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
b585ba
b585ba
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 1.9.7-4
b585ba
- Rebuilt for switch to libxcrypt
b585ba
b585ba
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.7-3
b585ba
- F-28: rebuild for ruby25
b585ba
b585ba
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.7-2
b585ba
- Python 2 binary package renamed to python2-subversion
b585ba
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
b585ba
b585ba
* Fri Aug 11 2017 Joe Orton <jorton@redhat.com> - 1.9.7-1
b585ba
- update to 1.9.7 (CVE-2017-9800, #1480402)
b585ba
- add Documentation= to svnserve.service
b585ba
b585ba
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-4
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b585ba
b585ba
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-3
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b585ba
b585ba
* Mon Jul 17 2017 Joe Orton <jorton@redhat.com> - 1.9.6-2
b585ba
- move javahl .so to -libs (#1469158)
b585ba
b585ba
* Thu Jul  6 2017 Joe Orton <jorton@redhat.com> - 1.9.6-1
b585ba
- update to 1.9.6 (#1467890)
b585ba
- update to latest upstream psvn.el
b585ba
- move libsvnjavahl to -libs, build -javahl noarch
b585ba
- fix javahl Requires
b585ba
b585ba
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.5-4
b585ba
- Perl 5.26 rebuild
b585ba
b585ba
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-3
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b585ba
b585ba
* Fri Jan 13 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.5-2
b585ba
- F-26: rebuild for ruby24
b585ba
b585ba
* Mon Jan  2 2017 Joe Orton <jorton@redhat.com> - 1.9.5-1
b585ba
- update to 1.9.5 (#1400040, CVE-2016-8734)
b585ba
b585ba
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.4-4
b585ba
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b585ba
b585ba
* Wed May 25 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.4-3
b585ba
- Enable tests
b585ba
- Revert one of Ruby 2.2 fixes
b585ba
b585ba
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.4-2
b585ba
- Perl 5.24 rebuild
b585ba
b585ba
* Sun May  8 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.9.4-1
b585ba
- Update to 1.9.4 (#1331222) CVE-2016-2167 CVE-2016-2168
b585ba
- Move tools in docs to tools subpackage (rhbz 1171757 1199761)
b585ba
- Disable make check to work around FTBFS
b585ba
b585ba
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-3
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b585ba
b585ba
* Thu Jan 21 2016 Joe Orton <jorton@redhat.com> - 1.9.3-2
b585ba
- rebuild for Ruby 2.3
b585ba
b585ba
* Tue Dec 15 2015 Joe Orton <jorton@redhat.com> - 1.9.3-1
b585ba
- update to 1.9.3 (#1291683)
b585ba
- use private /tmp in svnserve.service
b585ba
b585ba
* Thu Sep 24 2015 Joe Orton <jorton@redhat.com> - 1.9.2-1
b585ba
- update to 1.9.2 (#1265447)
b585ba
b585ba
* Mon Sep 14 2015 Joe Orton <jorton@redhat.com> - 1.9.1-1
b585ba
- update to 1.9.1 (#1259099)
b585ba
b585ba
* Mon Aug 24 2015 Joe Orton <jorton@redhat.com> - 1.9.0-1
b585ba
- update to 1.9.0 (#1207835)
b585ba
- package pkgconfig files
b585ba
b585ba
* Tue Jul 14 2015 Joe Orton <jorton@redhat.com> - 1.8.13-7
b585ba
- move svnauthz to -tools; make svnauthz-validate a symlink
b585ba
- move svnmucc man page to -tools
b585ba
- restore dep on systemd (#1183873)
b585ba
b585ba
* Fri Jul 10 2015 Joe Orton <jorton@redhat.com> - 1.8.13-6
b585ba
- rebuild with tests enabled
b585ba
b585ba
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.13-5
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b585ba
b585ba
* Mon Jun 15 2015 Ville Skyttä <ville.skytta@iki.fi> - 1.8.13-4
b585ba
- Own bash-completion dirs not owned by anything in dep chain
b585ba
b585ba
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.8.13-3
b585ba
- Perl 5.22 rebuild
b585ba
b585ba
* Tue Apr 21 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.8.13-2
b585ba
- Disable tests to fix swig test issues
b585ba
b585ba
* Wed Apr 08 2015 <vondruch@redhat.com> - 1.8.13-1
b585ba
- Fix Ruby's test suite.
b585ba
b585ba
* Tue Apr  7 2015 Joe Orton <jorton@redhat.com> - 1.8.13-1
b585ba
- update to 1.8.13 (#1207835)
b585ba
- attempt to patch around SWIG issues
b585ba
b585ba
* Tue Dec 16 2014 Joe Orton <jorton@redhat.com> - 1.8.11-1
b585ba
- update to 1.8.11 (#1174521)
b585ba
- require newer libserf (#1155670)
b585ba
b585ba
* Tue Sep 23 2014 Joe Orton <jorton@redhat.com> - 1.8.10-6
b585ba
- prevents assert()ions in library code (#1058693)
b585ba
b585ba
* Tue Sep 23 2014 Joe Orton <jorton@redhat.com> - 1.8.10-5
b585ba
- drop sysv conversion trigger (#1133786)
b585ba
b585ba
* Tue Sep 23 2014 Joe Orton <jorton@redhat.com> - 1.8.10-4
b585ba
- move svn-bench, fsfs-* to -tools
b585ba
b585ba
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.8.10-3
b585ba
- Perl 5.20 rebuild
b585ba
b585ba
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 1.8.10-2
b585ba
- Rebuild for rpm bug 1131960
b585ba
b585ba
* Mon Aug 18 2014 Joe Orton <jorton@redhat.com> - 1.8.10-1
b585ba
- update to 1.8.10 (#1129100, #1128884, #1125800)
b585ba
b585ba
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.9-3
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b585ba
b585ba
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.9-2
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b585ba
b585ba
* Wed May 28 2014 Joe Orton <jorton@redhat.com> - 1.8.9-1
b585ba
- update to 1.8.9 (#1100779)
b585ba
b585ba
* Tue Apr 29 2014 Vít Ondruch <vondruch@redhat.com> - 1.8.8-3
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
b585ba
b585ba
* Tue Apr 22 2014 Joe Orton <jorton@redhat.com> - 1.8.8-2
b585ba
- require minitest 4 to fix tests for Ruby bindings (#1089252)
b585ba
b585ba
* Fri Feb 28 2014 Joe Orton <jorton@redhat.com> - 1.8.8-1
b585ba
- update to 1.8.8
b585ba
b585ba
* Thu Jan 23 2014 Joe Orton <jorton@redhat.com> - 1.8.5-4
b585ba
- fix _httpd_mmn expansion in absence of httpd-devel
b585ba
b585ba
* Mon Jan  6 2014 Joe Orton <jorton@redhat.com> - 1.8.5-3
b585ba
- fix permissions of /run/svnserve (#1048422)
b585ba
b585ba
* Tue Dec 10 2013 Joe Orton <jorton@redhat.com> - 1.8.5-2
b585ba
- don't drop -Wall when building swig Perl bindings (#1037341)
b585ba
b585ba
* Tue Nov 26 2013 Joe Orton <jorton@redhat.com> - 1.8.5-1
b585ba
- update to 1.8.5 (#1034130)
b585ba
- add fix for wc-queries-test breakage (h/t Andreas Stieger, r1542774)
b585ba
b585ba
* Mon Nov 18 2013 Joe Orton <jorton@redhat.com> - 1.8.4-2
b585ba
- add fix for ppc breakage (Andreas Stieger, #985582)
b585ba
b585ba
* Tue Oct 29 2013 Joe Orton <jorton@redhat.com> - 1.8.4-1
b585ba
- update to 1.8.4
b585ba
b585ba
* Tue Sep  3 2013 Joe Orton <jorton@redhat.com> - 1.8.3-1
b585ba
- update to 1.8.3
b585ba
- move bash completions out of /etc (#922993)
b585ba
b585ba
* Tue Aug 06 2013 Adam Williamson <awilliam@redhat.com> - 1.8.1-2
b585ba
- rebuild for perl 5.18 (again; 1.8.1-1 beat out 1.8.0-2)
b585ba
b585ba
* Thu Jul 25 2013 Joe Orton <jorton@redhat.com> - 1.8.1-1
b585ba
- update to 1.8.1
b585ba
b585ba
* Fri Jul 19 2013 Joe Orton <jorton@redhat.com> - 1.8.0-3
b585ba
- temporarily ignore test suite failures on ppc* (#985582)
b585ba
b585ba
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.8.0-2
b585ba
- Perl 5.18 rebuild
b585ba
b585ba
* Tue Jun 18 2013 Joe Orton <jorton@redhat.com> - 1.8.0-1
b585ba
- update to 1.8.0; switch to serf
b585ba
- use full relro in mod_dav_svn build (#973694)
b585ba
b585ba
* Mon Jun  3 2013 Joe Orton <jorton@redhat.com> - 1.7.10-1
b585ba
- update to 1.7.10 (#970014)
b585ba
- fix aarch64 build issues (Dennis Gilmore, #926578)
b585ba
b585ba
* Thu May  9 2013 Joe Orton <jorton@redhat.com> - 1.7.9-3
b585ba
- fix spurious failures in ruby test suite (upstream r1327373)
b585ba
b585ba
* Thu May  9 2013 Joe Orton <jorton@redhat.com> - 1.7.9-2
b585ba
- try harder to avoid svnserve bind failures in ruby binding tests
b585ba
- enable verbose output for ruby binding tests
b585ba
b585ba
* Tue Apr  9 2013 Joe Orton <jorton@redhat.com> - 1.7.9-1
b585ba
- update to 1.7.9
b585ba
b585ba
* Wed Mar 27 2013 Vít Ondruch <vondruch@redhat.com> - 1.7.8-6
b585ba
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
b585ba
- Drop Ruby version checks from configuration script.
b585ba
- Fix and enable Ruby test suite.
b585ba
b585ba
* Thu Mar 14 2013 Joe Orton <jorton@redhat.com> - 1.7.8-5
b585ba
- drop specific dep on ruby(abi)
b585ba
b585ba
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.8-4
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b585ba
b585ba
* Tue Jan  8 2013 Joe Orton <jorton@redhat.com> - 1.7.8-3
b585ba
- update to latest psvn.el
b585ba
b585ba
* Tue Jan  8 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 1.7.8-2
b585ba
- Scriptlets replaced with new systemd macros (#850410)
b585ba
b585ba
* Fri Jan  4 2013 Joe Orton <jorton@redhat.com> - 1.7.8-1
b585ba
- update to 1.7.8
b585ba
b585ba
* Thu Oct 11 2012 Joe Orton <jorton@redhat.com> - 1.7.7-1
b585ba
- update to 1.7.7
b585ba
b585ba
* Fri Aug 17 2012 Joe Orton <jorton@redhat.com> - 1.7.6-1
b585ba
- update to 1.7.6
b585ba
b585ba
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.5-6
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b585ba
b585ba
* Mon Jul 16 2012 Joe Orton <jorton@redhat.com> - 1.7.5-5
b585ba
- switch svnserve pidfile to use /run, use /usr/lib/tmpfiles.d (#840195)
b585ba
b585ba
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 1.7.5-4
b585ba
- Perl 5.16 rebuild
b585ba
b585ba
* Mon Jun 18 2012 Dan Horák 
b585ba
- fix build with recent gcc 4.7 (svn rev 1345740)
b585ba
b585ba
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.7.5-2
b585ba
- Perl 5.16 rebuild
b585ba
b585ba
* Tue May 22 2012 Joe Orton <jorton@redhat.com> - 1.7.5-1
b585ba
- update to 1.7.5
b585ba
b585ba
* Tue Apr 24 2012 Joe Orton <jorton@redhat.com> - 1.7.4-6
b585ba
- drop strict sqlite version requirement (#815396)
b585ba
b585ba
* Mon Apr 23 2012 Joe Orton <jorton@redhat.com> - 1.7.4-5
b585ba
- switch to libdb-devel (#814090)
b585ba
b585ba
* Thu Apr 19 2012 Joe Orton <jorton@redhat.com> - 1.7.4-4
b585ba
- adapt for conf.modules.d with httpd 2.4
b585ba
- add possible workaround for kwallet crasher (#810861)
b585ba
b585ba
* Fri Mar 30 2012 Joe Orton <jorton@redhat.com> - 1.7.4-3
b585ba
- re-enable test suite
b585ba
b585ba
* Fri Mar 30 2012 Joe Orton <jorton@redhat.com> - 1.7.4-2
b585ba
- fix build with httpd 2.4
b585ba
b585ba
* Mon Mar 12 2012 Joe Orton <jorton@redhat.com> - 1.7.4-1
b585ba
- update to 1.7.4
b585ba
- fix build with httpd 2.4
b585ba
b585ba
* Thu Mar  1 2012 Joe Orton <jorton@redhat.com> - 1.7.3-7
b585ba
- re-enable kwallet (#791031)
b585ba
b585ba
* Wed Feb 29 2012 Joe Orton <jorton@redhat.com> - 1.7.3-6
b585ba
- update psvn
b585ba
b585ba
* Wed Feb 29 2012 Joe Orton <jorton@redhat.com> - 1.7.3-5
b585ba
- add tools subpackage (#648015)
b585ba
b585ba
* Tue Feb 28 2012 Joe Orton <jorton@redhat.com> - 1.7.3-4
b585ba
- trim contents of doc dic (#746433)
b585ba
b585ba
* Tue Feb 28 2012 Joe Orton <jorton@redhat.com> - 1.7.3-3
b585ba
- re-enable test suite
b585ba
b585ba
* Tue Feb 28 2012 Joe Orton <jorton@redhat.com> - 1.7.3-2
b585ba
- add upstream test suite fixes for APR hash change (r1293602, r1293811)
b585ba
- use ruby vendorlib directory (#798203)
b585ba
- convert svnserve to systemd (#754074)
b585ba
b585ba
* Mon Feb 13 2012 Joe Orton <jorton@redhat.com> - 1.7.3-1
b585ba
- update to 1.7.3
b585ba
- ship, enable mod_dontdothat
b585ba
b585ba
* Mon Feb 13 2012 Joe Orton <jorton@redhat.com> - 1.7.2-2
b585ba
- require ruby 1.9.1 abi
b585ba
b585ba
* Thu Feb  9 2012 Joe Orton <jorton@redhat.com> - 1.7.2-1
b585ba
- update to 1.7.2
b585ba
- add Vincent Batts' Ruby 1.9 fixes from dev@
b585ba
b585ba
* Sun Feb  5 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.1-3
b585ba
- fix gnome-keyring build deps 
b585ba
b585ba
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-2
b585ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b585ba
b585ba
* Mon Nov 28 2011 Joe Orton <jorton@redhat.com> - 1.7.1-1
b585ba
- update to 1.7.1
b585ba
- (temporarily) disable failing kwallet support
b585ba
b585ba
* Sun Nov 27 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.7.0-3
b585ba
- Build with libmagic support.
b585ba
b585ba
* Sat Oct 15 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.7.0-2
b585ba
- Fix apr Conflicts syntax in -libs.
b585ba
- Fix obsolete chown syntax in subversion.conf.
b585ba
- Fix use of spaces vs tabs in specfile.
b585ba
b585ba
* Wed Oct 12 2011 Joe Orton <jorton@redhat.com> - 1.7.0-1
b585ba
- update to 1.7.0
b585ba
- drop svn2cl (no longer shipped in upstream tarball)