libxmlb/libxmlb.spec

102 lines
2.9 KiB
RPMSpec

Name: libxmlb
Version: 0.3.1
Release: 1mamba
Summary: A library to help create and query binary XML blobs
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/hughsie/libxmlb
## GITSOURCE https://github.com/hughsie/libxmlb.git 0.1.11
Source: https://github.com/hughsie/libxmlb.git/%{version}/libxmlb-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
%description
A library to help create and query binary XML blobs.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libxmlb.so.*
%{_libdir}/girepository-1.0/Xmlb-2.0.typelib
%dir %{_libexecdir}/installed-tests/libxmlb
%{_libexecdir}/installed-tests/libxmlb/test.xml.gz.gz.gz
%{_libexecdir}/installed-tests/libxmlb/xb-self-test
%{_libexecdir}/xb-tool
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libxmlb-2
%dir %{_includedir}/libxmlb-2/libxmlb
%{_includedir}/libxmlb-2/libxmlb/*.h
%{_includedir}/libxmlb-2/xmlb.h
%{_libdir}/libxmlb.so
%{_libdir}/pkgconfig/xmlb.pc
%{_datadir}/gir-1.0/Xmlb-2.0.gir
%dir %{_datadir}/gtk-doc/html/libxmlb
%{_datadir}/gtk-doc/html/libxmlb/*
%dir %{_datadir}/installed-tests/libxmlb
%{_datadir}/installed-tests/libxmlb/*
%doc NEWS README.md
%changelog
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
- automatic version update by autodist
* Sat Mar 13 2021 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- automatic version update by autodist
* Mon Sep 14 2020 Automatic Build System <autodist@mambasoft.it> 0.2.1-1mamba
- automatic version update by autodist
* Sun Aug 23 2020 Automatic Build System <autodist@mambasoft.it> 0.2.0-1mamba
- automatic version update by autodist
* Wed Apr 08 2020 Automatic Build System <autodist@mambasoft.it> 0.1.15-1mamba
- automatic version update by autodist
* Sun Dec 15 2019 Automatic Build System <autodist@mambasoft.it> 0.1.14-1mamba
- automatic version update by autodist
* Sat Oct 19 2019 Automatic Build System <autodist@mambasoft.it> 0.1.13-1mamba
- automatic version update by autodist
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 0.1.12-1mamba
- automatic version update by autodist
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.11-1mamba
- package created using the webbuild interface