Blame SPECS/centos-release-messaging.spec

d4f32b
%global RabbitMQVersion 38
4b5034
Summary: Config to enable the repository for the Messaging SIG
4b5034
Name:    centos-release-messaging
d4f32b
Version: 1
05e08f
Release: 2%{?dist}
05e08f
License: GPLv2
d4f32b
URL: http://wiki.centos.org/SpecialInterestGroup/Messaging
05e08f
Source0: RPM-GPG-KEY-CentOS-SIG-Messaging
05e08f
Source1: CentOS-Messaging-qpid-proton.repo
05e08f
Source2: CentOS-Messaging-rabbitmq.repo
d4f32b
d4f32b
BuildArch: noarch
d4f32b
05e08f
Requires: centos-release
4b5034
%description
4b5034
yum configs for repositories as delivered by CentOS Messaging SIG.
4b5034
05e08f
4b5034
%package -n centos-release-rabbitmq-%{RabbitMQVersion}
4b5034
Summary: Config to enable the repository for the Messaging SIG RabbitMQ Server
4b5034
05e08f
Requires: centos-release-messaging
d4f32b
4b5034
%description -n centos-release-rabbitmq-%{RabbitMQVersion}
d4f32b
yum configs for the RabbitMQ Server as delivered by CentOS Messaging SIG.
d4f32b
05e08f
05e08f
05e08f
%package -n centos-release-qpid-proton
05e08f
Summary: Config to enable the Messaging SIG QPID Proton packages
05e08f
05e08f
Requires: centos-release-messaging
05e08f
05e08f
%description -n centos-release-qpid-proton
05e08f
Repository configuration for QPID Proton packages as delivered by the
05e08f
CentOS Messaging SIG.
05e08f
05e08f
d4f32b
%prep
d4f32b
d4f32b
%install
05e08f
# gpg key
d4f32b
install -p -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg
05e08f
install -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/rpm-gpg
05e08f
# qpid-proton
05e08f
install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Messaging-qpid-proton.repo
d4f32b
05e08f
# rabbitmq repo
05e08f
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Messaging-rabbitmq.repo
05e08f
sed -i -e "s/RABBITMQ_VERSION/%{RabbitMQVersion}/g" %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Messaging-rabbitmq.repo
05e08f
05e08f
%files
d4f32b
%defattr(-,root,root)
d4f32b
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging
d4f32b
05e08f
%files -n centos-release-qpid-proton
05e08f
%defattr(-,root,root)
05e08f
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Messaging-qpid-proton.repo
05e08f
05e08f
%files -n centos-release-rabbitmq-%{RabbitMQVersion}
05e08f
%defattr(-,root,root)
05e08f
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Messaging-rabbitmq.repo
05e08f
d4f32b
%changelog
05e08f
* Tue Apr 07 2020 Matthias Runge <mrunge@redhat.com> - 1.2
05e08f
- add qpid-proton subpackage
05e08f
- move gpg key to common
05e08f
d4f32b
* Thu Apr 02 2020 Alfredo Moralejo <amoralej@redhat.com> - 1.1
d4f32b
- Initial release for RabbitMQ Server 3.8