SHA256
1
0
forked from pool/libHX

Accepting request 26596 from devel:libraries:c_c++

Copy from devel:libraries:c_c++/libHX based on submit request 26596 from user mcalmer

OBS-URL: https://build.opensuse.org/request/show/26596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libHX?expand=0&rev=12
This commit is contained in:
OBS User autobuild 2009-12-16 12:34:53 +00:00 committed by Git OBS Bridge
parent 9177b1d93a
commit 40a48803ca
5 changed files with 70 additions and 80 deletions

View File

@ -1 +1 @@
libHX18 libHX22

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9907c8066ac0a7199fad171671d52b5f202ba5989b398c60af3219fe57f38fde
size 811080

3
libHX-3.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:03ae3ed25a7285aaf62e8a0dfe87aae9a8512db4719761316dba81abc364dc6e
size 829439

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed Dec 9 21:34:17 CET 2009 - jengelh@medozas.de
- update descriptions in specfile
- do not pass --with-pkgconfigdir to configure;
build already does it right
- update to upstream version 3.2
* defs: add HXsizeof_member and HXtypeof_member
* map: new map API, with hash-based maps and classic
rbtree-based maps
* arbtree: HXbtree was removed in favor of the new HXmap
* clist: clist.h moved into list.h
* format: HXformat_* now uses struct HXformat_map
* rand: use faster modulo-based variant for numbers within
RAND_MAX range
* rand: use libc rand() almost exclusively, only use
/dev/urandom for seed
* time: add time delta functions
* added HXbitmap_* functions
- add baselibs.conf as a Source, so that it is available on local
builds too
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 27 11:10:51 CEST 2009 - mc@novell.com Mon Jul 27 11:10:51 CEST 2009 - mc@novell.com

View File

@ -1,5 +1,5 @@
# #
# spec file for package libHX (Version 2.9) # spec file for package libHX (Version 3.2)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -19,118 +19,86 @@
Name: libHX Name: libHX
%define lname libHX18 %define lname libHX22
BuildRequires: gcc-c++ BuildRequires: gcc-c++
Summary: General-purpose Library Summary: Useful collection of routines for programming
Version: 2.9 Version: 3.2
Release: 1 Release: 1
License: LGPL v2.1 only ; LGPL v3 only License: LGPL v2+
Prefix: /usr Prefix: /usr
Group: System/Libraries Group: System/Libraries
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libHX18 = %{version}-%{release} %define debug_package_requires %lname = %{version}-%{release}
Url: http://libhx.sf.net/ Url: http://libhx.sf.net/
%description %description
A library for: * A+R/B trees to use for lists or maps (associative A library for:
arrays) - hash/rbtree-based maps/sets
- double-ended queues (stacks/fifos/lists)
* Deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs)) - platform-independent opendir-style directory access
- platform-independent dlopen-style shared library access
* platform independent opendir-style directory access
* platform independent dlopen-style shared library access
* auto-storage strings with direct access
* command line option (argv) parser
* shell-style config file parser
* platform independent random number generator with transparent
/dev/urandom support
* various string, memory and zvec ops
Authors:
--------
Jan Engelhardt <jengelh [at] gmx de>
%package -n libHX18
License: LGPL v2.1 or later ; LGPL v3 or later
Summary: General-purpose Library
Group: System/Libraries
%description -n %{lname}
A library for: - A+R/B trees to use for lists or maps (associative
arrays)
- 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 - auto-storage strings with direct access
- command line option (argv) parser - command line option (argv) parser
- shconfig-style config file parser
- shell-style config file parser
- platform independent random number generator with transparent
/dev/urandom support
- various string, memory and zvec ops - various string, memory and zvec ops
Authors:
--------
Jan Engelhardt <jengelh [at] medozas de>
%package -n libHX22
License: LGPL v2+
Summary: Useful collection of routines for programming
Group: System/Libraries
%description -n %{lname}
A library for:
- hash/rbtree-based maps/sets
- double-ended queues (stacks/fifos/lists)
- 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
- various string, memory and zvec ops
Authors: Authors:
-------- --------
Jan Engelhardt <jengelh [at] gmx de> Jan Engelhardt <jengelh [at] medozas de>
%package devel %package devel
License: LGPL v2.1 or later License: LGPL v2+
Summary: General-purpose library Summary: Useful collection of routines for programming
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{lname} = %{version} Requires: %{lname} = %{version}
%description devel %description devel
A library for: - A+R/B trees to use for lists or maps (associative A library for:
arrays) - hash/rbtree-based maps/sets
- double-ended queues (stacks/fifos/lists)
- Deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs)) - platform-independent opendir-style directory access
- platform-independent dlopen-style shared library access
- platform independent opendir-style directory access
- platform independent dlopen-style shared library access
- auto-storage strings with direct access - auto-storage strings with direct access
- command line option (argv) parser - command line option (argv) parser
- shconfig-style config file parser
- shell-style config file parser
- platform independent random number generator with transparent
/dev/urandom support
- various string, memory and zvec ops - various string, memory and zvec ops
Authors: Authors:
-------- --------
Jan Engelhardt <jengelh [at] gmx de> Jan Engelhardt <jengelh [at] medozasde de>
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%build %build
./autogen.sh; ./autogen.sh;
%configure --with-pkgconfigdir=/%_libdir/pkgconfig/ %configure
make %{?jobs:-j%jobs}; make %{?jobs:-j%jobs};
perl -i -pe 's/^shouldnotlink=yes/shouldnotlink=no/;' \ perl -i -pe 's/^shouldnotlink=yes/shouldnotlink=no/;' \
src/%{name}.la src/.libs/%{name}.lai; src/%{name}.la src/.libs/%{name}.lai;