libcmis/libcmis.spec

124 lines
3.5 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: libcmis
Version: 0.5.0
Release: 1mamba
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>
URL: http://sourceforge.net/projects/libcmis/
Source: http://downloads.sourceforge.net/project/libcmis/libcmis-%{version}.tar.gz
License: GPL, LGPL, MPL 1.1
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libboost-devel
BuildRequires: libcares-devel
BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgss-devel
BuildRequires: libidn-devel
BuildRequires: liblzma-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: librtmp-devel
BuildRequires: libsasl-devel
BuildRequires: libssh2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: docbook-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%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}.
%prep
%setup -q
%build
%configure \
--without-man
# --without-man: or it requires docbook2x which is obsolete
%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
%{_includedir}/libcmis-%{majver}/libcmis/*.hxx
%dir %{_includedir}/libcmis-c-%{majver}/libcmis-c
%{_includedir}/libcmis-c-%{majver}/libcmis-c/*.h
%{_libdir}/libcmis-%{majver}.a
%{_libdir}/libcmis-%{majver}.la
%{_libdir}/libcmis-%{majver}.so
%{_libdir}/libcmis-c-%{majver}.a
%{_libdir}/libcmis-c-%{majver}.la
%{_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
%{_mandir}/manx/cmis-client.xml*
%changelog
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- automatic update by autodist
* 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