Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-sqlite-383-static
dba-sqlite-383-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-sqlite-383-static.spec of Package dba-sqlite-383-static
%define real_name sqlite %define version 3.8.3 %define vers 383 %define tarversion 3080300 %define prefix /DBA/%{real_name}/%{version} Name: dba-%{real_name}-%{vers}-static Summary: Embeddable SQL Database Engine version 3.8.3 Version: %{version} Release: 1 License: MIT Group: Productivity/Databases/Servers Url: http://www.sqlite.org/ Source0: http://www.sqlite.org/2014/sqlite-autoconf-%tarversion.tar.gz Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif BuildRequires: pkg-config glibc-devel BuildRequires: readline-devel %description SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. SQLite is not a client library used to connect to a big database server. SQLite is a server and the SQLite library reads and writes directly to and from the database files on disk. SQLite can be used via the sqlite command line tool or via any application that supports the Qt database plug-ins. %prep %setup -q -n %{real_name}-autoconf-%{tarversion} %build export CFLAGS="%optflags -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS4" ./configure \ --prefix=%{prefix} \ --enable-static --disable-shared --with-pic --disable-rpath %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} %post # add pc file to pkgconfig directory if [ -d %{_libdir}/pkgconfig ]; then cd %{_libdir}/pkgconfig if [ -e sqlite3.pc ]; then %{__rm} -f sqlite3.pc fi %{__ln_s} -f %{prefix}/lib/pkgconfig/sqlite3.pc . fi cd %{prefix}/lib %{__ln_s} -f libsqlite3.a libsqlite.a %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %dir %{prefix} %{prefix}/bin %{prefix}/include %{prefix}/lib %{prefix}/share %changelog * Fri Feb 7 2014 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor