]>
Commit | Line | Data |
---|---|---|
1 | Summary: Embeddable database | |
2 | Summary(pl.UTF-8): Baza danych | |
3 | Name: metakit | |
4 | Version: 2.4.9.5 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Libraries | |
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) | |
18 | ||
19 | %description | |
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. | |
26 | ||
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. | |
34 | ||
35 | %package devel | |
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 | |
41 | ||
42 | %description devel | |
43 | Header files and development documentation for %{name}. | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Pliki nagłówkowe i dokumentacja do %{name}. | |
47 | ||
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 | |
54 | ||
55 | %description -n python-metakit | |
56 | Python modules for metakit. | |
57 | ||
58 | %description -n python-metakit -l pl.UTF-8 | |
59 | Moduły Pythona dla pakietu metakit. | |
60 | ||
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} | |
66 | ||
67 | %description -n tcl-metakit | |
68 | Tcl modules for metakit. | |
69 | ||
70 | %description -n tcl-metakit -l pl.UTF-8 | |
71 | Moduły Tcl-a dla pakietu metakit. | |
72 | ||
73 | %prep | |
74 | %setup -q | |
75 | ||
76 | # remove CVS control files | |
77 | find -name CVS -print0 | xargs -0 rm -rf | |
78 | ||
79 | %build | |
80 | cd unix | |
81 | %{__libtoolize} | |
82 | %{__aclocal} | |
83 | %{__autoconf} | |
84 | %configure \ | |
85 | --with-tcl \ | |
86 | --with-python \ | |
87 | --enable-shared | |
88 | %{__make} | |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{py_sitedir}} \ | |
93 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
94 | ||
95 | %{__make} install \ | |
96 | -C unix \ | |
97 | DESTDIR=$RPM_BUILD_ROOT | |
98 | ||
99 | cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
100 | ||
101 | %clean | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %post -p /sbin/ldconfig | |
105 | %postun -p /sbin/ldconfig | |
106 | ||
107 | %files | |
108 | %defattr(644,root,root,755) | |
109 | %doc README | |
110 | %attr(755,root,root) %{_libdir}/*.so | |
111 | ||
112 | %files devel | |
113 | %defattr(644,root,root,755) | |
114 | %doc CHANGES Metakit.html doc | |
115 | %{_includedir}/*.h | |
116 | %{_includedir}/*.inl | |
117 | %{_examplesdir}/%{name}-%{version} | |
118 | ||
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 | |
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 |