2024-01-06 04:00:53 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libcmis
|
2024-01-06 04:00:54 +01:00
|
|
|
Version: 0.6.0
|
|
|
|
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>
|
2024-01-06 04:00:53 +01:00
|
|
|
URL: https://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: libcurl-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: docbook-utils
|
|
|
|
|
|
|
|
%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}.
|
|
|
|
|
2024-01-06 04:00:53 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:00:53 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 04:00:53 +01:00
|
|
|
|
|
|
|
touch README
|
|
|
|
touch ChangeLog
|
2024-01-06 04:00:53 +01:00
|
|
|
|
2024-01-06 04:00:53 +01:00
|
|
|
autoreconf -f -i
|
2024-01-06 04:00:53 +01:00
|
|
|
|
2024-01-06 04:00:53 +01:00
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-static \
|
|
|
|
--disable-werror \
|
|
|
|
DOCBOOK2MAN='xmlto man'
|
|
|
|
|
|
|
|
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' \
|
|
|
|
libtool
|
2024-01-06 04:00:53 +01:00
|
|
|
|
|
|
|
%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}.so
|
|
|
|
%{_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}/man1/cmis-client.1*
|
2024-01-06 04:00:53 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:00:54 +01:00
|
|
|
* Sun Oct 15 2023 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:00:53 +01:00
|
|
|
* Sun Sep 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
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
|