[libcmis] new version 0.2.3

David Tardon dtardon at fedoraproject.org
Thu Jun 28 07:17:25 UTC 2012


commit 1335af089da1d397ecc09c66e07152e5b6cac6c9
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Jun 28 09:14:29 2012 +0200

    new version 0.2.3

 .gitignore                                         |    1 +
 ...manpage-conditionaly-and-also-install-it-.patch |  123 --------------------
 libcmis.spec                                       |   22 ++--
 sources                                            |    2 +-
 4 files changed, 12 insertions(+), 136 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fbe92b6..16d6478 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /libcmis-0.1.0.tar.gz
 /libcmis-0.2.2.tar.gz
+/libcmis-0.2.3.tar.gz
diff --git a/libcmis.spec b/libcmis.spec
index 313a6d7..b16fe10 100644
--- a/libcmis.spec
+++ b/libcmis.spec
@@ -1,5 +1,5 @@
 Name: libcmis
-Version: 0.2.2
+Version: 0.2.3
 Release: 1%{?dist}
 Summary: A C++ client library for the CMIS interface
 
@@ -7,14 +7,9 @@ Group: System Environment/Libraries
 License: GPL+ or LGPLv2+ or MPLv1.1
 URL: http://sourceforge.net/projects/libcmis/
 Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# use pre-built man page for now
-Patch0: 0001-Create-the-manpage-conditionaly-and-also-install-it-.patch
 
-BuildRequires: autoconf
-BuildRequires: automake
 BuildRequires: boost-devel
 BuildRequires: libcurl-devel
-BuildRequires: libtool
 BuildRequires: libxml2-devel
 
 %description
@@ -43,12 +38,11 @@ command line.
 
 %prep
 %setup -q
-%patch0 -p1 -b .Create-the-manpage-conditionaly-and-also-install-it-.patch
+sed -i -e 's/docbook-to-man/db2x_docbook2man/' configure
 
 
 %build
-autoreconf --install
-%configure --disable-static --disable-tests --disable-werror --without-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' \
@@ -59,9 +53,10 @@ make %{?_smp_mflags} V=1
 %install
 make install DESTDIR=%{buildroot}
 rm -f %{buildroot}/%{_libdir}/*.la
-rm -rf %{buildroot}/%{_mandir}/manx
-mkdir %{buildroot}/%{_mandir}/man1
-cp -p doc/cmis-client.1 %{buildroot}/%{_mandir}/man1
+# it seems that the hook for building and installing man page breaks
+# installation of other data files
+mkdir -p %{buildroot}/%{_libdir}/pkgconfig
+cp -p %{name}-0.2.pc %{buildroot}/%{_libdir}/pkgconfig
 
 %post -p /sbin/ldconfig
 
@@ -89,6 +84,9 @@ cp -p doc/cmis-client.1 %{buildroot}/%{_mandir}/man1
 
 
 %changelog
+* Thu Jun 28 2012 David Tardon <dtardon at redhat.com> 0.2.3-1
+- new upstream version
+
 * Wed Jun 20 2012 David Tardon <dtardon at redhat.com> 0.2.2-1
 - latest upstream version
 
diff --git a/sources b/sources
index 7051826..88dec45 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ce31ac7b92cb5e66459f67213bbb6168  libcmis-0.2.2.tar.gz
+0d2dcdfbf28d6208751b33057f5361f0  libcmis-0.2.3.tar.gz


More information about the scm-commits mailing list