SHA256
1
0
forked from pool/libHX

Accepting request 54289 from devel:libraries:c_c++

Accepted submit request 54289 from user jengelh

OBS-URL: https://build.opensuse.org/request/show/54289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libHX?expand=0&rev=19
This commit is contained in:
Marcus Rückert 2010-12-02 15:23:20 +00:00 committed by Git OBS Bridge
commit 03eb2b494e
6 changed files with 39 additions and 33 deletions

View File

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

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
iEYEABECAAYFAkxpd00ACgkQ92gFgoRMQ2CR0ACfc4JqAstJrsr0IsAz5bj/H4aL
iW4AmwSc08Y4fxQYASSeAIag7sVJxJ6+
=LCaZ
-----END PGP SIGNATURE-----

3
libHX-3.8.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54381e45549141140496612a031023617bd4a93595595e569145c9996c6f7699
size 781076

7
libHX-3.8.tar.xz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
iEYEABECAAYFAkz2qksACgkQ92gFgoRMQ2C1ugCfb92JatpPhUo6fkFBDwASX16Q
F+cAmwUFm2lTSIyYpCZVl6qITqgL24VI
=drzu
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Dec 1 20:48:36 UTC 2010 - jengelh@medozas.de
- Update to new upstream release 3.8
* HXdir_{open,read,close} now work with struct HXdir *
instead of void *
* xml_newnode prototype changed to accomodate subtext
- Run hxtools's spec-beautifier on specfile
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 25 21:44:17 UTC 2010 - jengelh@medozas.de Wed Aug 25 21:44:17 UTC 2010 - jengelh@medozas.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package libHX (Version 3.6) # spec file for package libHX (Version 3.8)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -20,19 +20,18 @@
Name: libHX Name: libHX
%define lname libHX25 %define lname libHX25
BuildRequires: gcc-c++ xz BuildRequires: gcc-c++, xz
Summary: Useful collection of routines for C and C++ programming Summary: Useful collection of routines for C and C++ programming
Version: 3.6 Version: 3.8
Release: 1 Release: 0
License: LGPL v2+ License: LGPL v2+
Prefix: /usr
Group: System/Libraries Group: System/Libraries
Source: http://downloads.sf.net/libhx/libHX-%version.tar.xz Source: http://downloads.sf.net/libhx/libHX-%version.tar.xz
Source3: http://downloads.sf.net/libhx/libHX-%version.tar.xz.asc Source3: http://downloads.sf.net/libhx/libHX-%version.tar.xz.asc
Source2: baselibs.conf Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %_tmppath/%name-%version-build
%define debug_package_requires %lname = %{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 library for:
@ -56,7 +55,7 @@ License: LGPL v2+
Summary: Useful collection of routines for C and C++ programming Summary: Useful collection of routines for C and C++ programming
Group: System/Libraries Group: System/Libraries
%description -n %{lname} %description -n %lname
A library for: A library for:
- hash/rbtree-based maps/sets - hash/rbtree-based maps/sets
- double-ended queues (stacks/fifos/lists) - double-ended queues (stacks/fifos/lists)
@ -77,7 +76,7 @@ Authors:
License: LGPL v2+ License: LGPL v2+
Summary: Useful collection of routines for C and C++ programming Summary: Useful collection of routines for C and C++ 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 library for:
@ -104,24 +103,22 @@ if [ ! -e configure ]; then
fi fi
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
perl -i -pe 's/^shouldnotlink=yes/shouldnotlink=no/;' \
src/%{name}.la src/.libs/%{name}.lai;
%install %install
make install DESTDIR=${RPM_BUILD_ROOT} docdir=%{_defaultdocdir}/%{name} make install DESTDIR=%buildroot docdir=%_defaultdocdir/%name
mkdir -p "${RPM_BUILD_ROOT}/%_docdir"; mkdir -p "%buildroot/%_docdir";
install -pm0644 doc/* "${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}" install -pm0644 doc/* "%buildroot/%_defaultdocdir/%name"
rm -f ${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}/Makefile* rm -f %buildroot/%_defaultdocdir/%name/Makefile*
rm -f ${RPM_BUILD_ROOT}/%{_libdir}/%{name}.la rm -f %buildroot/%_libdir/%name.la
%check %check
make check make check
%post -n %{lname} -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %{lname} %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
/%_libdir/%{name}*.so.* /%_libdir/%{name}*.so.*
@ -130,7 +127,7 @@ make check
%docdir %_docdir/%name %docdir %_docdir/%name
%_docdir/%name %_docdir/%name
%_includedir/%{name}* %_includedir/%{name}*
/%{_libdir}/%{name}*.so /%_libdir/%{name}*.so
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/*.pc
%changelog %changelog