]> git.pld-linux.org Git - packages/sqlite3.git/commitdiff
- cp sqlite sqlite3 (following authors package name and allowing clean auto/ac/sqlite-3_0_8-1
authorhavner <havner@pld-linux.org>
Mon, 1 Nov 2004 18:57:30 +0000 (18:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  upgrade)

Changed files:
    sqlite3.spec -> 1.1

sqlite3.spec [new file with mode: 0644]

diff --git a/sqlite3.spec b/sqlite3.spec
new file mode 100644 (file)
index 0000000..5293180
--- /dev/null
@@ -0,0 +1,168 @@
+#
+# Conditional build:
+%bcond_without tests # don't run tests
+#
+Summary:       SQLite library
+Summary(pl):   Biblioteka SQLite
+Name:          sqlite
+Version:       3.0.8
+Release:       1
+License:       LGPL
+Group:         Libraries
+# Source0Download: http://sqlite.org/download.html
+Source0:       http://sqlite.org/%{name}-%{version}.tar.gz
+# Source0-md5: b7dff1ec9bf4d08928c039b278630ba7
+URL:           http://sqlite.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: readline-devel
+BuildRequires: tcl-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SQLite is a C library that implements an SQL database engine. A large
+subset of SQL92 is supported. A complete database is stored in a
+single disk file. The API is designed for convenience and ease of use.
+Applications that link against SQLite can enjoy the power and
+flexiblity of an SQL database without the administrative hassles of
+supporting a separate database server. Because it omits the
+client-server interaction overhead and writes directly to disk, SQLite
+is also faster than the big database servers for most operations. In
+addition to the C library, the SQLite distribution includes a
+command-line tool for interacting with SQLite databases and SQLite
+bindings for Tcl/Tk.
+
+%description -l pl
+SQLite jest bibliotek± jêzyka C, która implementuje silnik baz danych
+SQL (obs³ugiwana jest wiêkszo¶æ standardu SQL92). Ca³a baza danych
+przechowywana jest w jednym pliku. Aplikacje wykorzystuj±ce tê
+bibliotekê charakteryzuj± siê si³± i elastyczno¶ci± SQLowych baz
+danych bez konieczno¶ci utrzymywania osobnego serwera baz danych.
+Poniewa¿ pomijana jest komunikacja klient-serwer i dane s± zapisywane
+bezpo¶rednio na dysku, SQLite jest szybsza od du¿ych serwerów
+bazodanowych przy wiêkszo¶ci operacji na bazie danych. Dodatkowo
+oprócz biblioteki jêzyka C, dostarczany jest program do zarz±dzania
+bazami danych.
+
+%package devel
+Summary:       Header files for SQLite development
+Summary(pl):   Pliki nag³ówkowe SQLite
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+SQLite is a C library that implements an SQL database engine. A large
+subset of SQL92 is supported. A complete database is stored in a
+single disk file. The API is designed for convenience and ease of use.
+Applications that link against SQLite can enjoy the power and
+flexiblity of an SQL database without the administrative hassles of
+supporting a separate database server. Because it omits the
+client-server interaction overhead and writes directly to disk, SQLite
+is also faster than the big database servers for most operations. In
+addition to the C library, the SQLite distribution includes a
+command-line tool for interacting with SQLite databases and SQLite
+bindings for Tcl/Tk.
+
+This package contains the header files needed to develop programs that
+use these SQLite.
+
+%description devel -l pl
+SQLite jest bibliotek± jêzyka C, która implementuje silnik baz danych
+SQL (obs³ugiwana jest wiêkszo¶æ standardu SQL92). Ca³a baza danych
+przechowywana jest w jednym pliku. Aplikacje wykorzystuj±ce tê
+bibliotekê charakteryzuj± siê si³± i elastyczno¶ci± SQLowych baz
+danych bez konieczno¶ci utrzymywania osobnego serwera baz danych.
+Poniewa¿ pomijana jest komunikacja klient-serwer i dane s± zapisywane
+bezpo¶rednio na dysku, SQLite jest szybsza od du¿ych serwerów
+bazodanowych przy wiêkszo¶ci operacji na bazie danych. Dodatkowo
+oprócz biblioteki jêzyka C, dostarczany jest program do zarz±dzania
+bazami danych.
+
+Pakiet zawiera pliki nagówkowe niezbedne do kompilowania programów
+u¿ywaj±cych biblioteki SQLite.
+
+%package static
+Summary:       Static libraries for SQLite development
+Summary(pl):   Statyczne biblioteki SQLite
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+SQLite is a C library that implements an SQL database engine. A large
+subset of SQL92 is supported. A complete database is stored in a
+single disk file. The API is designed for convenience and ease of use.
+Applications that link against SQLite can enjoy the power and
+flexiblity of an SQL database without the administrative hassles of
+supporting a separate database server. Because it omits the
+client-server interaction overhead and writes directly to disk, SQLite
+is also faster than the big database servers for most operations. In
+addition to the C library, the SQLite distribution includes a
+command-line tool for interacting with SQLite databases and SQLite
+bindings for Tcl/Tk.
+
+This package contains the static SQLite libraries.
+
+%description static -l pl
+SQLite jest bibliotek± jêzyka C, która implementuje silnik baz danych
+SQL (obs³ugiwana jest wiêkszo¶æ standardu SQL92). Ca³a baza danych
+przechowywana jest w jednym pliku. Aplikacje wykorzystuj±ce tê
+bibliotekê charakteryzuj± siê si³± i elastyczno¶ci± SQLowych baz
+danych bez konieczno¶ci utrzymywania osobnego serwera baz danych.
+Poniewa¿ pomijana jest komunikacja klient-serwer i dane s± zapisywane
+bezpo¶rednio na dysku, SQLite jest szybsza od du¿ych serwerów
+bazodanowych przy wiêkszo¶ci operacji na bazie danych. Dodatkowo
+oprócz biblioteki jêzyka C, dostarczany jest program do zarz±dzania
+bazami danych.
+
+Pakiet zawiera statyczne biblioteki SQLite.
+
+%prep
+%setup -q -n %{name}
+sed -i 's/mkdir doc/#mkdir doc/' Makefile*
+
+%build
+%{__libtoolize}
+cp -f /usr/share/automake/config.sub .
+%{__aclocal}
+%{__autoconf}
+%configure \
+       --enable-threadsafe
+%{__make}
+%{__make} doc
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir},%{_mandir}/man1}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install sqlite.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/sqlite3
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_mandir}/man1/sqlite.1*
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/*
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/sqlite3.h
+%{_pkgconfigdir}/*.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.348053 seconds and 4 git commands to generate.