initial commit of file from CVS for smeserver-rabbitmq-server on Sat Sep 7 20:58:48 AEST 2024
This commit is contained in:
parent
3e5f0fdcb8
commit
491a598aca
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
*.rpm
|
||||
*.log
|
||||
*spec-20*
|
||||
*.createlinks
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Makefile for source rpm: smeserver-rabbitmq-server
|
||||
# $Id: Makefile,v 1.1 2022/06/23 02:42:39 jpp Exp $
|
||||
NAME := smeserver-rabbitmq-server
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
16
README.md
16
README.md
@ -1,3 +1,15 @@
|
||||
# smeserver-rabbitmq-server
|
||||
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-rabbitmq-server
|
||||
|
||||
SMEServer Koozali developed git repo for smeserver-rabbitmq-server smecontribs
|
||||
SMEServer Koozali developed git repo for smeserver-rabbitmq-server smecontribs
|
||||
|
||||
## Wiki
|
||||
<br />https://wiki.koozali.org/Rabbitmq-server
|
||||
|
||||
## Bugzilla
|
||||
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-rabbitmq-server&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||
|
||||
## Description
|
||||
|
||||
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||
*Once it has been checked, then this comment will be deleted*
|
||||
<br />
|
||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
||||
contribs10
|
22
createlinks
Normal file
22
createlinks
Normal file
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/perl
|
||||
use strict;
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
my $pkg= "smeserver-rabbitmq-server";
|
||||
my $event = "${pkg}-update";
|
||||
|
||||
event_actions($event, qw(
|
||||
systemd-default 88
|
||||
systemd-reload 89
|
||||
));
|
||||
|
||||
#event_templates($event, qw(
|
||||
#));
|
||||
|
||||
event_services($event, qw(
|
||||
rabbitmq-server restart
|
||||
));
|
||||
|
||||
#use esmith::Build::Backup qw(:all);
|
||||
#backup_includes($pkg, qw(/etc/clamav-unofficial-sigs/master.conf /etc/clamav-unofficial-sigs/user.conf /var/lib/clamav-unofficial-sigs/));
|
||||
|
68
smeserver-rabbitmq-server.spec
Normal file
68
smeserver-rabbitmq-server.spec
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
Name: smeserver-rabbitmq-server
|
||||
Version: 3.3.5
|
||||
Release: 4%{?dist}
|
||||
Summary: Koozali SME Server integration of rabbitmq-server
|
||||
License: GPL
|
||||
URL: http://www.rabbitmq.com/
|
||||
#Source0: %{name}-%{version}.tar.gz
|
||||
Source: createlinks
|
||||
BuildArch: noarch
|
||||
BuildRequires: e-smith-devtools
|
||||
Requires: rabbitmq-server
|
||||
|
||||
%description
|
||||
Koozali SME Server integration of rabbitmq-server
|
||||
RabbitMQ is an implementation of AMQP, the emerging standard for high
|
||||
performance enterprise messaging. The RabbitMQ server is a robust and
|
||||
scalable implementation of an AMQP broker.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -c -n %{name}-%{version} -T
|
||||
mkdir -p root
|
||||
cp %SOURCE0 .
|
||||
|
||||
%build
|
||||
#cd %{name}-%{version}
|
||||
perl createlinks
|
||||
|
||||
# could be an archive
|
||||
mkdir -p root/usr/lib/systemd/system/rabbitmq-server.service.d/
|
||||
printf "[Unit]
|
||||
After=network-online.target
|
||||
|
||||
[Install]
|
||||
WantedBy=sme-server.target" > root/usr/lib/systemd/system/rabbitmq-server.service.d/50-koozali.conf
|
||||
mkdir -p root/etc/e-smith/db/configuration/defaults/rabbitmq-server
|
||||
echo "enabled" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/status
|
||||
echo "service" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/type
|
||||
echo "local" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/access
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
(cd root ; find . -depth -print | cpio -dump %{buildroot})
|
||||
/sbin/e-smith/genfilelist %{buildroot} > %{name}-%{version}-%{release}-filelist
|
||||
|
||||
|
||||
|
||||
%files -f %{name}-%{version}-%{release}-filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 3.3.5-4.sme
|
||||
- Roll up patches and move to git repo [SME: 12338]
|
||||
|
||||
* Sat Sep 07 2024 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
|
||||
* 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
|
||||
|
||||
* Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.3.5-2.sme
|
||||
- initial Koozali SME 10 version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user