[packages/libcmis] - updated to 0.5.1 - removed obsolete boost-gcc patch

qboosh qboosh at pld-linux.org
Tue May 17 05:49:11 CEST 2016


commit 3672712168b1040aad4b068427eb7fad72b5aaa3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 17 05:49:22 2016 +0200

    - updated to 0.5.1
    - removed obsolete boost-gcc patch

 libcmis-boost-gcc.patch | 39 ---------------------------------------
 libcmis.spec            | 21 +++++++++------------
 2 files changed, 9 insertions(+), 51 deletions(-)
---
diff --git a/libcmis.spec b/libcmis.spec
index 958333d..6f18a59 100644
--- a/libcmis.spec
+++ b/libcmis.spec
@@ -5,17 +5,18 @@
 Summary:	A C++ client library for the CMIS interface
 Summary(pl.UTF-8):     Biblioteka klienta C++ dla inferfejsu CMIS
 Name:		libcmis
-Version:	0.5.0
-Release:	8
+Version:	0.5.1
+Release:	1
 License:	GPL v2+ or LGPL v2+ or MPL v1.1
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/libcmis/%{name}-%{version}.tar.gz
-# Source0-md5:	5821b806a98e6c38370970e682ce76e8
-Patch0:		%{name}-boost-gcc.patch
+#Source0Download: https://github.com/tdf/libcmis/releases
+Source0:	https://github.com/tdf/libcmis/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	3270154f0f40d86fce849b161f914101
+#Source0:	http://downloads.sourceforge.net/libcmis/%{name}-%{version}.tar.gz
 URL:		http://sourceforge.net/projects/libcmis/
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake
-BuildRequires:	boost-devel
+BuildRequires:	boost-devel >= 1.36
 BuildRequires:	cppunit-devel >= 1.12
 BuildRequires:	curl-devel >= 7.12.3
 BuildRequires:	docbook2X >= 0.8.8-4
@@ -23,7 +24,6 @@ BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:2
 BuildRequires:	libxml2-devel >= 2.0
 BuildRequires:	pkgconfig
-BuildRequires:	sed >= 4.0
 Requires:	curl-libs >= 7.12.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -43,7 +43,7 @@ Summary:	Development files for CMIS library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki CMIS
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	boost-devel
+Requires:	boost-devel >= 1.36
 Requires:	curl-devel >= 7.12.3
 Requires:	libstdc++-devel
 Requires:	libxml2-devel >= 2.0
@@ -83,9 +83,6 @@ poleceń.
 
 %prep
 %setup -q
-%patch0 -p1
-
-#%{__sed} -i -e 's/docbook-to-man/docbook2X2man/' configure.ac
 
 %build
 %{__libtoolize}
@@ -118,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog NEWS
 %attr(755,root,root) %{_libdir}/libcmis-0.5.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libcmis-0.5.so.5
 %attr(755,root,root) %{_libdir}/libcmis-c-0.5.so.*.*.*
diff --git a/libcmis-boost-gcc.patch b/libcmis-boost-gcc.patch
deleted file mode 100644
index 7422b5d..0000000
--- a/libcmis-boost-gcc.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -urN libcmis-0.5.0.org/m4/boost.m4 libcmis-0.5.0/m4/boost.m4
---- libcmis-0.5.0.org/m4/boost.m4	2014-03-28 15:19:57.000000000 +0100
-+++ libcmis-0.5.0/m4/boost.m4	2015-09-21 14:42:25.149565264 +0200
-@@ -68,7 +68,9 @@
- dnl everything else.
- dnl Cannot use 'dnl' after [$4] because a trailing dnl may break AC_CACHE_CHECK
- (eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
-+  grep -v '#' |
-   tr -d '\r' |
-+  tr -s '\n' ' ' |
-   $SED -n -e "$1" >conftest.i 2>&1],
-   [$3],
-   [$4])
-@@ -201,7 +203,7 @@
-   AC_CACHE_CHECK([for Boost's header version],
-     [boost_cv_lib_version],
-     [m4_pattern_allow([^BOOST_LIB_VERSION$])dnl
--     _BOOST_SED_CPP([/^boost-lib-version = /{s///;s/\"//g;p;g;}],
-+     _BOOST_SED_CPP([[/^boost-lib-version = /{s///;s/[\" ]//g;p;q;}]],
-                     [#include <boost/version.hpp>
- boost-lib-version = BOOST_LIB_VERSION],
-     [boost_cv_lib_version=`cat conftest.i`])])
-@@ -209,7 +211,7 @@
-     boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
-     case $boost_major_version in #(
-       '' | *[[!0-9]]*)
--        AC_MSG_ERROR([invalid value: boost_major_version=$boost_major_version])
-+        AC_MSG_ERROR([invalid value: boost_major_version='$boost_major_version'])
-         ;;
-     esac
- fi
-@@ -930,6 +932,7 @@
-   # the same defines as GCC's).
-   # TODO: Move the test on GCC 4.4 up once it's released.
-   for i in \
-+    _BOOST_gcc_test(5, 2) \
-     _BOOST_gcc_test(4, 3) \
-     _BOOST_gcc_test(4, 2) \
-     _BOOST_gcc_test(4, 1) \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcmis.git/commitdiff/3672712168b1040aad4b068427eb7fad72b5aaa3



More information about the pld-cvs-commit mailing list