SPECS: sqlite3.spec - up to 3.2.2

arekm arekm at pld-linux.org
Sat Jul 23 13:25:27 CEST 2005


Author: arekm                        Date: Sat Jul 23 11:25:27 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 3.2.2

---- Files affected:
SPECS:
   sqlite3.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/sqlite3.spec
diff -u SPECS/sqlite3.spec:1.9 SPECS/sqlite3.spec:1.10
--- SPECS/sqlite3.spec:1.9	Sat May 14 10:25:22 2005
+++ SPECS/sqlite3.spec	Sat Jul 23 13:25:22 2005
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO:
+# - fix lib64 in tcl module
 #
 # Conditional build:
 %bcond_without	tests # don't run tests
@@ -6,13 +8,13 @@
 Summary:	SQLite library
 Summary(pl):	Biblioteka SQLite
 Name:		sqlite3
-Version:	3.0.8
-Release:	3
+Version:	3.2.2
+Release:	1
 License:	LGPL
 Group:		Libraries
 # Source0Download: http://sqlite.org/download.html
 Source0:	http://sqlite.org/sqlite-%{version}.tar.gz
-# Source0-md5:	b7dff1ec9bf4d08928c039b278630ba7
+# Source0-md5:	802f19e1f0eba56f3f1be8c6491c8a55
 URL:		http://sqlite.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -21,6 +23,8 @@
 BuildRequires:	tcl-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define         _ulibdir        /usr/lib
+
 %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
@@ -118,8 +122,19 @@
 
 Pakiet zawiera statyczne biblioteki SQLite.
 
+%package -n tcl-%{name}
+Summary:        sqlite3 tcl extension
+Summary(pl):    Rozszerzenie sqlite3 dla Tcl
+Group:          Development/Languages/Tcl
+
+%description -n tcl-%{name}
+sqlite3 tcl extension.
+
+%description -l pl -n tcl-%{name}
+Rozszerzenie sqlite3 dla Tcl.
+
 %prep
-%setup -q -n sqlite
+%setup -q -n sqlite-%{version}
 sed -i 's/mkdir doc/#mkdir doc/' Makefile*
 
 %build
@@ -128,6 +143,7 @@
 %{__aclocal}
 %{__autoconf}
 %configure \
+	--with-tcl=%{_ulibdir} \
 	--enable-threadsafe
 %{__make}
 %{__make} doc
@@ -141,7 +157,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install sqlite.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install sqlite3.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -154,7 +170,7 @@
 %doc README
 %attr(755,root,root) %{_bindir}/sqlite3
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-%{_mandir}/man1/sqlite.1*
+%{_mandir}/man1/sqlite3.1*
 
 %files devel
 %defattr(644,root,root,755)
@@ -168,12 +184,21 @@
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
 
+%files -n tcl-%{name}
+%defattr(644,root,root,755)
+%dir %{_ulibdir}/tcl*/sqlite3
+%attr(755,root,root) %{_ulibdir}/tcl*/sqlite3/*.so
+%{_ulibdir}/tcl*/sqlite3/*.tcl
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/07/23 11:25:22  arekm
+- up to 3.2.2
+
 Revision 1.9  2005/05/14 08:25:22  qboosh
 - release 3 to rebuild w/o sqlite Provides
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sqlite3.spec?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list