📄 subversion.spec
字号:
* Tue Jun 25 2002 David Summers <david@summersoft.fay.ar.us> 0.13.0-2332- Updated to APACHE/APR/APR-UTIL 2002-06-25.- Previous version had a few problems because of missing apache error/ files.* Sun Jun 23 2002 David Summers <david@summersoft.fay.ar.us> 0.13.0-2318- Updated to apache-2.0.40-0.3.- Updated to subversion-0.13.1-2318.* Tue Jun 18 2002 David Summers <david@summersoft.fay.ar.us> 0.13.0-2277- Updated for RedHat 7.3 (autoconf253).- Added a bunch of pre-requisites I didn't know were needed because I built a new machine that didn't have them already installed.- Fixed installation of man and info documentation pages.* Wed Mar 06 2002 David Summers <david@summersoft.fay.ar.us> 0.9.0-1447- Back to apache-libapr* stuff, hopefully to stay.* Sun Feb 24 2002 David Summers <david@summersoft.fay.ar.us> 0.9.0-1373- Fixed expat.patch to not have to make so many changes by writing a small shell script that changes libexpat to -lexpat.* Fri Feb 22 2002 Blair Zajac <blair@orcaware.com> 0.9.0-1364- Updated to neon-0.19.2.* Mon Feb 11 2002 David Summers <david@summersoft.fay.ar.us> 0.8.0-1250- Back to using apr and apr-util separately from apache.* Mon Feb 11 2002 David Summers <david@summersoft.fay.ar.us> 0.8.0-1232- Updated to APR and APR-UTIL 2002.02.11.- Updated to apache-2.0.32-0.2. (Requires apache-libapr and apache-libapr-util).- Took out a (now non-existant) documentation file.- Moved SPEC file changelog to after all package definitions. * Sun Feb 03 2002 David Summers <david@summersoft.fay.ar.us> 0.8.0-1153- Updated to neon-0.18.5.- Broke up apache and apache-devel into apache-apr, apache-apr-devel, apache-apr-utils, and apache-apr-utils-devel.- Updated apache to APR and APR-UTILS to 2002.02.03 version.* Sat Feb 02 2002 David Summers <david@summersoft.fay.ar.us> 0.8.0-1147- Now builds without the separate APR package as it is built into and "exported" from apache-2.0.31-0.3.* Fri Feb 01 2002 David Summers <david@summersoft.fay.ar.us> 0.8.0-1132- Took out patches to install procedure now not required because of fixes in rev 1130.* Fri Feb 01 2002 David Summers <david@summersoft.fay.ar.us> 0.8.0-1129- Added requirement for APR 0.2002.01.19 rev 2 where the /usr/bin/apr-config program was added.* Sun Oct 28 2001 David Summers <david@summersoft.fay.ar.us>- Release M5-r340: Added the subversion-server package.* Fri Oct 26 2001 David Summers <david@summersoft.fay.ar.us>- Release M5-r327: No longer need expat-lite. We can use the normal expat.* Thu Sep 27 2001 David Summers <david@summersoft.fay.ar.us>- Release M3-r117: Initial Version.%define __perl_requires %{SOURCE3}%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)%define perl_version %(eval "`perl -V:version`"; echo $version)%prep%setup -qif [ -f /usr/bin/autoconf-2.53 ]; then AUTOCONF="autoconf-2.53" AUTOHEADER="autoheader-2.53" export AUTOCONF AUTOHEADERfish autogen.sh# Fix up mod_dav_svn installation.patch -p1 < packages/rpm/redhat-8+/install.patch# Fix documentation version generation.patch -p1 < packages/rpm/redhat-8+/doc.patch# Figure out version and release number for command and documentation display.case "%{release}" in 1) # Build an official release RELEASE_NAME="%{version}" ;; alpha*|beta*|gamma*) # Build an alpha, beta, gamma release. RELEASE_NAME="%{version} (%{release})" ;; *) # Build a working copy release RELEASE_NAME="%{version} (dev build, r%{release})" ;;esacexport RELEASE_NAMEecho "${RELEASE_NAME}" > doc/book/book/package.version%configure \ --with-swig \ --with-python=/usr/bin/python2.2 \ --with-apxs=%{apache_dir}/sbin/apxs \ --with-apr=%{apache_dir}/bin/apr-config \ --with-apr-util=%{apache_dir}/bin/apu-config%buildmake cleanmake# Build python bindingsmake swig-py# Build PERL bindingsmake swig-pl-libcd subversion/bindings/swig/perl/nativeenv APR_CONFIG=/usr/bin/apr-config perl Makefile.PL INSTALLDIRS=vendor PREFIX=$RPM_BUILD_ROOT/%{_prefix}make allmake testcd ../../../../..%if %{make_ra_local_check}echo "*** Running regression tests on RA_LOCAL (FILE SYSTEM) layer ***"make check CLEANUP=trueecho "*** Finished regression tests on RA_LOCAL (FILE SYSTEM) layer ***"%endif%if %{make_ra_svn_check}echo "*** Running regression tests on RA_SVN (SVN method) layer ***"killall lt-svnserve || truesleep 1./subversion/svnserve/svnserve -d -r `pwd`/subversion/tests/clients/cmdline/make svncheck CLEANUP=truekillall lt-svnserveecho "*** Finished regression tests on RA_SVN (SVN method) layer ***"%endif%if %{make_ra_dav_check}echo "*** Running regression tests on RA_DAV (HTTP method) layer ***"killall httpd || truesleep 1sed -e "s;@SVNDIR@;`pwd`;" < packages/rpm/redhat-8+/httpd.davcheck.conf > httpd.conf/usr/sbin/httpd -f `pwd`/httpd.confsleep 1make check CLEANUP=true BASE_URL='http://localhost:15835'killall httpdecho "*** Finished regression tests on RA_DAV (HTTP method) layer ***"%endif%installrm -rf $RPM_BUILD_ROOTmkdir -p $RPM_BUILD_ROOT/%{apache_dir}/confmake install DESTDIR="$RPM_BUILD_ROOT"# Add subversion.conf configuration file into httpd/conf.d directory.mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.dcp packages/rpm/redhat-8+/subversion.conf $RPM_BUILD_ROOT/etc/httpd/conf.d# Install Python SWIG bindings.make install-swig-py DESTDIR=$RPM_BUILD_ROOT DISTUTIL_PARAM=--prefix=$RPM_BUILD_ROOTmkdir -p $RPM_BUILD_ROOT/usr/lib/python2.2/site-packagesmv $RPM_BUILD_ROOT/usr/lib/svn-python/* $RPM_BUILD_ROOT/usr/lib/python2.2/site-packagesrmdir $RPM_BUILD_ROOT/usr/lib/svn-python# Install PERL SWIG bindings.make install-swig-pl-lib DESTDIR=$RPM_BUILD_ROOTcd subversion/bindings/swig/perl/nativemake PREFIX=$RPM_BUILD_ROOT/%{_prefix} installcd ../../../../..# Clean up unneeded files for package installationrm -rf $RPM_BUILD_ROOT/%{_prefix}/lib/perl5/%{perl_version}# Set up tools package files.mkdir -p $RPM_BUILD_ROOT/usr/lib/subversioncp -r tools $RPM_BUILD_ROOT/usr/lib/subversion# Set up book generation and installation(cd doc/book;rm -f book/version.xml# Start patch by Ben Reser <ben@reser.org> to get documentation to build.%{__perl} -pi -e 's#href="xsl/(html/docbook.xsl)"#href="%{_datadir}/sgml/docbook/xsl-stylesheets/$1"#;' tools/html-stylesheet.xsl%{__perl} -pi -e 's#href="xsl/(html/chunk.xsl)"#href="%{_datadir}/sgml/docbook/xsl-stylesheets/$1"#;' tools/chunk-stylesheet.xsl# End patch by Ben Reser <ben@reser.org> to get documentation to build.make SVNVERSION=%{release} XSL_DIR=/usr/share/sgml/docbook/xsl-stylesheets all-html)cp -r doc/book/book/html-chunk bookcp -r doc/book/book/images book/images# Create doxygen documentation.doxygen doc/doxygen.conf%post server# Restart apache server if needed.source /etc/init.d/functionsif [ "`pidof httpd`"x != "x" ]; then /etc/init.d/httpd restart || truefi%postun server# Restart apache server if needed.source /etc/init.d/functionsif [ "`pidof httpd`"x != "x" ]; then /etc/init.d/httpd restart || truefi%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%doc BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README%doc subversion/LICENSE%doc book/usr/bin/svn/usr/bin/svnadmin/usr/bin/svndumpfilter/usr/bin/svnlook/usr/bin/svnserve/usr/bin/svnversion/usr/lib/libsvn_client*so*/usr/lib/libsvn_delta*so*/usr/lib/libsvn_diff*so*/usr/lib/libsvn_fs*so*/usr/lib/libsvn_ra*so*/usr/lib/libsvn_repos*so*/usr/lib/libsvn_subr*so*/usr/lib/libsvn_wc*so*/usr/share/locale/*/*/*/usr/share/man/man1/*/usr/share/man/man5/*/usr/share/man/man8/*%files devel%defattr(-,root,root)%doc doc/doxygen/html/*/usr/lib/libsvn*.a/usr/lib/libsvn*.la/usr/include/subversion-1%files server%defattr(-,root,root)%config /etc/httpd/conf.d/subversion.conf%{apache_dir}/lib/httpd/modules/mod_dav_svn.la%{apache_dir}/lib/httpd/modules/mod_dav_svn.so%{apache_dir}/lib/httpd/modules/mod_authz_svn.la%{apache_dir}/lib/httpd/modules/mod_authz_svn.so%files perl%defattr(-,root,root)%{perl_vendorarch}/SVN%{perl_vendorarch}/auto/SVN/usr/lib/libsvn_swig_perl*so*/usr/share/man/man3/SVN*%files python%defattr(-,root,root)/usr/lib/python2.2/site-packages/svn/usr/lib/python2.2/site-packages/libsvn/usr/lib/libsvn_swig_py*so*%files tools%defattr(-,root,root)/usr/lib/subversion/tools
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -