packages: libcmis/libcmis.spec (NEW)=?UTF-8?Q?=20?=- new; half raw
arekm
arekm at pld-linux.org
Sat Feb 11 18:54:43 CET 2012
Author: arekm Date: Sat Feb 11 17:54:43 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new; half raw
---- Files affected:
packages/libcmis:
libcmis.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libcmis/libcmis.spec
diff -u /dev/null packages/libcmis/libcmis.spec:1.1
--- /dev/null Sat Feb 11 18:54:44 2012
+++ packages/libcmis/libcmis.spec Sat Feb 11 18:54:38 2012
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+Summary: A C++ client library for the CMIS interface
+Name: libcmis
+Version: 0.1.0
+Release: 1
+License: GPL+ or LGPLv2+ or MPLv1.1
+Group: Libraries
+URL: http://sourceforge.net/projects/libcmis/
+Source0: http://downloads.sourceforge.net/libcmis/%{name}-%{version}.tar.gz
+# Source0-md5: 4be634617054ada5b6d1886f63160f4f
+BuildRequires: boost-devel
+BuildRequires: curl-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} = %{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} = %{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
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING.* README
+%attr(755,root,root) %{_libdir}/%{name}-0.2.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}-0.2.so
+%{_pkgconfigdir}/%{name}-0.2.pc
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/cmis-client
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/02/11 17:54:38 arekm
+- new; half raw
+
================================================================
More information about the pld-cvs-commit
mailing list