SPECS: metakit.spec - updated to 2.4.9.5, updated URL - static pac...

glen glen at pld-linux.org
Sun Jul 30 23:47:31 CEST 2006


Author: glen                         Date: Sun Jul 30 21:47:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.4.9.5, updated URL
- static package is gone (can't be built with shared at some time, anyone bother to hack?)
- added python- and tcl- bindings subpackages' metakit.spec

---- Files affected:
SPECS:
   metakit.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/metakit.spec
diff -u SPECS/metakit.spec:1.21 SPECS/metakit.spec:1.22
--- SPECS/metakit.spec:1.21	Mon Apr 17 16:17:08 2006
+++ SPECS/metakit.spec	Sun Jul 30 23:47:26 2006
@@ -2,18 +2,18 @@
 Summary:	Embeddable database
 Summary(pl):	Baza danych
 Name:		metakit
-Version:	2.4.9.3
-Release:	1
+Version:	2.4.9.5
+Release:	0.1
 License:	GPL
 Group:		Libraries
 Source0:	http://www.equi4.com/pub/mk/%{name}-%{version}.tar.gz
-# Source0-md5:	89a25775fee5db536937f36deb5223f6
-Patch0:		%{name}-no_static.patch
-URL:		http://www.equi4.com/metakit/
+# Source0-md5:	37ba351462dad0d7f01394e04c173ce3
+URL:		http://www.equi4.com/metakit.html
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
+BuildRequires:	python-devel
 BuildRequires:	tcl-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,41 +45,50 @@
 %description devel -l pl
 Pliki nagłówkowe i dokumentacja do %{name}.
 
-%package static
-Summary:	%{name} static library
-Summary(pl):	Statyczna biblioteka %{name}
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
+%package -n python-metakit
+Summary:	Python modules for metakit
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+%pyrequires_eq	python-libs
+
+%description -n python-metakit
+Python modules for metakit.
 
-%description static
-%{name} static library.
+%package -n tcl-metakit
+Summary:	Tcl modules for metakit
+Group:		Development/Languages/Tcl
+Requires:	%{name} = %{version}-%{release}
 
-%description static -l pl
-Biblioteka statyczna %{name}.
+%description -n tcl-metakit
+Tcl modules for metakit.
 
 %prep
 %setup -q
-%patch0 -p1
+
+# remove CVS control files
+find -name CVS -print0 | xargs -0 rm -rf
 
 %build
 cd unix
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
-%configure
+%configure \
+	--with-tcl \
+	--with-python \
+	--enable-shared
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}} \
+install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{py_sitedir}} \
 	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cd unix
 
 %{__make} install \
+	-C unix \
 	DESTDIR=$RPM_BUILD_ROOT
 
-cd ..
-install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,20 +98,26 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README WHATSNEW
+%doc README
 %attr(755,root,root) %{_libdir}/*.so
 
 %files devel
 %defattr(644,root,root,755)
 %doc CHANGES Metakit.html doc
-%{_libdir}/*.la
 %{_includedir}/*.h
 %{_includedir}/*.inl
 %{_examplesdir}/%{name}-%{version}
 
-%files static
+%files -n python-metakit
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%attr(755,root,root) %{py_sitedir}/Mk4py.so
+%{py_sitedir}/metakit.py
+
+%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
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -110,6 +125,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2006/07/30 21:47:26  glen
+- updated to 2.4.9.5, updated URL
+- static package is gone (can't be built with shared at some time, anyone bother to hack?)
+- added python- and tcl- bindings subpackages' metakit.spec
+
 Revision 1.21  2006/04/17 14:17:08  megabajt
 - strict internal deps
 
@@ -148,9 +168,9 @@
 - perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
 
 Revision 1.10  2002/05/21 23:14:08  kloczek
-perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
              s/^automake -a -c -f/\%\{__automake\}/; \
-	     s/^autoconf/\%\{__autoconf\}/"
+     s/^autoconf/\%\{__autoconf\}/"
 
 Revision 1.9  2002/05/03 19:56:42  mmazur
 - updated to 2.4.5... it's semibroken but works (I think :)
@@ -163,7 +183,7 @@
   Group field using gettext).
 
 Revision 1.6  2002/01/18 02:13:49  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.5  2001/09/26 12:29:26  qboosh
 - adapterized, BuildRequires: automake
@@ -172,13 +192,11 @@
 - release 2.
 
 Revision 1.3  2001/04/22 14:01:47  misiek
-added debian patch
+- added debian patch
 
 Revision 1.2  2001/04/22 09:59:31  misiek
-.inl files added
+- .inl files added
 
 Revision 1.1  2001/04/22 09:15:11  misiek
 - new, embeddable database
 - release 1
-
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/metakit.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list