[libcmis/f18] Revert "use xmlto for generating man page"

David Tardon dtardon at fedoraproject.org
Thu Feb 7 05:03:27 UTC 2013


commit 07933a508a94502510209dcdfb6086e2b5918fd9
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Feb 7 06:01:05 2013 +0100

    Revert "use xmlto for generating man page"
    
    This reverts commit 144e49b0bc5c7d12f5d82f629c62885db9989dd2.

 0001-add-public-and-system-ID-to-doctype.patch     |   23 --
 0002-make-the-man-page-valid-docbook.patch         |  324 --------------------
 0003-rename-DOCBOOK2X-to-DOCBOOK2MAN.patch         |   51 ---
 ...tting-of-DOCBOOK2MAN-on-configure-cmdline.patch |   39 ---
 libcmis.spec                                       |   23 +--
 5 files changed, 4 insertions(+), 456 deletions(-)
---
diff --git a/libcmis.spec b/libcmis.spec
index 04416fc..70d963b 100644
--- a/libcmis.spec
+++ b/libcmis.spec
@@ -1,23 +1,17 @@
 Name: libcmis
 Version: 0.3.0
-Release: 6%{?dist}
+Release: 5%{?dist}
 Summary: A C++ client library for the CMIS interface
 
 Group: System Environment/Libraries
 License: GPLv2+ or LGPLv2+ or MPLv1.1
 URL: http://sourceforge.net/projects/libcmis/
 Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Patch0: 0001-add-public-and-system-ID-to-doctype.patch
-Patch1: 0002-make-the-man-page-valid-docbook.patch
-Patch2: 0003-rename-DOCBOOK2X-to-DOCBOOK2MAN.patch
-Patch3: 0004-allow-setting-of-DOCBOOK2MAN-on-configure-cmdline.patch
 
-BuildRequires: autoconf
-BuildRequires: automake
 BuildRequires: boost-devel
+BuildRequires: docbook2X
 BuildRequires: libcurl-devel
 BuildRequires: libxml2-devel
-BuildRequires: xmlto
 
 %description
 LibCMIS is a C++ client library for the CMIS interface. This allows C++
@@ -44,17 +38,11 @@ command line.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+sed -i -e 's/docbook-to-man/db2x_docbook2man/' configure
 
 
 %build
-aclocal -I m4
-automake -a -c --foreign
-autoconf
-%configure --disable-static --disable-tests --disable-werror DOCBOOK2MAN='xmlto man'
+%configure --disable-static --disable-tests --disable-werror
 sed -i \
     -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
     -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
@@ -94,9 +82,6 @@ rm -f %{buildroot}/%{_libdir}/*.la
 
 
 %changelog
-* Wed Dec 19 2012 David Tardon <dtardon at redhat.com> - 0.3.0-6
-- use xmlto for generating man page
-
 * Sat Dec 08 2012 David Tardon <dtardon at redhat.com> - 0.3.0-5
 - another pointless bump
 


More information about the scm-commits mailing list