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