]> git.pld-linux.org Git - packages/metakit.git/blob - metakit.spec
- 2.4.9.2, untested
[packages/metakit.git] / metakit.spec
1 Summary:        Embeddable database
2 Summary(pl):    Baza danych
3 Name:           metakit
4 Version:        2.4.9.2
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://www.equi4.com/pub/mk/%{name}-%{version}/%{name}-%{version}-35.tar.gz
9 # Source0-md5:  b7034c0ee1632c1e070922da1afd3b76
10 Patch0:         %{name}-opt.patch
11 Patch1:         %{name}-DESTDIR.patch
12 Patch2:         %{name}-debian.patch
13 URL:            http://www.equi4.com/metakit/
14 BuildRequires:  libtool
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  tcl-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 MetaKit is an embeddable database which runs on Unix, Windows,
23 Macintosh, and other platforms. It lets you build applications which
24 store their data efficiently, in a portable way, and which will not
25 need a complex runtime installation. In terms of the data model,
26 MetaKit takes the middle ground between RDBMS, OODBMS, and flat-file
27 databases - yet it is quite different from each of them.
28
29 %description -l pl
30 MetaKit to baza danych pracuj±ca na platformach Unix, Windows,
31 Macintosh oraz innych. Pozwala ona na tworzenie aplikacji, które
32 zapisuj± dane efektywnie w sposób ³atwy do przenoszenia miêdzy
33 platformami i które nie wymagaj± skomplikowanej instalacji. MetaKit
34 u¿ywaj±c okre¶leñ z dziedziny baz danych znajduje siê pomiêdzy RDBMS,
35 OODBMS i bazami opartymi na p³askich-plikach.
36
37 %package devel
38 Summary:        Header files and development documentation for %{name}
39 Summary(pl):    Pliki nag³ówkowe i dokumentacja do %{name}
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}
42
43 %description devel
44 Header files and development documentation for %{name}.
45
46 %description devel -l pl
47 Pliki nag³ówkowe i dokumentacja do %{name}.
48
49 %package static
50 Summary:        %{name} static library
51 Summary(pl):    Statyczna biblioteka %{name}
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}
54
55 %description static
56 %{name} static library.
57
58 %description static -l pl
59 Biblioteka statyczna %{name}.
60
61 %prep
62 %setup -q
63 #%patch0 -p1
64 %patch1 -p1
65 #%patch2 -p1
66
67 %build
68 cd unix
69 %{__libtoolize}
70 %{__aclocal}
71 %{__autoconf}
72 %configure
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
78 cd unix
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 cd .. && gzip -9nf README CHAN*
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc READ*.gz
94 %attr(755,root,root) %{_libdir}/*.so
95
96 %files devel
97 %defattr(644,root,root,755)
98 %doc CHA*.gz
99 %{_libdir}/*.la
100 #%attr(755,root,root) %{_libdir}/*.so
101 %{_includedir}/*.h
102 %{_includedir}/*.inl
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/*.a
This page took 0.057548 seconds and 3 git commands to generate.