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

Diff of /rpms/smeserver-docker/contribs10/smeserver-docker.spec

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

Revision 1.2 by jcrisp, Thu Mar 10 16:53:42 2022 UTC Revision 1.3 by jcrisp, Wed Jul 13 10:40:49 2022 UTC
# Line 1  Line 1 
1  %define name smeserver-docker  %define name smeserver-docker
2  %define version 0.4  %define version 0.4
3  %define release 2%{?dist}  %define release 3%{?dist}
4  Summary: Contrib to manage basic docker setup  Summary: Contrib to manage basic docker setup
5  Name: %{name}  Name: %{name}
6  Version: %{version}  Version: %{version}
# Line 10  URL: http://www.docker.com/ Line 10  URL: http://www.docker.com/
10  Group: SMEserver/addon  Group: SMEserver/addon
11  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
12  Patch1: smeserver-docker-0.4-containerd-db-entry.patch  Patch1: smeserver-docker-0.4-containerd-db-entry.patch
13    Patch2: smeserver-docker-0.4-update-createlinks1.patch
14    
15  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
16  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 22  AutoReqProv: no Line 23  AutoReqProv: no
23  Docker is an open-source project that automates the deployment of applications inside software containers  Docker is an open-source project that automates the deployment of applications inside software containers
24    
25  %changelog  %changelog
26    * Tue Jul 12 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-3.sme
27    - Fix some createlink errors [SME: 11892]
28    - Update daemon.json and 50koozali.conf templates
29    
30  * Thu Mar 10 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-2.sme  * Thu Mar 10 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-2.sme
31  - Add containerd db entries  - Add containerd db entries [SME: 11892]
32    
33  * Thu Mar 10 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-1.sme  * Thu Mar 10 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-1.sme
34  - First import to Koozali SME Server v10 [SME: 11892]  - First import to Koozali SME Server v10 [SME: 11892]
# Line 58  Docker is an open-source project that au Line 63  Docker is an open-source project that au
63  %setup  %setup
64    
65  %patch1 -p1  %patch1 -p1
66    %patch2 -p1
67    
68  %build  %build
69  perl createlinks  perl createlinks
# Line 82  rm -rf %{name}-%{version} Line 88  rm -rf %{name}-%{version}
88  %preun  %preun
89  %post  %post
90    
91  # Add configs directory if it doesn't exist  # Add config directories if they don't exist
92  if [[ ! -d /home/e-smith/files/docker/configs ]]; then  if [[ ! -d /home/e-smith/files/docker/configs ]]; then
93  mkdir -p /home/e-smith/files/docker/configs;      mkdir -p /home/e-smith/files/docker/configs;
94    fi
95    
96    if [[ ! -d /usr/lib/systemd/system/docker.service.d ]]; then
97        mkdir -p /usr/lib/systemd/system/docker.service.d;
98  fi  fi
99    
100    if [[ ! -d /etc/docker ]]; then
101        mkdir -p /etc/docker;
102    fi
103    
104    
105  echo "see https://wiki.contribs.org/Docker"  echo "see https://wiki.contribs.org/Docker"
106    echo "Please run signal-post-upgrade;signal-event reboot"
107    
108  %postun  %postun
109  #/sbin/e-smith/expand-template /etc/rc.d/init.d/masq  #/sbin/e-smith/expand-template /etc/rc.d/init.d/masq


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