]> git.pld-linux.org Git - packages/metakit.git/blame - metakit.spec
- tabs in preamble
[packages/metakit.git] / metakit.spec
CommitLineData
0aeef0e9 1Summary: Embeddable database
9fc08990 2Summary(pl.UTF-8): Baza danych
0aeef0e9 3Name: metakit
bc59a3e0
ER
4Version: 2.4.9.5
5Release: 0.1
0aeef0e9
AM
6License: GPL
7Group: Libraries
efb8fd58 8Source0: http://www.equi4.com/pub/mk/%{name}-%{version}.tar.gz
bc59a3e0
ER
9# Source0-md5: 37ba351462dad0d7f01394e04c173ce3
10URL: http://www.equi4.com/metakit.html
0aeef0e9 11BuildRequires: autoconf
118181be 12BuildRequires: automake
0aeef0e9 13BuildRequires: libstdc++-devel
407f4d58 14BuildRequires: libtool
bc59a3e0 15BuildRequires: python-devel
0aeef0e9
AM
16BuildRequires: tcl-devel
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20MetaKit is an embeddable database which runs on Unix, Windows,
21Macintosh, and other platforms. It lets you build applications which
22store their data efficiently, in a portable way, and which will not
23need a complex runtime installation. In terms of the data model,
24MetaKit takes the middle ground between RDBMS, OODBMS, and flat-file
25databases - yet it is quite different from each of them.
26
c713809b
JR
27%description -l pl.UTF-8
28MetaKit to baza danych pracująca na platformach Unix, Windows,
29Macintosh oraz innych. Pozwala ona na tworzenie aplikacji, które
30zapisują dane efektywnie w sposób łatwy do przenoszenia między
31platformami i które nie wymagają skomplikowanej instalacji. MetaKit
32używając określeń z dziedziny baz danych znajduje się pomiędzy RDBMS,
33OODBMS i bazami opartymi na płaskich-plikach.
0aeef0e9
AM
34
35%package devel
36Summary: Header files and development documentation for %{name}
9fc08990 37Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do %{name}
0aeef0e9 38Group: Development/Libraries
229924a5 39Requires: %{name} = %{version}-%{release}
12c046fc 40Obsoletes: metakit-static
0aeef0e9
AM
41
42%description devel
43Header files and development documentation for %{name}.
44
c713809b
JR
45%description devel -l pl.UTF-8
46Pliki nagłówkowe i dokumentacja do %{name}.
0aeef0e9 47
bc59a3e0
ER
48%package -n python-metakit
49Summary: Python modules for metakit
9fc08990 50Summary(pl.UTF-8): Moduły Pythona dla pakietu metakit
bc59a3e0
ER
51Group: Libraries/Python
52Requires: %{name} = %{version}-%{release}
53%pyrequires_eq python-libs
0aeef0e9 54
bc59a3e0
ER
55%description -n python-metakit
56Python modules for metakit.
57
c713809b
JR
58%description -n python-metakit -l pl.UTF-8
59Moduły Pythona dla pakietu metakit.
12c046fc 60
bc59a3e0
ER
61%package -n tcl-metakit
62Summary: Tcl modules for metakit
9fc08990 63Summary(pl.UTF-8): Moduły Tcl-a dla pakietu metakit
bc59a3e0
ER
64Group: Development/Languages/Tcl
65Requires: %{name} = %{version}-%{release}
0aeef0e9 66
bc59a3e0
ER
67%description -n tcl-metakit
68Tcl modules for metakit.
0aeef0e9 69
c713809b
JR
70%description -n tcl-metakit -l pl.UTF-8
71Moduły Tcl-a dla pakietu metakit.
12c046fc 72
0aeef0e9
AM
73%prep
74%setup -q
bc59a3e0
ER
75
76# remove CVS control files
77find -name CVS -print0 | xargs -0 rm -rf
0aeef0e9
AM
78
79%build
80cd unix
49719308 81%{__libtoolize}
4772f99d 82%{__aclocal}
02552303 83%{__autoconf}
bc59a3e0
ER
84%configure \
85 --with-tcl \
86 --with-python \
87 --enable-shared
0aeef0e9
AM
88%{__make}
89
90%install
91rm -rf $RPM_BUILD_ROOT
bc59a3e0 92install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{py_sitedir}} \
407f4d58 93 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
0aeef0e9
AM
94
95%{__make} install \
bc59a3e0 96 -C unix \
0aeef0e9
AM
97 DESTDIR=$RPM_BUILD_ROOT
98
bc59a3e0 99cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
0aeef0e9
AM
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
104%post -p /sbin/ldconfig
105%postun -p /sbin/ldconfig
106
107%files
108%defattr(644,root,root,755)
bc59a3e0 109%doc README
64754fb6 110%attr(755,root,root) %{_libdir}/*.so
0aeef0e9
AM
111
112%files devel
113%defattr(644,root,root,755)
a9a6b4f1 114%doc CHANGES Metakit.html doc
0aeef0e9 115%{_includedir}/*.h
f3e89969 116%{_includedir}/*.inl
407f4d58 117%{_examplesdir}/%{name}-%{version}
0aeef0e9 118
bc59a3e0
ER
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
123
124%files -n tcl-metakit
0aeef0e9 125%defattr(644,root,root,755)
bc59a3e0
ER
126%dir %{_libdir}/tcl8.4/Mk4tcl
127%attr(755,root,root) %{_libdir}/tcl8.4/Mk4tcl/Mk4tcl.so
128%{_libdir}/tcl8.4/Mk4tcl/pkgIndex.tcl
This page took 0.107204 seconds and 4 git commands to generate.