Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37851898
en ru br
ALT Linux repositórios
S:3.22-alt1
5.0: 2.7-alt1

Group :: Sistema/Bibliotecas
RPM: libHX

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name:           libHX
Version:        2.7
Release:        alt1
Summary:        General-purpose library for typical low-level operations

Group:          System/Libraries
License:        LGPLv2 or LGPLv3
URL:            http://jengelh.hopto.org/files/libHX/
Source0:        libHX-%{version}.tar
BuildRequires:  gcc4.3-c++ gcc-fortran glibc-devel-static
Packager: Anton V. Boyarshinov <boyarsh at altlinux.org>

%description
A library for:
- rbtree with key-value pair extension
- deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs))
- platform independent opendir-style directory access
- platform independent dlopen-style shared library access
- auto-storage strings with direct access
- command line option (argv) parser
- shconfig-style config file parser
- platform independent random number generator with transparent
 /dev/urandom support
- various string, memory and zvec ops


%package        devel
Summary:        Development files for %{name}
Group:          Development/C
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q


%build
# Move libHX.so.* to /%{_lib}:
# /sbin/mount.crypt from pam_mount uses libHX
# /lib/security/pam_mount.so from pam_mount uses libHX
%autoreconf
%configure --libdir=/%_lib
export echo=echo
%make_build


%install
export echo=echo
%makeinstall
mkdir -p %buildroot/%_lib/
mv %buildroot/%_libdir/*so* %buildroot/%_lib/
subst 's|libdir=/usr|libdir=|' %buildroot/%_libdir/pkgconfig/libHX.pc

%files
/%{_lib}/*.so.*

%files devel
%defattr(-,root,root,-)
%doc doc/* README.txt
%{_includedir}/*
/%{_lib}/*.so
%{_libdir}/pkgconfig/libHX.pc

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009