]> git.pld-linux.org Git - packages/dbh.git/blob - dbh.spec
- updated to 1.0.20
[packages/dbh.git] / dbh.spec
1 Summary:        Disk based hash library
2 Summary(pl):    Biblioteka obs³uguj±ca tablice haszuj±ce na dysku
3 Name:           dbh
4 Version:        1.0.20
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/dbh/%{name}-%{version}.tar.gz
9 # Source0-md5:  7e05431d0ca8aad100b08718fa61a825
10 URL:            http://dbh.sourceforge.net/
11 BuildRequires:  autoconf >= 2.52
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Disk based hashes is a method to create multidimensional binary trees
18 on disk. This library permits the extension of database concept to a
19 plethora of electronic data, such as graphic information. With the
20 multidimensional binary tree it is possible to mathematically prove
21 that access time to any particular record is minimized (using the
22 concept of critical points from calculus), which provides the means to
23 construct optimized databases for particular applications.
24
25 %description -l pl
26 Hasze przechowywane na dysku to metoda tworzenia wielowymiarowych
27 drzew binarnych na dysku. Biblioteka pozwala rozszerzaæ pojêcie bazy
28 danych o bogactwo danych elektronicznych, takich jak informacje
29 graficzne. Mo¿na udowodniæ matematycznie, ¿e przy u¿yciu
30 wielowymiarowego drzewa binarnego czas dostêpu do ka¿dego konkretnego
31 rekordu jest minimalny (u¿ywaj±c zasady punktów krytycznych), co
32 daje ¶rodki do tworzenia zoptymalizowanych baz danych dla aplikacji.
33
34 %package devel
35 Summary:        Disk based hash library development files
36 Summary(pl):    Pliki nag³ówkowe biblioteki dbh
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}
39 Obsoletes:      dbh-examples
40
41 %description devel
42 Disk based hash library development files.
43
44 %description devel -l pl
45 Pliki nag³ówkowe biblioteki dbh.
46
47 %package static
48 Summary:        Disk based hash static library
49 Summary(pl):    Statyczna biblioteka dbh
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}
52
53 %description static
54 Disk based hash static library.
55
56 %description static -l pl
57 Statyczna biblioteka dbh.
58
59 %prep
60 %setup -q
61
62 %build
63 %{__libtoolize}
64 %{__aclocal} -I m4
65 %{__automake}
66 %{__autoconf}
67 %configure
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 cd examples
79 install simple_hash.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
80 install trafico.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
81 install Makefile $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
93
94 %files devel
95 %defattr(644,root,root,755)
96 %doc doc/*.html
97 %attr(755,root,root) %{_libdir}/lib*.so
98 %{_libdir}/lib*.la
99 %{_includedir}/*.h
100 %{_pkgconfigdir}/*.pc
101 %{_examplesdir}/%{name}-%{version}
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/lib*.a
This page took 0.070827 seconds and 3 git commands to generate.