1 Summary: Embeddable database
2 Summary(pl.UTF-8): Baza danych
8 Source0: http://www.equi4.com/pub/mk/%{name}-%{version}.tar.gz
9 # Source0-md5: 37ba351462dad0d7f01394e04c173ce3
10 URL: http://www.equi4.com/metakit.html
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libstdc++-devel
14 BuildRequires: libtool
15 BuildRequires: python-devel
16 BuildRequires: tcl-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 MetaKit is an embeddable database which runs on Unix, Windows,
21 Macintosh, and other platforms. It lets you build applications which
22 store their data efficiently, in a portable way, and which will not
23 need a complex runtime installation. In terms of the data model,
24 MetaKit takes the middle ground between RDBMS, OODBMS, and flat-file
25 databases - yet it is quite different from each of them.
27 %description -l pl.UTF-8
28 MetaKit to baza danych pracująca na platformach Unix, Windows,
29 Macintosh oraz innych. Pozwala ona na tworzenie aplikacji, które
30 zapisują dane efektywnie w sposób łatwy do przenoszenia między
31 platformami i które nie wymagają skomplikowanej instalacji. MetaKit
32 używając określeń z dziedziny baz danych znajduje się pomiędzy RDBMS,
33 OODBMS i bazami opartymi na płaskich-plikach.
36 Summary: Header files and development documentation for %{name}
37 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do %{name}
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Obsoletes: metakit-static
43 Header files and development documentation for %{name}.
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe i dokumentacja do %{name}.
48 %package -n python-metakit
49 Summary: Python modules for metakit
50 Summary(pl.UTF-8): Moduły Pythona dla pakietu metakit
51 Group: Libraries/Python
52 Requires: %{name} = %{version}-%{release}
53 %pyrequires_eq python-libs
55 %description -n python-metakit
56 Python modules for metakit.
58 %description -n python-metakit -l pl.UTF-8
59 Moduły Pythona dla pakietu metakit.
61 %package -n tcl-metakit
62 Summary: Tcl modules for metakit
63 Summary(pl.UTF-8): Moduły Tcl-a dla pakietu metakit
64 Group: Development/Languages/Tcl
65 Requires: %{name} = %{version}-%{release}
67 %description -n tcl-metakit
68 Tcl modules for metakit.
70 %description -n tcl-metakit -l pl.UTF-8
71 Moduły Tcl-a dla pakietu metakit.
76 # remove CVS control files
77 find -name CVS -print0 | xargs -0 rm -rf
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{py_sitedir}} \
93 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
97 DESTDIR=$RPM_BUILD_ROOT
99 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
102 rm -rf $RPM_BUILD_ROOT
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/*.so
113 %defattr(644,root,root,755)
114 %doc CHANGES Metakit.html doc
117 %{_examplesdir}/%{name}-%{version}
119 %files -n python-metakit
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{py_sitedir}/Mk4py.so
122 %{py_sitedir}/metakit.py
124 %files -n tcl-metakit
125 %defattr(644,root,root,755)
126 %dir %{_libdir}/tcl8.4/Mk4tcl
127 %attr(755,root,root) %{_libdir}/tcl8.4/Mk4tcl/Mk4tcl.so
128 %{_libdir}/tcl8.4/Mk4tcl/pkgIndex.tcl