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:
commit
03eb2b494e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:be2ba98cc8facecc42dbea2fa057745c8a48dd495d5743496efff9646c531410
|
||||
size 768212
|
@ -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
3
libHX-3.8.tar.xz
Normal 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
7
libHX-3.8.tar.xz.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.15 (GNU/Linux)
|
||||
|
||||
iEYEABECAAYFAkz2qksACgkQ92gFgoRMQ2C1ugCfb92JatpPhUo6fkFBDwASX16Q
|
||||
F+cAmwUFm2lTSIyYpCZVl6qITqgL24VI
|
||||
=drzu
|
||||
-----END PGP SIGNATURE-----
|
@ -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
|
||||
|
||||
|
43
libHX.spec
43
libHX.spec
@ -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.
|
||||
#
|
||||
@ -20,19 +20,18 @@
|
||||
|
||||
Name: libHX
|
||||
%define lname libHX25
|
||||
BuildRequires: gcc-c++ xz
|
||||
BuildRequires: gcc-c++, xz
|
||||
Summary: Useful collection of routines for C and C++ programming
|
||||
Version: 3.6
|
||||
Release: 1
|
||||
Version: 3.8
|
||||
Release: 0
|
||||
License: LGPL v2+
|
||||
Prefix: /usr
|
||||
Group: System/Libraries
|
||||
Source: http://downloads.sf.net/libhx/libHX-%version.tar.xz
|
||||
Source3: http://downloads.sf.net/libhx/libHX-%version.tar.xz.asc
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define debug_package_requires %lname = %{version}-%{release}
|
||||
Url: http://libhx.sf.net/
|
||||
BuildRoot: %_tmppath/%name-%version-build
|
||||
%define debug_package_requires %lname = %version-%release
|
||||
URL: http://libhx.sf.net/
|
||||
|
||||
%description
|
||||
A library for:
|
||||
@ -56,7 +55,7 @@ License: LGPL v2+
|
||||
Summary: Useful collection of routines for C and C++ programming
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{lname}
|
||||
%description -n %lname
|
||||
A library for:
|
||||
- hash/rbtree-based maps/sets
|
||||
- double-ended queues (stacks/fifos/lists)
|
||||
@ -77,7 +76,7 @@ Authors:
|
||||
License: LGPL v2+
|
||||
Summary: Useful collection of routines for C and C++ programming
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{lname} = %{version}
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
A library for:
|
||||
@ -104,33 +103,31 @@ if [ ! -e configure ]; then
|
||||
fi
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
perl -i -pe 's/^shouldnotlink=yes/shouldnotlink=no/;' \
|
||||
src/%{name}.la src/.libs/%{name}.lai;
|
||||
|
||||
%install
|
||||
make install DESTDIR=${RPM_BUILD_ROOT} docdir=%{_defaultdocdir}/%{name}
|
||||
mkdir -p "${RPM_BUILD_ROOT}/%_docdir";
|
||||
install -pm0644 doc/* "${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}"
|
||||
rm -f ${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}/Makefile*
|
||||
rm -f ${RPM_BUILD_ROOT}/%{_libdir}/%{name}.la
|
||||
make install DESTDIR=%buildroot docdir=%_defaultdocdir/%name
|
||||
mkdir -p "%buildroot/%_docdir";
|
||||
install -pm0644 doc/* "%buildroot/%_defaultdocdir/%name"
|
||||
rm -f %buildroot/%_defaultdocdir/%name/Makefile*
|
||||
rm -f %buildroot/%_libdir/%name.la
|
||||
|
||||
%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}
|
||||
%defattr(-, root, root)
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
/%_libdir/%{name}*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%defattr(-,root,root)
|
||||
%docdir %_docdir/%name
|
||||
%_docdir/%name
|
||||
%_includedir/%{name}*
|
||||
/%{_libdir}/%{name}*.so
|
||||
/%_libdir/%{name}*.so
|
||||
%_libdir/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user