/[smecontribs]/rpms/smeserver-rabbitmq-server/contribs10/smeserver-rabbitmq-server.spec
ViewVC logotype

Annotation of /rpms/smeserver-rabbitmq-server/contribs10/smeserver-rabbitmq-server.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (hide annotations) (download)
Fri Dec 30 05:41:06 2022 UTC (23 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-rabbitmq-server-3_3_5-3_el7_sme, HEAD
Changes since 1.4: +8 -2 lines
* Fri Dec 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.3.5-3.sme
- fix service failing to start on boot, waiting network-online.target

1 jpp 1.1
2     Name: smeserver-rabbitmq-server
3     Version: 3.3.5
4 jpp 1.5 Release: 3%{?dist}
5 jpp 1.1 Summary: Koozali SME Server integration of rabbitmq-server
6     License: GPL
7     URL: http://www.rabbitmq.com/
8     #Source0: %{name}-%{version}.tar.gz
9 jpp 1.2 Source: createlinks
10 jpp 1.1 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 jpp 1.4 %setup -c -n %{name}-%{version} -T
23     mkdir -p root
24     cp %SOURCE0 .
25 jpp 1.1
26     %build
27 jpp 1.4 #cd %{name}-%{version}
28 jpp 1.1 perl createlinks
29    
30 jpp 1.2 # could be an archive
31     mkdir -p root/usr/lib/systemd/system/rabbitmq-server.service.d/
32 jpp 1.5 printf "[Unit]
33     After=network-online.target
34    
35     [Install]
36 jpp 1.2 WantedBy=sme-server.target" > root/usr/lib/systemd/system/rabbitmq-server.service.d/50-koozali.conf
37     mkdir -p root/etc/e-smith/db/configuration/defaults/rabbitmq-server
38     echo "enabled" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/status
39     echo "service" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/type
40     echo "local" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/access
41 jpp 1.1
42     %install
43     rm -rf %{buildroot}
44     (cd root ; find . -depth -print | cpio -dump %{buildroot})
45 jpp 1.2 /sbin/e-smith/genfilelist %{buildroot} > %{name}-%{version}-%{release}-filelist
46 jpp 1.1
47    
48    
49     %files -f %{name}-%{version}-%{release}-filelist
50     %defattr(-,root,root)
51    
52    
53    
54     %changelog
55 jpp 1.5 * Fri Dec 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.3.5-3.sme
56     - fix service failing to start on boot, waiting network-online.target
57    
58 jpp 1.4 * Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.3.5-2.sme
59 jpp 1.1 - initial Koozali SME 10 version
60    
61    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed