About project
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.
Last commit
Files in
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | %define api 0.5
%define major 5
%define libname %mklibname cmis %{api} %{major}
%define libcmis_c %mklibname cmis-c %{api} %{major}
%define devname %mklibname -d cmis
Summary: A C++ client library for the CMIS interface
Name: libcmis
Version: 0.5.2
Release: 5
License: GPLv2+ or LGPLv2+ or MPLv1.1
Group: System/Libraries
Url: http://sourceforge.net/projects/libcmis/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
# Patches taken from LibreOffice tarball, v7.2.0.3
Patch100: 0001-rename-class-GetObject-to-avoid-name-clash-on-Window.patch
Patch101: libcmis-libxml2_compatibility.patch
Patch102: libcmis_onedrive.patch
Patch103: libcmis_oauth_pw_as_refreshtoken.patch.1
Patch104: libcmis_gdrive.patch.1
BuildRequires: docbook2x
BuildRequires: boost-devel
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libxml-2.0)
#BuildRequires: xmlto
%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 -n %{libname}
Summary: Text categorization library
Group: System/Libraries
%description -n %{libname}
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.
%files -n %{libname}
%{_libdir}/%{name}-%{api}.so.%{major}*
#----------------------------------------------------------------------------
%package -n %{libcmis_c}
Summary: Text categorization library
Group: System/Libraries
%description -n %{libcmis_c}
This package contains a shared library for %{name}.
%files -n %{libcmis_c}
%{_libdir}/%{name}-c-%{api}.so.%{major}*
#----------------------------------------------------------------------------
%package -n %{devname}
Summary: Development files for %{name}
Group: Development/Other
Requires: %{libname} = %{EVRD}
Requires: %{libcmis_c} = %{EVRD}
Provides: %{name}-devel = %{EVRD}
%description -n %{devname}
This package contains libraries and header files for developing applications
that use %{name}.
%files -n %{devname}
%doc AUTHORS COPYING.GPL COPYING.LGPL COPYING.MPL NEWS
%{_includedir}/%{name}-%{api}
%{_includedir}/%{name}-c-%{api}
%{_libdir}/%{name}-%{api}.so
%{_libdir}/%{name}-c-%{api}.so
%{_libdir}/pkgconfig/%{name}-%{api}.pc
%{_libdir}/pkgconfig/%{name}-c-%{api}.pc
#----------------------------------------------------------------------------
%package tools
Summary: Command line tool to access CMIS
Group: Publishing
%description tools
The %{name}-tools package contains a tool for accessing CMIS from the
command line.
%files tools
%{_bindir}/cmis-client
#{_mandir}/manx/cmis-client.1*
#----------------------------------------------------------------------------
%prep
%autosetup -p1
sed -i -e 's/docbook-to-man/db2x_docbook2man/' configure
%build
%configure \
--disable-static \
--disable-tests \
--disable-werror \
--with-man=no
%make
%install
%makeinstall_std
|