978346
%global apiversion 0.5
978346
978346
Name: libcmis
978346
Version: 0.5.2
978346
Release: 12%{?dist}
978346
Summary: A C/C++ client library for CM interfaces
978346
978346
License: GPLv2+ or LGPLv2+ or MPLv1.1
978346
URL: https://github.com/tdf/libcmis
978346
Source: https://github.com/tdf/libcmis/releases/download/v%{version}/%{name}-%{version}.tar.xz
978346
978346
BuildRequires: boost-devel
978346
BuildRequires: gcc-c++
978346
BuildRequires: pkgconfig(cppunit)
978346
BuildRequires: pkgconfig(libcurl)
978346
BuildRequires: pkgconfig(libxml-2.0)
978346
BuildRequires: xmlto
978346
BuildRequires: make
978346
978346
%description
978346
LibCMIS is a C/C++ client library for working with CM (content management)
978346
interfaces. The primary supported interface (which gave the library its
978346
name) is CMIS, which allows applications to connect to any ECM behaving
978346
as a CMIS server (Alfresco or Nuxeo are examples of open source ones).
978346
Another supported interface is Google Drive.
978346
978346
%package devel
978346
Summary: Development files for %{name}
978346
Requires: %{name}%{?_isa} = %{version}-%{release}
978346
978346
%description devel
978346
The %{name}-devel package contains libraries and header files for
978346
developing applications that use %{name}.
978346
978346
%package tools
978346
Summary: Command line tool to access CMIS
978346
Requires: %{name}%{?_isa} = %{version}-%{release}
978346
978346
%description tools
978346
The %{name}-tools package contains a tool for accessing CMIS from the
978346
command line.
978346
978346
%prep
978346
%autosetup -p1
978346
978346
%build
978346
%configure --disable-silent-rules --disable-static --disable-werror \
978346
    DOCBOOK2MAN='xmlto man'
978346
sed -i \
978346
    -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
978346
    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
978346
    libtool
