You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
2.9 KiB
114 lines
2.9 KiB
Name: libcmis
|
|
Version: 0.3.0
|
|
Release: 3%{?dist}
|
|
Summary: A C++ client library for the CMIS interface
|
|
|
|
Group: System Environment/Libraries
|
|
License: GPLv2+ 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: docbook2X
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libxml2-devel
|
|
|
|
%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
|
|
Summary: Development files for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%package tools
|
|
Summary: Command line tool to access CMIS
|
|
Group: Applications/Publishing
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description tools
|
|
The %{name}-tools package contains a tool for accessing CMIS from the
|
|
command line.
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i -e 's/docbook-to-man/db2x_docbook2man/' configure
|
|
|
|
|
|
%build
|
|
%configure --disable-static --disable-tests --disable-werror
|
|
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 %{?_smp_mflags} V=1
|
|
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot}
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%doc AUTHORS COPYING.* README
|
|
%{_libdir}/%{name}-0.3.so.3
|
|
%{_libdir}/%{name}-0.3.so.3.*
|
|
%{_libdir}/%{name}-c-0.3.so.3
|
|
%{_libdir}/%{name}-c-0.3.so.3.*
|
|
|
|
|
|
%files devel
|
|
%{_includedir}/%{name}-0.3
|
|
%{_includedir}/%{name}-c-0.3
|
|
%{_libdir}/%{name}-0.3.so
|
|
%{_libdir}/%{name}-c-0.3.so
|
|
%{_libdir}/pkgconfig/%{name}-0.3.pc
|
|
%{_libdir}/pkgconfig/%{name}-c-0.3.pc
|
|
|
|
|
|
%files tools
|
|
%{_bindir}/cmis-client
|
|
%{_mandir}/man1/cmis-client.1*
|
|
|
|
|
|
%changelog
|
|
* Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-3
|
|
- pointless rebuild
|
|
|
|
* Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-2
|
|
- force rebuild
|
|
|
|
* Thu Dec 06 2012 David Tardon <dtardon@redhat.com> - 0.3.0-1
|
|
- new upstream release
|
|
|
|
* Tue Nov 06 2012 Caolán McNamara <caolanm@redhat.com> - 0.2.3-4
|
|
- clarify license
|
|
|
|
* Fri Jul 27 2012 David Tardon <dtardon@redhat.com> - 0.2.3-3
|
|
- rebuilt for boost 1.50
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Thu Jun 28 2012 David Tardon <dtardon@redhat.com> - 0.2.3-1
|
|
- new upstream version
|
|
|
|
* Wed Jun 20 2012 David Tardon <dtardon@redhat.com> - 0.2.2-1
|
|
- latest upstream version
|
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
* Wed Dec 21 2011 David Tardon <dtardon@redhat.com> 0.1.0-1
|
|
- initial import
|