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

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

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

Revision 1.1 by jpp, Thu Jun 23 04:45:30 2022 UTC Revision 1.3 by jpp, Thu Jun 23 04:57:17 2022 UTC
# Line 6  Summary:       Koozali SME Server integration Line 6  Summary:       Koozali SME Server integration
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
# Line 18  scalable implementation of an AMQP broke Line 19  scalable implementation of an AMQP broke
19    
20    
21  %prep  %prep
22  %setup -q  #%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  %build
29    cd %{name}-%{version}
30  perl createlinks  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  %install
42  rm -rf %{buildroot}  rm -rf %{buildroot}
43  (cd root ; find . -depth -print | cpio -dump %{buildroot})  (cd root ; find . -depth -print | cpio -dump %{buildroot})
44  genfilelist %{buildroot} > %{name}-%{version}-%{release}-filelist  /sbin/e-smith/genfilelist %{buildroot} > %{name}-%{version}-%{release}-filelist
45    
46    
47    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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