978346
%make_build
978346
978346
%install
978346
%make_install
978346
rm -f %{buildroot}/%{_libdir}/*.la
978346
978346
%ldconfig_scriptlets
978346
978346
%check
978346
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
978346
%make_build check
978346
978346
%files
978346
%doc AUTHORS NEWS
978346
%license COPYING.*
978346
%{_libdir}/%{name}-%{apiversion}.so.*
978346
%{_libdir}/%{name}-c-%{apiversion}.so.*
978346
978346
%files devel
978346
%doc ChangeLog
978346
%{_includedir}/%{name}-%{apiversion}
978346
%{_includedir}/%{name}-c-%{apiversion}
978346
%{_libdir}/%{name}-%{apiversion}.so
978346
%{_libdir}/%{name}-c-%{apiversion}.so
978346
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
978346
%{_libdir}/pkgconfig/%{name}-c-%{apiversion}.pc
978346
978346
%files tools
978346
%{_bindir}/cmis-client
978346
%{_mandir}/man1/cmis-client.1*
978346
978346
%changelog
978346
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.5.2-12
978346
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
978346
  Related: rhbz#1991688
978346
978346
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.5.2-11
978346
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
978346
978346
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 0.5.2-10
978346
- Rebuilt for removed libstdc++ symbol (#1937698)
978346
978346
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-9
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
978346
978346
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 0.5.2-8
978346
- Rebuilt for Boost 1.75
978346
978346
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-7
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
978346
978346
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 0.5.2-6
978346
- Use make macros
978346
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
978346
978346
* Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 0.5.2-5
978346
- Rebuilt for Boost 1.73
978346
978346
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-4
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
978346
978346
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
978346
978346
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 0.5.2-2
978346
- Rebuilt for Boost 1.69
978346
978346
* Thu Dec 27 2018 David Tardon <dtardon@redhat.com> - 0.5.2-1
978346
- new upstream release
978346
978346
* Mon Dec 10 2018 Caolán McNamara <caolanm@redhat.com> - 0.5.1-14
978346
- allow building with c++17
978346
978346
* Wed Sep 12 2018 Stephan Bergmann <sbergman@redhat.com> - 0.5.1-13
978346
- fix Google Drive login
978346
978346
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-12
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
978346
978346
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-11
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
978346
978346
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.5.1-10
978346
- Rebuilt for Boost 1.66
978346
978346
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-9
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
978346
978346
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-8
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
978346
978346
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.1-7
978346
- Rebuilt for Boost 1.64
978346
978346
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-6
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
978346
978346
* Mon Feb 27 2017 David Tardon <dtardon@redhat.com> - 0.5.1-5
978346
- Resolves: rhbz#1410197 work around infinite redirection loop
978346
978346
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
978346
978346
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.1-3
978346
- Rebuilt for Boost 1.63
978346
978346
* Wed May 04 2016 David Tardon <dtardon@redhat.com> - 0.5.1-2
978346
- fix Google Drive login
978346
978346
* Fri Mar 04 2016 David Tardon <dtardon@redhat.com> - 0.5.1-1
978346
- new upstream release
978346
978346
* Wed Mar 02 2016 David Tardon <dtardon@redhat.com> - 0.5.0-12
978346
- add a bunch of fixes for problems found by coverity
978346
978346
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-11
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
978346
978346
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.5.0-10
978346
- Rebuilt for Boost 1.60
978346
978346
* Wed Sep 02 2015 Jonathan Wakely <jwakely@redhat.com> 0.5.0-9
978346
- Patched and rebuilt for Boost 1.59
978346
978346
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-8
978346
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
978346
978346
* Fri Jul 24 2015 Adam Williamson <awilliam@redhat.com> - 0.5.0-7
978346
- rebuild for Boost 1.58 (for f23, for real this time)
978346
978346
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.5.0-6
978346
- rebuild for Boost 1.58
978346
978346
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-5
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
978346
978346
* Sun Apr 12 2015 David Tardon <dtardon@redhat.com> - 0.5.0-4
978346
- rebuild for yet another C++ ABI break
978346
978346
* Fri Feb 20 2015 David Tardon <dtardon@redhat.com> - 0.5.0-3
978346
- rebuild for C++ stdlib ABI change in gcc5
978346
978346
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.5.0-2
978346
- Rebuild for boost 1.57.0
978346
978346
* Sun Dec 21 2014 David Tardon <dtardon@redhat.com> - 0.5.0-1
978346
- new upstream release
978346
978346
* Fri Sep 05 2014 David Tardon <dtardon@redhat.com> - 0.4.1-8
978346
- coverity: fix mismatching exceptions
978346
978346
* Thu Sep 04 2014 David Tardon <dtardon@redhat.com> - 0.4.1-7
978346
- a few use-after-free fixes for the C wrapper
978346
978346
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-6
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
978346
978346
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
978346
978346
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.4.1-4
978346
- Rebuild for boost 1.55.0
978346
978346
* Fri Feb 28 2014 David Tardon <dtardon@redhat.com> - 0.4.1-3
978346
- Resolves: rhbz#1070691 test failing on big endians
978346
978346
* Thu Nov 21 2013 David Tardon <dtardon@redhat.com> - 0.4.1-2
978346
- disable tests on arm
978346
978346
* Wed Nov 06 2013 David Tardon <dtardon@redhat.com> - 0.4.1-1
978346
- new upstream release
978346
978346
* Fri Aug 30 2013 David Tardon <dtardon@redhat.com> - 0.3.1-8
978346
- Resolves: rhbz#1000819 pkgconfig file for libcmis-c is broken
978346
978346
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-7
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
978346
978346
* Sat Jul 27 2013 pmachata@redhat.com - 0.3.1-6
978346
- Rebuild for boost 1.54.0
978346
978346
* Wed Apr 24 2013 David Tardon <dtardon@redhat.com> - 0.3.1-5
978346
- Resolves: rhbz#918079 libcmis::sha1() can return digests with fewer
978346
  than 40 hexadecimal digits
978346
- Resolves: rhbz#918080 restrict redirection protocols
978346
978346
* Mon Apr 08 2013 David Tardon <dtardon@redhat.com> - 0.3.1-4
978346
- Resolves: rhbz#918044 memory leaks on exception path in C wrapper
978346
978346
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.3.1-3
978346
- Rebuild for Boost-1.53.0
978346
978346
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.3.1-2
978346
- Rebuild for Boost-1.53.0
978346
978346
* Mon Feb 04 2013 David Tardon <dtardon@redhat.com> - 0.3.1-1
978346
- new release
978346
978346
* Wed Dec 19 2012 David Tardon <dtardon@redhat.com> - 0.3.0-6
978346
- use xmlto for generating man page
978346
978346
* Sat Dec 08 2012 David Tardon <dtardon@redhat.com> - 0.3.0-5
978346
- another pointless bump
978346
978346
* Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-4
978346
- another pointless rebuild
978346
978346
* Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-3
978346
- pointless rebuild
978346
978346
* Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-2
978346
- force rebuild
978346
978346
* Thu Dec 06 2012 David Tardon <dtardon@redhat.com> - 0.3.0-1
978346
- new upstream release
978346
978346
* Tue Nov 06 2012 Caolán McNamara <caolanm@redhat.com> - 0.2.3-4
978346
- clarify license
978346
978346
* Fri Jul 27 2012 David Tardon <dtardon@redhat.com> - 0.2.3-3
978346
- rebuilt for boost 1.50
978346
978346
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
978346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
978346
978346
* Thu Jun 28 2012 David Tardon <dtardon@redhat.com> - 0.2.3-1
978346
- new upstream version
978346
978346
* Wed Jun 20 2012 David Tardon <dtardon@redhat.com> - 0.2.2-1
978346
- latest upstream version
978346
978346
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
978346
- Rebuilt for c++ ABI breakage
978346
978346
* Wed Dec 21 2011 David Tardon <dtardon@redhat.com> 0.1.0-1
978346
- initial import