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