2008-07-05 04:39:13 +02:00
|
|
|
#
|
2008-08-15 00:48:18 +02:00
|
|
|
# spec file for package libHX (Version 1.22)
|
2008-07-05 04:39:13 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
2008-08-15 00:48:18 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-07-05 04:39:13 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
Name: libHX
|
|
|
|
%define lname libHX13
|
|
|
|
BuildRequires: gcc-c++ libxml2-devel
|
|
|
|
Summary: General-purpose Library
|
2008-08-15 00:48:18 +02:00
|
|
|
Version: 1.22
|
|
|
|
Release: 1
|
2008-07-05 04:39:13 +02:00
|
|
|
License: LGPL v2.1 or later; LGPL v3 or later
|
|
|
|
Prefix: /usr
|
|
|
|
Group: System/Libraries
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-08-01 23:57:18 +02:00
|
|
|
%define debug_package_requires libHX13 = %{version}
|
2008-08-15 00:48:18 +02:00
|
|
|
Url: http://jengelh.medozas.de/projects/libHX/
|
2008-07-05 04:39:13 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
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
|
|
|
|
|
|
|
|
* 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 libHX13
|
|
|
|
License: LGPL v2.1 or later; LGPL v3 or later
|
|
|
|
Summary: General-purpose Library
|
|
|
|
Group: System/Libraries
|
|
|
|
#Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
- 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 devel
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: General-purpose library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{lname} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
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
|
|
|
|
|
|
|
|
- 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>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh;
|
|
|
|
%configure
|
|
|
|
make %{?jobs:-j%jobs};
|
|
|
|
perl -i -pe 's/^shouldnotlink=yes/shouldnotlink=no/;' \
|
|
|
|
src/%{name}.la src/.libs/%{name}.lai;
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
|
mkdir -p "${RPM_BUILD_ROOT}/%_docdir";
|
|
|
|
cp -a doc "${RPM_BUILD_ROOT}/%_docdir/%name";
|
|
|
|
rm -f ${RPM_BUILD_ROOT}/%_libdir/%{name}.la
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %{lname}
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%_libdir/%{name}*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%docdir %_docdir/%name
|
|
|
|
%_docdir/%name
|
|
|
|
%_includedir/%{name}*
|
|
|
|
%_libdir/%{name}*.so
|
|
|
|
%_libdir/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|
2008-08-15 00:48:18 +02:00
|
|
|
* Thu Aug 14 2008 mc@suse.de
|
|
|
|
- update to version 1.22
|
|
|
|
* need to use lstat() on directory operations such as mkdir and rmdir
|
|
|
|
* use RTLD_LAZY when opening dynamic libraries
|
|
|
|
* add libxml_helper
|
2008-08-01 23:57:18 +02:00
|
|
|
* Fri Aug 01 2008 ro@suse.de
|
|
|
|
- fix requires for debuginfo package
|
2008-07-05 04:39:13 +02:00
|
|
|
* Mon Jun 23 2008 mc@suse.de
|
|
|
|
- package rename to libHX13, libHX-devel
|
|
|
|
- version 1.18
|
|
|
|
- implement reverse iterating through HXlist
|
|
|
|
- remove deprecated HXlist_init_head() and HXclist_init_head()
|
|
|
|
[replaced by HXlist_init() and HXclist_init()]
|
|
|
|
- added HX_ffs()
|
|
|
|
- HXlist: added HXlist_for_each_safe, HXlist_for_each_entry_safe
|
|
|
|
- HXclist: added HXclist_del
|
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Mon Apr 07 2008 mc@suse.de
|
|
|
|
- version 1.15
|
|
|
|
- HXformat: add %%(ifempty) and %%(ifnempty) tags
|
|
|
|
- libHX.h: split into {arbtree,deque,option,string}.h (and libHX.h)
|
|
|
|
- Add inline-doubly-linked-list data structures
|
|
|
|
* Wed Apr 02 2008 mc@suse.de
|
|
|
|
- version 1.10.2
|
|
|
|
* bugfixes
|
|
|
|
* Mon Oct 08 2007 mc@suse.de
|
|
|
|
- version 1.10.1
|
|
|
|
* Fix output of line-wrapped help text
|
|
|
|
* fix tarball
|
|
|
|
- package pkgconfig file
|
|
|
|
* Thu Jul 12 2007 mc@suse.de
|
|
|
|
- initial release 1.10.0
|