Blame SPECS/librhsm.spec

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