Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
1f0bf5040a
!7 Upgrade to 0.3.14
From: @starlet-dx 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2023-10-18 09:55:57 +00:00
starlet-dx
bf76f3ad67 Upgrade to 0.3.14 2023-10-16 16:56:04 +08:00
openeuler-ci-bot
6bafa76171
!5 update to 0.3.9
From: @wubijie123 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-09-21 02:52:44 +00:00
wubijie123
43ceba8ba5 update to 0.3.9 2022-07-22 09:41:09 +08:00
openeuler-ci-bot
1179ee5690
!3 Update to 0.3.7
From: @zhang__3125 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-05-30 03:46:42 +00:00
zhang__3125
c655525790 Update to 0.3.7 2022-04-15 17:02:38 +08:00
openeuler-ci-bot
3d619ef2e5 !2 Add yaml file
Merge pull request !2 from lyn/master
2020-05-09 14:59:05 +08:00
lyn1001
285e2c1250 Add yaml file 2020-05-07 15:04:12 +08:00
openeuler-ci-bot
569600fbf6 !1 package init
Merge pull request !1 from duyyb/next_openeuler
2019-12-17 11:48:28 +08:00
duyyb
d7b50fb7e8 package init 2019-12-17 11:35:34 +08:00
3 changed files with 80 additions and 0 deletions

BIN
libxmlb-0.3.14.tar.xz Normal file

Binary file not shown.

76
libxmlb.spec Normal file
View File

@ -0,0 +1,76 @@
Name: libxmlb
Version: 0.3.14
Release: 1
Summary: A library to help create and query binary XML blobs
License: LGPLv2+
URL: https://github.com/hughsie/libxmlb
Source0: https://github.com/hughsie/libxmlb/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: glib2-devel >= 2.45.8 gobject-introspection-devel meson libuuid-devel
BuildRequires: gtk-doc libstemmer-devel shared-mime-info xz-devel python3-setuptools
BuildRequires: libzstd-devel
Requires: glib2 >= 2.45.8 shared-mime-info
%description
XML is slow to parse and strings inside the document cannot be memory mapped as they do not have
a trailing NUL char. The libxmlb library takes XML source, and converts it to a structured binary
representation with a deduplicated string table -- where the strings have the NULs included.
This allows an application to mmap the binary XML file, do an XPath query and return some strings
without actually parsing the entire document. This is all done using (almost) zero allocations and
no actual copying of the binary data.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Provides: libxmlb-tests
Obsoletes: libxmlb-tests
%description devel
This package contains the development files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson -Dtests=true -Dgtkdoc=true
%meson_build
%install
%meson_install
%check
%meson_test
%files
%doc README.md
%license LICENSE
%{_bindir}/xb-tool
%{_mandir}/man1/xb-tool.1.gz
%{_libdir}/girepository-1.0/*.typelib
%{_libdir}/%{name}.so.2*
%files devel
%{_libdir}/%{name}.so
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/%{name}
%{_includedir}/%{name}-2
%{_libdir}/pkgconfig/*.pc
%{_libexecdir}/*tests/%{name}/*
%{_datadir}/*tests/%{name}
%changelog
* Mon Oct 16 2023 chenyaqiang <chenyaqiang@huawei.com> - 0.3.14-1
- Upgrade to 0.3.14
* Thu Jul 21 2022 bijie wu <wubijie@kylinos.cn> - 0.3.9-1
- Update to 0.3.9
* Fri Apr 15 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.3.7-1
- Update to 0.3.7
* Mon Nov 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.13-2
- Package init

4
libxmlb.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: hughsie/libxmlb
tag_prefix: ^
seperator: .