Date: Monday, January 30, 2006 @ 12:41:42
  Author: csaba
    Path: /cvsroot/carob/carob

   Added: carob.spec (1.1)

Added .spec file to generate rpm package.

rpmbuild -ta carob-0.0.1.tar.gz


------------+
 carob.spec |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+)


Index: carob/carob.spec
diff -u /dev/null carob/carob.spec:1.1
--- /dev/null   Mon Jan 30 12:41:42 2006
+++ carob/carob.spec    Mon Jan 30 12:41:42 2006
@@ -0,0 +1,68 @@
+Summary: Carob library 
+Name: carob
+Version: 0.0.1
+Release: 1
+
+Copyright: Apache License v2.0
+Group: Development/Libraries
+Vendor: Continuent, Inc 
+Packager: Csaba Simon <[EMAIL PROTECTED]>
+Url: http://continuent.org/
+
+Source: %name-%version.tar.gz
+
+Prefix: %_prefix
+BuildRoot: %_tmppath/%name-%version-root
+
+%description
+Bringing Sequoia technology to the C/C++ world.
+
+Carob's base is a C++ port of the JDBC driver code. It offers to
+developpers the same access as in Java. Connections, Requests,
+ResultSets and all necessary C++ classes can be used transparently
+and directly in any C++ enabled application.
+
+%package devel
+Summary: Native MySQL API using Sequoia, static libraries
+Group: Development/Libraries
+Requires: %name = %version
+
+%description devel
+Bringing Sequoia technology to the C/C++ world.
+
+Carob's base is a C++ port of the JDBC driver code. It offers to
+developpers the same access as in Java. Connections, Requests,
+ResultSets and all necessary C++ classes can be used transparently
+and directly in any C++ enabled application.
+
+This package contains development files - library headers and static library
+
+%prep
+rm -rf $RPM_BUILD_ROOT
+
+%setup -q
+
+%build
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D libcarob.so $RPM_BUILD_ROOT%{prefix}/lib/libcarob.so
+install -D libcarob.so.1 $RPM_BUILD_ROOT%{prefix}/lib/libcarob.so.1
+install -D libcarob.a $RPM_BUILD_ROOT%{prefix}/lib/libcarob.a
+
+install -d $RPM_BUILD_ROOT%{prefix}/include/carob
+install include/*.hpp $RPM_BUILD_ROOT%{prefix}/include/carob
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,755)
+%attr(755,root,root) %prefix/lib/lib*.so*
+
+%files devel
+%defattr(-,root,root,755)
+%attr(644,root,root) %prefix/lib/*.a
+%attr(644,root,root) %prefix/include/carob/*.hpp

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to