]>
Commit | Line | Data |
---|---|---|
086ae675 JB |
1 | Summary: J.Engelh's general-purpose library |
2 | Summary(pl.UTF-8): Biblioteka ogólnego przeznaczenia J. Engelha | |
79b59575 | 3 | Name: libHX |
b1579423 | 4 | Version: 3.6 |
79b59575 | 5 | Release: 1 |
086ae675 | 6 | License: LGPL v2 or LGPL v3 |
79b59575 | 7 | Group: Libraries |
7848151a | 8 | Source0: http://downloads.sourceforge.net/libhx/%{version}/%{name}-%{version}.tar.xz |
b1579423 | 9 | # Source0-md5: 3b0963a210c488a8ca6b92cf219fc986 |
1a04e344 | 10 | URL: http://libhx.sourceforge.net/ |
39049cb1 | 11 | BuildRequires: pkgconfig |
dd27da71 | 12 | BuildRequires: tar >= 1:1.22 |
79b59575 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
b0c715b8 | 16 | J. Engelh's general-purpose library for: |
79b59575 | 17 | - A+R/B trees to use for lists or maps (associative arrays) |
18 | - Deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs)) | |
19 | - platform independent opendir-style directory access | |
20 | - platform independent dlopen-style shared library access | |
21 | - auto-storage strings with direct access | |
22 | - command line option (argv) parser | |
23 | - shell-style config file parser | |
24 | - platform independent random number generator with transparent | |
25 | /dev/urandom support | |
26 | - various string, memory and zvec ops | |
27 | ||
086ae675 JB |
28 | %description -l pl.UTF-8 |
29 | Biblioteka J. Engelha ogólnego przeznaczenia, obejmująca: | |
30 | - drzewa czerwono-czarne do list i tablic asocjacyjnych | |
31 | - kolejki o dwóch końcach (stosy LIFO/kolejki FIFO) | |
32 | - niezależny od platformy dostęp do katalogów w stylu opendir | |
33 | - niezależny od platformy dostęp do bibliotek współdzielonych w stylu | |
34 | dlopen | |
35 | - łańcuchy znaków z automatycznym zarządzaniem pamięcią i bezpośrednim | |
36 | dostępem | |
37 | - analizator opcji linii poleceń (argv) | |
38 | - analizator plików konfiguracyjnych w stylu powłoki sh | |
39 | - niezależny od platformy generator liczb losowych z przezroczystą | |
40 | obsługą /dev/urandom | |
41 | - różne operacje na łańcuchach znaków, pamięci i strukturach zvec | |
42 | ||
79b59575 | 43 | %package devel |
44 | Summary: libHX header files | |
45 | Summary(pl.UTF-8): Pliki nagłówkowe libHX | |
46 | Group: Development/Libraries | |
47 | Requires: %{name} = %{version}-%{release} | |
48 | ||
49 | %description devel | |
50 | libHX header files. | |
51 | ||
52 | %description devel -l pl.UTF-8 | |
53 | Pliki nagłówkowe libHX. | |
54 | ||
55 | %package static | |
56 | Summary: libHX static library | |
57 | Summary(pl.UTF-8): Statyczna biblioteka libHX | |
58 | Group: Development/Libraries | |
59 | Requires: %{name}-devel = %{version}-%{release} | |
60 | ||
61 | %description static | |
62 | libHX static library. | |
63 | ||
64 | %description static -l pl.UTF-8 | |
65 | Statyczna biblioteka libHX. | |
66 | ||
67 | %prep | |
68 | %setup -q | |
69 | ||
70 | %build | |
79b59575 | 71 | %configure \ |
72 | --enable-static | |
73 | ||
7fa133e0 JB |
74 | %{__make} \ |
75 | V=1 | |
79b59575 | 76 | |
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
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) | |
0805f99f | 91 | %doc doc/changelog.txt doc/libHX_Documentation.pdf |
086ae675 | 92 | %attr(755,root,root) %{_libdir}/libHX.so.*.*.* |
0805f99f | 93 | %attr(755,root,root) %ghost %{_libdir}/libHX.so.25 |
79b59575 | 94 | |
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
086ae675 JB |
97 | %doc doc/[!c]*.txt |
98 | %attr(755,root,root) %{_libdir}/libHX.so | |
99 | %{_libdir}/libHX.la | |
100 | %{_includedir}/libHX.h | |
a03bb58a | 101 | %{_includedir}/%{name} |
7fa133e0 | 102 | %{_pkgconfigdir}/libHX.pc |
79b59575 | 103 | |
104 | %files static | |
105 | %defattr(644,root,root,755) | |
086ae675 | 106 | %{_libdir}/libHX.a |