%global libname rhsm Name: lib%{libname} Version: 0.0.3 Release: 3%{?dist} Summary: Red Hat Subscription Manager library License: LGPLv2+ URL: https://github.com/rpm-software-management/librhsm Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch1: BZ-1645318-gen-repofile-for-any-arch-if-ALL.patch Patch2: BZ-1708628-Append-ctx_baseurl-prefix-to-gpg_url.patch BuildRequires: meson >= 0.37.0 BuildRequires: gcc BuildRequires: pkgconfig(glib-2.0) >= 2.44 BuildRequires: pkgconfig(gobject-2.0) >= 2.44 BuildRequires: pkgconfig(gio-2.0) >= 2.44 BuildRequires: pkgconfig(json-glib-1.0) >= 1.2 BuildRequires: pkgconfig(openssl) %description %{summary}. %package devel Summary: Development libraries and header files for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description devel %{summary}. %prep %autosetup -p1 %build %meson %meson_build %install %meson_install %files %license COPYING %doc README.md %{_libdir}/%{name}.so.* %files devel %{_libdir}/%{name}.so %{_includedir}/%{libname}/ %{_libdir}/pkgconfig/%{name}.pc %changelog * Tue Apr 21 2020 Jaroslav Rohel - 0.0.3-3 - Append ctx_baseurl prefix to gpg_url - Resolves: bug#1708628 * Wed Mar 27 2019 Michal Domonkos - 0.0.3-2 - Generate repofile for any architecture if "ALL" is specified - Resolves: bug#1645318 * Mon Jul 09 2018 Igor Gnatenko - 0.0.3-1 - Update to 0.0.3 * Thu Feb 22 2018 Igor Gnatenko - 0.0.2-1 - Initial release