%global _hardened_build 1 Name: libvarlink Version: 16 Release: 1.git.275.240d11a%{?dist} Summary: Varlink C Library License: ASL 2.0 URL: https://github.com/varlink/%{name} Source0: libvarlink-git-275.240d11a.tar.gz BuildRequires: meson BuildRequires: gcc %description Varlink C Library %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package util Summary: Varlink command line tools %description util The %{name}-util package contains varlink command line tools. %prep %setup -q -n libvarlink-git-275.240d11a %build %meson %meson_build %check export LC_CTYPE=C.utf8 %meson_test %install %meson_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license LICENSE %{_libdir}/libvarlink.so.* %files util %{_bindir}/varlink %{_datadir}/bash-completion/completions/varlink %{_datadir}/vim/vimfiles/after/* %files devel %{_includedir}/varlink.h %{_libdir}/libvarlink.so %{_libdir}/pkgconfig/libvarlink.pc %changelog * Mon Nov 5 2018 16-1 - libvarlink 16