libxmlb/libxmlb.spec

84 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: libxmlb
Version: 0.1.13
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
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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-1.0.typelib
%{_libexecdir}/installed-tests/libxmlb/xb-self-test
%{_libexecdir}/xb-tool
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libxmlb-1
%dir %{_includedir}/libxmlb-1/libxmlb
%{_includedir}/libxmlb-1/libxmlb/*.h
%{_includedir}/libxmlb-1/xmlb.h
%{_libdir}/libxmlb.so
%{_libdir}/pkgconfig/xmlb.pc
%{_datadir}/gir-1.0/Xmlb-1.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
* 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