forked from cloudamqp/amqproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
amqproxy.spec
46 lines (35 loc) · 872 Bytes
/
amqproxy.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Name: amqproxy
Summary: Connection and channel pool for AMQP connections
Version: 1.0.0
Release: 1%{?dist}
License: ASL 2.0
BuildRequires: systemd-rpm-macros crystal help2man
Requires(pre): shadow-utils
URL: https://github.com/cloudamqp/amqproxy
Source: amqproxy.tar.gz
%description
An AMQP proxy that reuses upstream connections and channels
%prep
%setup -qn amqproxy
%check
%build
make
%install
make install DESTDIR=%{buildroot} UNITDIR=%{_unitdir}
%post
%systemd_post %{name}.service
%preun
%systemd_preun %{name}.service
%postun
%systemd_postun_with_restart %{name}.service
%files
%{_bindir}/%{name}
%{_unitdir}/%{name}.service
%{_mandir}/man1/*
%config(noreplace) %{_sysconfdir}/%{name}.ini
%doc README.md
%doc %{_docdir}/%{name}/changelog
%license LICENSE
%changelog
* Thu Nov 24 2022 CloudAMQP <[email protected]>
- Initial version of the package