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

Annotation of /rpms/smeserver-supervisor/contribs10/smeserver-supervisor.spec

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


Revision 1.1 - (hide annotations) (download)
Fri Jun 24 00:54:01 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-supervisor-1_0_0-1_el7_sme, HEAD
* Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-1.sme
- initial Koozali SME 10 version

1 jpp 1.1
2     Name: smeserver-supervisor
3     Version: 1.0.0
4     Release: 1%{?dist}
5     Summary: Koozali SME Server integration of supevisord
6     License: GPL
7     URL: http://supervisord.org/
8     #Source0: %{name}-%{version}.tar.gz
9     Source: createlinks
10     BuildArch: noarch
11     BuildRequires: e-smith-devtools
12     Requires: supervisor
13    
14     %description
15     Koozali SME Server integration of supervisord
16     The supervisor is a client/server system that allows its users to control a
17     number of processes on UNIX-like operating systems.
18     licence ZPLv2.1 and BSD and MIT
19    
20     %prep
21     %setup -c -n %{name}-%{version} -T
22     mkdir -p root
23     cp %SOURCE0 .
24    
25     %build
26     #cd %{name}-%{version}
27     perl createlinks
28    
29     # could be an archive
30     mkdir -p root/usr/lib/systemd/system/supervisord.service.d/
31     printf "[Install]
32     WantedBy=sme-server.target" > root/usr/lib/systemd/system/supervisord.service.d/50-koozali.conf
33     mkdir -p root/etc/e-smith/db/configuration/defaults/supervisord
34     echo "enabled" > root/etc/e-smith/db/configuration/defaults/supervisord/status
35     echo "service" > root/etc/e-smith/db/configuration/defaults/supervisord/type
36    
37     %install
38     rm -rf %{buildroot}
39     (cd root ; find . -depth -print | cpio -dump %{buildroot})
40     /sbin/e-smith/genfilelist %{buildroot} > %{name}-%{version}-%{release}-filelist
41    
42    
43    
44     %files -f %{name}-%{version}-%{release}-filelist
45     %defattr(-,root,root)
46    
47    
48    
49     %changelog
50     * Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-1.sme
51     - initial Koozali SME 10 version
52    
53    

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