/[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.2 - (hide annotations) (download)
Thu Jun 23 04:53:36 2022 UTC (2 years, 5 months ago) by jpp
Branch: MAIN
Changes since 1.1: +14 -3 lines
* Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.3.5-1.sme
- initial Koozali SME 10 version

1 jpp 1.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 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.2 #%setup -q
23     rm -rf %{name}-%{version}
24     mkdir -p %{name}-%{version}/root
25     cp %SOURCE0 %{name}-%{version}
26 jpp 1.1
27     %build
28     perl createlinks
29    
30 jpp 1.2 # 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 jpp 1.1
39     %install
40     rm -rf %{buildroot}
41     (cd root ; find . -depth -print | cpio -dump %{buildroot})
42 jpp 1.2 /sbin/e-smith/genfilelist %{buildroot} > %{name}-%{version}-%{release}-filelist
43 jpp 1.1
44    
45    
46     %files -f %{name}-%{version}-%{release}-filelist
47     %defattr(-,root,root)
48    
49    
50    
51     %changelog
52     * Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.3.5-1.sme
53     - initial Koozali SME 10 version
54    
55    

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