Blame SPECS/rhc.spec

e97745
%define debug_package %{nil}
e97745
e97745
Name:    rhc
e97745
Version: 0.1.2
e97745
Release: 2%{?dist}
e97745
Epoch:   1
e97745
Summary: Message dispatch agent for cloud-connected systems
e97745
License: GPLv3
e97745
URL:     https://github.com/redhatinsights/yggdrasil
e97745
e97745
Source0: %{name}-%{version}.tar.gz
e97745
Source1: config.toml
e97745
e97745
ExclusiveArch: %{go_arches}
e97745
e97745
BuildRequires: git
e97745
BuildRequires: golang
e97745
BuildRequires: dbus-devel
e97745
BuildRequires: systemd-devel
e97745
e97745
e97745
%description
e97745
%{name} is pair of utilities that register systems with RHSM and establishes
e97745
a receiving queue for instructions to be sent to the system via a broker.
e97745
e97745
%prep
e97745
%autosetup
e97745
e97745
e97745
%build
e97745
make PREFIX=%{_prefix} \
e97745
     SYSCONFDIR=%{_sysconfdir} \
e97745
     LOCALSTATEDIR=%{_localstatedir} \
e97745
     SHORTNAME=%{name} \
e97745
     LONGNAME=%{name} \
e97745
     PKGNAME=%{name} \
e97745
     'BRANDNAME=Red Hat connector' \
e97745
     TOPICPREFIX=redhat/insights
e97745
e97745
e97745
%install
e97745
make PREFIX=%{_prefix} \
e97745
     SYSCONFDIR=%{_sysconfdir} \
e97745
     LOCALSTATEDIR=%{_localstatedir} \
e97745
     DESTDIR=%{buildroot} \
e97745
     SHORTNAME=%{name} \
e97745
     LONGNAME=%{name} \
e97745
     PKGNAME=%{name} \
e97745
     'BRANDNAME=Red Hat connector' \
e97745
     TOPICPREFIX=redhat/insights \
e97745
     install
e97745
%{__install} -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/
e97745
e97745
e97745
%files
e97745
%doc README.md
e97745
%{_bindir}/%{name}
e97745
%{_sbindir}/%{name}d
e97745
%{_sysconfdir}/%{name}/config.toml
e97745
%{_unitdir}/%{name}d.service
e97745
%{_datadir}/bash-completion/completions/*
e97745
%{_mandir}/man1/*
e97745
%{_prefix}/share/pkgconfig/%{name}.pc
e97745
%{_libexecdir}/%{name}
e97745
e97745
e97745
%changelog
e97745
* Fri Feb 19 2021 Link Dupont <link@redhat.com> - 0.1.2-2
e97745
- Update default broker URI
e97745
- Set Epoch to 1
e97745
e97745
* Thu Feb 18 2021 Link Dupont <link@redhat.com> - 0.1.2-1
e97745
- New upstream release
e97745
e97745
* Wed Feb 17 2021 Link Dupont <link@redhat.com> - 0.1.1-1
e97745
- New upstream release
e97745
e97745
* Fri Feb 12 2021 Link Dupont <link@redhat.com> - 0.1-1
e97745
- Initial release