Hi,
I am working on adding InnoDB embedded to the openSUSE Build Service at
http://build.opensuse.org/ - which will build and provide RPMs of this library
for a wide range of RPM-based distributions. The packages should appear
shortly (I'll blog about it when they're ready), attached please find a pretty
generic RPM spec file. I would appreciate if it could be included in future
releases of the Embedded InnoDB.
I also noticed that the test/examples did not compile correctly (the file
names in the Makefile.examples differed from the actual files in the
directory, and ib_test4.c was not installed by "make install"). Attached
please find a patch against version 1.0.0 that fixes these problems.
Thanks!
Bye,
LenZ
--
Lenz Grimmer - MySQL Community Relations Manager - http://de.sun.com/
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten, DE
Geschaeftsfuehrer: Thomas Schroeder, Wolfang Engels, Wolf Frenkel
Vorsitz d. Aufsichtsrates: Martin Haering AG Muenchen: HRB161028
Attachment: [text/x-patch] embedded_innodb-1.0.0.diff
Summary: Embedded InnoDB library
Name: embedded_innodb
Version: 1.0.0
Release: 0
License: GPL
Group: System Environment/Libraries
BuildRequires: gcc zlib-devel
URL: http://www.innodb.com/products/embedded-innodb/
Source: http://www.innodb.com/download/%{name}/%{name}-%{version}.tar.gz
Patch: %{name}-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
Made for application developers, device makers and ISVs, Embedded InnoDB
provides all the high-performance, proven and reliable data management features
of InnoDB in an embeddable form, without the overhead, footprint or unneeded
features of the MySQL server.
Embedded InnoDB is used independently of MySQL. It is not a plugin, nor a
storage engine for MySQL. It is designed to be linked directly into application
programs, and provides highly efficient, low-level database management
services, not using SQL.
Embedded InnoDB provides the features, functions and capabilities that embedded
applications require:
* Embedded InnoDB delivers all the high-performance and reliability
capabilities of the InnoDB storage engine, including concurrency control,
sophisticated indexing, crash recovery and more.
* For application programmers, Embedded InnoDB provides a non-SQL, ISAM-like
API for creating and querying tables and executing other data management
functions.
* Designed for use in environments without a database administrator, Embedded
InnoDB configuration is fully automatic and has all the operational
characteristics needed for stand-alone applications and devices.
%package -n %{name}1
Group: System Environment/Libraries
Summary: Embedded InnoDB Library - Shared library
%description -n %{name}1
This is the the shared library part of Embedded InnoDB.
Made for application developers, device makers and ISVs, Embedded InnoDB
provides all the high-performance, proven and reliable data management features
of InnoDB in an embeddable form, without the overhead, footprint or unneeded
features of the MySQL server.
Embedded InnoDB is used independently of MySQL. It is not a plugin, nor a
storage engine for MySQL. It is designed to be linked directly into application
programs, and provides highly efficient, low-level database management
services, not using SQL.
Embedded InnoDB provides the features, functions and capabilities that embedded
applications require:
* Embedded InnoDB delivers all the high-performance and reliability
capabilities of the InnoDB storage engine, including concurrency control,
sophisticated indexing, crash recovery and more.
* For application programmers, Embedded InnoDB provides a non-SQL, ISAM-like
API for creating and querying tables and executing other data management
functions.
* Designed for use in environments without a database administrator, Embedded
InnoDB configuration is fully automatic and has all the operational
characteristics needed for stand-alone applications and devices.
%package devel
Group: Development/Libraries
Summary: Embedded InnoDB Library - Header files
%description devel
Development files for the Embedded InnoDB library.
Made for application developers, device makers and ISVs, Embedded InnoDB
provides all the high-performance, proven and reliable data management features
of InnoDB in an embeddable form, without the overhead, footprint or unneeded
features of the MySQL server.
Embedded InnoDB is used independently of MySQL. It is not a plugin, nor a
storage engine for MySQL. It is designed to be linked directly into application
programs, and provides highly efficient, low-level database management
services, not using SQL.
Embedded InnoDB provides the features, functions and capabilities that embedded
applications require:
* Embedded InnoDB delivers all the high-performance and reliability
capabilities of the InnoDB storage engine, including concurrency control,
sophisticated indexing, crash recovery and more.
* For application programmers, Embedded InnoDB provides a non-SQL, ISAM-like
API for creating and querying tables and executing other data management
functions.
* Designed for use in environments without a database administrator, Embedded
InnoDB configuration is fully automatic and has all the operational
characteristics needed for stand-alone applications and devices.
%prep
%setup -q
%patch -p1
%configure
%build
%{__make} %{_smp_mflags}
%install
%{__make} install DESTDIR="%{buildroot}"
%clean
%{__rm} -rf %{buildroot}
%post -n %{name}1 -p /sbin/ldconfig
%postun -n %{name}1 -p /sbin/ldconfig
%files -n %{name}1
%defattr(-, root, root)
%{_libdir}/libinnodb-%{version}.so.*
%files devel
%defattr(-, root, root)
%doc ChangeLog COPYING COPYING.Google README
%{_datadir}/%{name}-1.0
%{_includedir}/%{name}-1.0
%{_libdir}/libinnodb.a
%{_libdir}/libinnodb.la
%{_libdir}/libinnodb.so
%changelog
* Wed Jun 17 2009 Lenz Grimmer <lenz@stripped> - 1.0.0
- Initial package (version 1.0.0)
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
| Thread |
|---|
| • PATCH and RPM spec file for InnoDB embedded | Lenz Grimmer | 17 Jun |