[libcmis] initial import

David Tardon dtardon at fedoraproject.org
Fri Jan 27 13:23:21 UTC 2012


commit ae3bb1f1a0b316881aff096e2fcb315c31052a0e
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Jan 27 14:23:02 2012 +0100

    initial import

 .gitignore   |    1 +
 libcmis.spec |   89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 91 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..37e6616 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libcmis-0.1.0.tar.gz
diff --git a/libcmis.spec b/libcmis.spec
new file mode 100644
index 0000000..4183c7f
--- /dev/null
+++ b/libcmis.spec
@@ -0,0 +1,89 @@
+Name: libcmis
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: A C++ client library for the CMIS interface
+
+Group: System Environment/Libraries
+License: GPL+ or LGPLv2+ or MPLv1.1
+URL: http://sourceforge.net/projects/libcmis/
+Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires: boost-devel
+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}
+Requires: pkgconfig
+
+%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
+
+
+%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}
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}/%{_libdir}/*.la
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.* README
+%{_libdir}/%{name}-0.2.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}
+%{_libdir}/%{name}-0.2.so
+%{_libdir}/pkgconfig/%{name}-0.2.pc
+
+
+%files tools
+%defattr(-,root,root,-)
+%{_bindir}/cmis-client
+
+
+%changelog
+* Wed Dec 21 2011 David Tardon <dtardon at redhat.com> 0.1.0-1
+- initial import
diff --git a/sources b/sources
index e69de29..538dfea 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4be634617054ada5b6d1886f63160f4f  libcmis-0.1.0.tar.gz


More information about the scm-commits mailing list