1 |
|
2 |
Name: smeserver-rabbitmq-server |
3 |
Version: 3.3.5 |
4 |
Release: 1%{?dist} |
5 |
Summary: Koozali SME Server integration of rabbitmq-server |
6 |
License: GPL |
7 |
URL: http://www.rabbitmq.com/ |
8 |
#Source0: %{name}-%{version}.tar.gz |
9 |
Source: createlinks |
10 |
BuildArch: noarch |
11 |
BuildRequires: e-smith-devtools |
12 |
Requires: rabbitmq-server |
13 |
|
14 |
%description |
15 |
Koozali SME Server integration of rabbitmq-server |
16 |
RabbitMQ is an implementation of AMQP, the emerging standard for high |
17 |
performance enterprise messaging. The RabbitMQ server is a robust and |
18 |
scalable implementation of an AMQP broker. |
19 |
|
20 |
|
21 |
%prep |
22 |
#%setup -q |
23 |
rm -rf %{name}-%{version} |
24 |
mkdir -p %{name}-%{version}/root |
25 |
cp %SOURCE0 %{name}-%{version} |
26 |
cd %{name}-%{version} |
27 |
|
28 |
%build |
29 |
cd %{name}-%{version} |
30 |
perl createlinks |
31 |
|
32 |
# could be an archive |
33 |
mkdir -p root/usr/lib/systemd/system/rabbitmq-server.service.d/ |
34 |
printf "[Install] |
35 |
WantedBy=sme-server.target" > root/usr/lib/systemd/system/rabbitmq-server.service.d/50-koozali.conf |
36 |
mkdir -p root/etc/e-smith/db/configuration/defaults/rabbitmq-server |
37 |
echo "enabled" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/status |
38 |
echo "service" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/type |
39 |
echo "local" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/access |
40 |
|
41 |
%install |
42 |
rm -rf %{buildroot} |
43 |
(cd root ; find . -depth -print | cpio -dump %{buildroot}) |
44 |
/sbin/e-smith/genfilelist %{buildroot} > %{name}-%{version}-%{release}-filelist |
45 |
|
46 |
|
47 |
|
48 |
%files -f %{name}-%{version}-%{release}-filelist |
49 |
%defattr(-,root,root) |
50 |
|
51 |
|
52 |
|
53 |
%changelog |
54 |
* Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.3.5-1.sme |
55 |
- initial Koozali SME 10 version |
56 |
|
57 |
|