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