SPECS: metakit.spec - up to 2.4.9.7; lib64 fixes

zbyniu zbyniu at pld-linux.org
Fri Jan 4 02:59:54 CET 2008


Author: zbyniu                       Date: Fri Jan  4 01:59:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.4.9.7; lib64 fixes 

---- Files affected:
SPECS:
   metakit.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/metakit.spec
diff -u SPECS/metakit.spec:1.26 SPECS/metakit.spec:1.27
--- SPECS/metakit.spec:1.26	Tue Feb 13 07:46:53 2007
+++ SPECS/metakit.spec	Fri Jan  4 02:59:48 2008
@@ -2,12 +2,12 @@
 Summary:	Embeddable database
 Summary(pl.UTF-8):	Baza danych
 Name:		metakit
-Version:	2.4.9.5
+Version:	2.4.9.7
 Release:	0.1
 License:	GPL
 Group:		Libraries
 Source0:	http://www.equi4.com/pub/mk/%{name}-%{version}.tar.gz
-# Source0-md5:	37ba351462dad0d7f01394e04c173ce3
+# Source0-md5:	17330257376eea657827ed632ea62c9e
 URL:		http://www.equi4.com/metakit.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -17,6 +17,8 @@
 BuildRequires:	tcl-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		tcl_version	8.5
+
 %description
 MetaKit is an embeddable database which runs on Unix, Windows,
 Macintosh, and other platforms. It lets you build applications which
@@ -74,17 +76,14 @@
 %prep
 %setup -q
 
-# remove CVS control files
-find -name CVS -print0 | xargs -0 rm -rf
-
 %build
 cd unix
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %configure \
-	--with-tcl \
-	--with-python \
+	--with-tcl=%{_includedir},%{_libdir}/tcl%{tcl_version} \
+	--with-python=%{py_incdir},%{py_sitedir} \
 	--enable-shared
 %{__make}
 
@@ -124,9 +123,9 @@
 
 %files -n tcl-metakit
 %defattr(644,root,root,755)
-%dir %{_libdir}/tcl8.4/Mk4tcl
-%attr(755,root,root) %{_libdir}/tcl8.4/Mk4tcl/Mk4tcl.so
-%{_libdir}/tcl8.4/Mk4tcl/pkgIndex.tcl
+%dir %{_libdir}/tcl%{tcl_version}/Mk4tcl
+%attr(755,root,root) %{_libdir}/tcl%{tcl_version}/Mk4tcl/Mk4tcl.so
+%{_libdir}/tcl%{tcl_version}/Mk4tcl/pkgIndex.tcl
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -134,6 +133,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2008-01-04 01:59:48  zbyniu
+- up to 2.4.9.7; lib64 fixes
+
 Revision 1.26  2007-02-13 06:46:53  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/metakit.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list