Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 7e4fd224f121a14a00335ef464524e0c > files > 2

libcmis-0.5.0-2.mga5.src.rpm

# WARNING:
# this package is only used by LibreOffice.
# Do not blindly update it

%define  lib_name_orig libalsa
%define  api 0.5
%define  major 5
%define  lib_name %mklibname cmis %api %major
%define  develname %mklibname -d cmis

Name: libcmis
Version: 0.5.0
Release: %mkrel 2
Summary: A C++ client library for the CMIS interface
Group: System/Libraries
License: GPL+ or LGPLv2+ or MPLv1.1
URL: http://sourceforge.net/projects/libcmis/
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: boost-devel
BuildRequires: libcurl-devel
BuildRequires: libxml2-devel
BuildRequires: docbook2x
BuildRequires: automake 
BuildRequires: autoconf

%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 -n %lib_name
Summary: Text categorization library
Group:   System/Libraries
Obsoletes: %{_lib}cmis2 < %{version}-%{release}

%description -n %lib_name
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.

%files -n %lib_name
%doc AUTHORS COPYING.GPL COPYING.LGPL COPYING.MPL README
%{_libdir}/%{name}-%{api}.so.%{major}*
%{_libdir}/%{name}-c-%{api}.so.%{major}*

#--------------------------------------------------------------------

%package -n %{develname}
Summary: Development files for %{name}
Group: Development/Other
Requires: %lib_name = %version-%release
Obsoletes: %{name}-devel < %version-%release
Provides: %{name}-devel = %version-%release

%description -n %{develname}
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%files -n %{develname}
%{_includedir}/%{name}-%{api}
%{_includedir}/%{name}-c-%{api}
%{_libdir}/%{name}-%{api}.so
%{_libdir}/%{name}-c-%{api}.so
%{_libdir}/pkgconfig/%{name}-%{api}.pc
%{_libdir}/pkgconfig/%{name}-c-%{api}.pc

#--------------------------------------------------------------------

%package tools
Summary: Command line tool to access CMIS
Group:    Publishing

%description tools
The %{name}-tools package contains a tool for accessing CMIS from the
command line.

%files tools
%{_bindir}/cmis-client
%{_mandir}/manx/cmis-client.xml.*

#--------------------------------------------------------------------

%prep
%setup -q
%apply_patches
sed -i -e 's/docbook-to-man/db2x_docbook2man/' configure

%build
autoreconf -fi
%configure --disable-static --disable-tests --disable-werror --with-man=no
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
%make


%install
%makeinstall_std
rm -f %{buildroot}/%{_libdir}/*.la


%changelog
* Sun Feb 01 2015 tv <tv> 0.5.0-2.mga5
+ Revision: 812970
- submit to core/release

* Sat Jan 24 2015 tv <tv> 0.5.0-1.mga5
+ Revision: 812111
- new release

* Wed Oct 15 2014 umeabot <umeabot> 0.4.1-5.mga5
+ Revision: 740637
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.4.1-4.mga5
+ Revision: 681383
- Mageia 5 Mass Rebuild

* Sat Feb 08 2014 barjac <barjac> 0.4.1-3.mga5
+ Revision: 586649
- rebuild against boost-1.55

* Sat Oct 19 2013 umeabot <umeabot> 0.4.1-2.mga4
+ Revision: 532467
- Mageia 4 Mass Rebuild

* Tue Aug 20 2013 luigiwalser <luigiwalser> 0.4.1-1.mga4
+ Revision: 468465
- 0.4.1
- library major is now 4
- remove upstreamed patch

* Mon Jul 08 2013 fwang <fwang> 0.3.1-3.mga4
+ Revision: 451136
- rebuild for new boost

* Wed Apr 10 2013 malo <malo> 0.3.1-2.mga3
+ Revision: 409462
- rebuild for boost 1.53

* Wed Mar 13 2013 tv <tv> 0.3.1-1.mga3
+ Revision: 402544
- new release

* Sat Jan 12 2013 umeabot <umeabot> 0.3.0-3.mga3
+ Revision: 356922
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Dec 20 2012 fwang <fwang> 0.3.0-2.mga3
+ Revision: 332932
- rebuild for new boost

* Mon Dec 17 2012 tv <tv> 0.3.0-1.mga3
+ Revision: 331909
- update file list
- patch 0: fix build
- new release

* Tue Jul 31 2012 fwang <fwang> 0.2.3-3.mga3
+ Revision: 276497
- rebuild for new boost

* Sun Jul 15 2012 fwang <fwang> 0.2.3-2.mga3
+ Revision: 270983
- update lib package policy

* Thu Jul 05 2012 dmorgan <dmorgan> 0.2.3-1.mga3
+ Revision: 267991
- New version

* Tue May 29 2012 ovitters <ovitters> 0.1.0-2.mga3
+ Revision: 249431
- rebuild due to new boost

  + dmorgan <dmorgan>
    - imported package libcmis


* Wed Dec 21 2011 David Tardon <dtardon@redhat.com> 0.1.0-1
- initial import