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