Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

CVS update of carob (carob.spec): msg#00209

db.carob.cvs

Subject: CVS update of carob (carob.spec)

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 <csaba.simon-NAAfj4rwCWC8rjiVs5Nzzw@xxxxxxxxxxxxxxxx>
+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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo