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