Summary: A C++ client library for the CMIS interface
Summary(pl.UTF-8): Biblioteka klienta C++ dla inferfejsu CMIS
Name: libcmis
-Version: 0.5.0
-Release: 8
+Version: 0.5.2
+Release: 6
License: GPL v2+ or LGPL v2+ or MPL v1.1
Group: Libraries
-Source0: http://downloads.sourceforge.net/libcmis/%{name}-%{version}.tar.gz
-# Source0-md5: 5821b806a98e6c38370970e682ce76e8
-Patch0: %{name}-boost-gcc.patch
+#Source0Download: https://github.com/tdf/libcmis/releases
+Source0: https://github.com/tdf/libcmis/releases/download/v%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 3653bc54e1bcd17ae09a1a7086daa38b
+#Source0: http://downloads.sourceforge.net/libcmis/%{name}-%{version}.tar.gz
URL: http://sourceforge.net/projects/libcmis/
BuildRequires: autoconf >= 2.63
-BuildRequires: automake
-BuildRequires: boost-devel
+BuildRequires: automake >= 1:1.10
+BuildRequires: boost-devel >= 1.36
BuildRequires: cppunit-devel >= 1.12
BuildRequires: curl-devel >= 7.12.3
BuildRequires: docbook2X >= 0.8.8-4
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: libtool >= 2:2
BuildRequires: libxml2-devel >= 2.0
BuildRequires: pkgconfig
-BuildRequires: sed >= 4.0
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
Requires: curl-libs >= 7.12.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CMIS
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: boost-devel
+Requires: boost-devel >= 1.36
Requires: curl-devel >= 7.12.3
Requires: libstdc++-devel
Requires: libxml2-devel >= 2.0
%prep
%setup -q
-%patch0 -p1
-
-#%{__sed} -i -e 's/docbook-to-man/docbook2X2man/' configure.ac
%build
%{__libtoolize}
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog NEWS
%attr(755,root,root) %{_libdir}/libcmis-0.5.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libcmis-0.5.so.5
%attr(755,root,root) %{_libdir}/libcmis-c-0.5.so.*.*.*