]> git.pld-linux.org Git - packages/metakit.git/blame_incremental - metakit.spec
- tabs in preamble
[packages/metakit.git] / metakit.spec
... / ...
CommitLineData
1Summary: Embeddable database
2Summary(pl.UTF-8): Baza danych
3Name: metakit
4Version: 2.4.9.5
5Release: 0.1
6License: GPL
7Group: Libraries
8Source0: http://www.equi4.com/pub/mk/%{name}-%{version}.tar.gz
9# Source0-md5: 37ba351462dad0d7f01394e04c173ce3
10URL: http://www.equi4.com/metakit.html
11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: libstdc++-devel
14BuildRequires: libtool
15BuildRequires: python-devel
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
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.
34
35%package devel
36Summary: Header files and development documentation for %{name}
37Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do %{name}
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Obsoletes: metakit-static
41
42%description devel
43Header files and development documentation for %{name}.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe i dokumentacja do %{name}.
47
48%package -n python-metakit
49Summary: Python modules for metakit
50Summary(pl.UTF-8): Moduły Pythona dla pakietu metakit
51Group: Libraries/Python
52Requires: %{name} = %{version}-%{release}
53%pyrequires_eq python-libs
54
55%description -n python-metakit
56Python modules for metakit.
57
58%description -n python-metakit -l pl.UTF-8
59Moduły Pythona dla pakietu metakit.
60
61%package -n tcl-metakit
62Summary: Tcl modules for metakit
63Summary(pl.UTF-8): Moduły Tcl-a dla pakietu metakit
64Group: Development/Languages/Tcl
65Requires: %{name} = %{version}-%{release}
66
67%description -n tcl-metakit
68Tcl modules for metakit.
69
70%description -n tcl-metakit -l pl.UTF-8
71Moduły Tcl-a dla pakietu metakit.
72
73%prep
74%setup -q
75
76# remove CVS control files
77find -name CVS -print0 | xargs -0 rm -rf
78
79%build
80cd unix
81%{__libtoolize}
82%{__aclocal}
83%{__autoconf}
84%configure \
85 --with-tcl \
86 --with-python \
87 --enable-shared
88%{__make}
89
90%install
91rm -rf $RPM_BUILD_ROOT
92install -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
99cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
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)
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
This page took 0.028162 seconds and 4 git commands to generate.