2024-01-06 04:00:53 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libcmis
|
2024-01-06 04:00:53 +01:00
|
|
|
Version: 0.5.2
|
2024-01-06 04:00:53 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 04:00:53 +01:00
|
|
|
Summary: Allows C++ applications to connect to any ECM behaving as a CMIS server
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://sourceforge.net/projects/libcmis/
|
2024-01-06 04:00:53 +01:00
|
|
|
Source: https://github.com/tdf/libcmis.git/v%{version}/libcmis-%{version}.tar.bz2
|
2024-01-06 04:00:53 +01:00
|
|
|
Patch0: libcmis-0.5.0-libboost.patch
|
2024-01-06 04:00:53 +01:00
|
|
|
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
|
2024-01-06 04:00:53 +01:00
|
|
|
#%patch0 -p1
|
|
|
|
|
|
|
|
touch README
|
|
|
|
touch ChangeLog
|
2024-01-06 04:00:53 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 04:00:53 +01:00
|
|
|
autoreconf -f -i
|
2024-01-06 04:00:53 +01:00
|
|
|
%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
|
2024-01-06 04:00:53 +01:00
|
|
|
%{_includedir}/libcmis-%{majver}/libcmis/*
|
2024-01-06 04:00:53 +01:00
|
|
|
%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
|
2024-01-06 04:00:53 +01:00
|
|
|
#%{_mandir}/manx/cmis-client.xml*
|
2024-01-06 04:00:53 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:00:53 +01:00
|
|
|
* Wed Jan 09 2019 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:00:53 +01:00
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
|
|
- update to 0.5.1
|
|
|
|
|
2024-01-06 04:00:53 +01:00
|
|
|
* Sat Jan 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba
|
|
|
|
- rebuil with gcc 5.3
|
|
|
|
|
2024-01-06 04:00:53 +01:00
|
|
|
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:00:53 +01:00
|
|
|
* Mon Mar 03 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-2mamba
|
|
|
|
- rebuilt with libboost 1.55
|
|
|
|
|
|
|
|
* Thu Aug 08 2013 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-1mamba
|
|
|
|
- update to 0.3.1
|
|
|
|
|
|
|
|
* Sat Jul 28 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-1mamba
|
|
|
|
- update to 0.2.3
|
|
|
|
|
|
|
|
* Sat Mar 24 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
|
|
|
|
- package created by autospec
|