]> git.pld-linux.org Git - packages/libHX.git/blob - libHX.spec
7c13bf2f4ad89d502beffb27952f3f4b5e6780a7
[packages/libHX.git] / libHX.spec
1
2 Summary:        General-purpose library
3 Name:           libHX
4 Version:        1.10.2
5 Release:        1
6 License:        LGPL2 LGPL3 but NOT LATER
7 Group:          Libraries
8 Source0:        http://jengelh.hopto.org/f/%{name}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  913d01d511c8378d7e563cfd3aa439ba
10 URL:            http://jengelh.hopto.org/p/%{name}/
11 #BuildRequires: autoconf >= 2.50
12 #BuildRequires: automake
13 #BuildRequires: libtool >= 2:1.4d
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A library for:
18 - A+R/B trees to use for lists or maps (associative arrays)
19 - Deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs))
20 - platform independent opendir-style directory access
21 - platform independent dlopen-style shared library access
22 - auto-storage strings with direct access
23 - command line option (argv) parser
24 - shell-style config file parser
25 - platform independent random number generator with transparent
26   /dev/urandom support
27 - various string, memory and zvec ops
28
29 %package devel
30 Summary:        libHX header files
31 Summary(pl.UTF-8):      Pliki nagłówkowe libHX
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34
35 %description devel
36 libHX header files.
37
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe libHX.
40
41 %package static
42 Summary:        libHX static library
43 Summary(pl.UTF-8):      Statyczna biblioteka libHX
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 libHX static library.
49
50 %description static -l pl.UTF-8
51 Statyczna biblioteka libHX.
52
53 %prep
54 %setup -q
55
56 %build
57 # supplied libtool is broken (no C++ libraries support)
58 #%{__libtoolize}
59 #%{__aclocal}
60 #%{__autoconf}
61 #%{__automake}
62 %configure \
63         --enable-static
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %doc doc/*
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %{_libdir}/lib*.la
88 %{_includedir}/*.h
89 %{_pkgconfigdir}/*.pc
90
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/lib*.a
This page took 0.041057 seconds and 2 git commands to generate.