%define majver %(echo %version | cut -d. -f1-2) Name: libcmis Version: 0.5.2 Release: 1mamba Summary: Allows C++ applications to connect to any ECM behaving as a CMIS server Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://sourceforge.net/projects/libcmis/ Source: https://github.com/tdf/libcmis.git/v%{version}/libcmis-%{version}.tar.bz2 Patch0: libcmis-0.5.0-libboost.patch License: GPL, LGPL, MPL 1.1 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libboost-devel BuildRequires: libcares-devel BuildRequires: libcurl-devel BuildRequires: libgcc BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel BuildRequires: libgss-devel BuildRequires: libidn-devel BuildRequires: liblzma-devel BuildRequires: libopenldap-devel BuildRequires: libopenssl-devel BuildRequires: librtmp-devel BuildRequires: libsasl-devel BuildRequires: libssh2-devel BuildRequires: libstdc++6-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: docbook-utils BuildRoot: %{_tmppath}/%{name}-%{version}-root %debug_package %description LibCMIS is a C++ client library for the CMIS interface. This allows C++ applications to connect to any ECM behaving as a CMIS server like Alfresco, Nuxeo for the open source ones. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %package tools Group: Development/Tools Summary: Utility applications for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. %prep %setup -q #%patch0 -p1 touch README touch ChangeLog %build autoreconf -f -i %configure \ --without-man # --without-man: or it requires docbook2x which is obsolete %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libcmis-%{majver}.so.* %{_libdir}/libcmis-c-%{majver}.so.* %doc AUTHORS %files devel %defattr(-,root,root) %dir %{_includedir}/libcmis-%{majver} %dir %{_includedir}/libcmis-%{majver}/libcmis %{_includedir}/libcmis-%{majver}/libcmis/* %dir %{_includedir}/libcmis-c-%{majver}/libcmis-c %{_includedir}/libcmis-c-%{majver}/libcmis-c/*.h %{_libdir}/libcmis-%{majver}.a %{_libdir}/libcmis-%{majver}.la %{_libdir}/libcmis-%{majver}.so %{_libdir}/libcmis-c-%{majver}.a %{_libdir}/libcmis-c-%{majver}.la %{_libdir}/libcmis-c-%{majver}.so %{_libdir}/pkgconfig/libcmis-%{majver}.pc %{_libdir}/pkgconfig/libcmis-c-%{majver}.pc %doc ChangeLog README %files tools %defattr(-,root,root) %{_bindir}/cmis-client #%{_mandir}/manx/cmis-client.xml* %changelog * Wed Jan 09 2019 Automatic Build System 0.5.2-1mamba - automatic version update by autodist * Fri May 20 2016 Silvan Calarco 0.5.1-1mamba - update to 0.5.1 * Sat Jan 23 2016 Silvan Calarco 0.5.0-2mamba - rebuil with gcc 5.3 * Fri Jan 02 2015 Automatic Build System 0.5.0-1mamba - automatic update by autodist * Mon Mar 03 2014 Silvan Calarco 0.4.1-2mamba - rebuilt with libboost 1.55 * Thu Aug 08 2013 Automatic Build System 0.4.1-1mamba - automatic update by autodist * Mon Feb 11 2013 Silvan Calarco 0.3.1-1mamba - update to 0.3.1 * Sat Jul 28 2012 Silvan Calarco 0.2.3-1mamba - update to 0.2.3 * Sat Mar 24 2012 Silvan Calarco 0.1.0-1mamba - package created by autospec