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

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

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


Revision 1.1 - (show annotations) (download)
Thu Mar 10 15:54:05 2022 UTC (2 years, 8 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-docker-0_4-1_el7_sme
Initial import smeserver-docker-0.4-1

1 %define name smeserver-docker
2 %define version 0.4
3 %define release 1%{?dist}
4 Summary: Contrib to manage basic docker setup
5 Name: %{name}
6 Version: %{version}
7 Release: %{release}
8 License: GNU GPL version 2
9 URL: http://www.docker.com/
10 Group: SMEserver/addon
11 Source: %{name}-%{version}.tar.gz
12 # Patch1: smeserver-docker-xxxx.patch
13
14 BuildRoot: /var/tmp/%{name}-%{version}
15 BuildArchitectures: noarch
16 BuildRequires: e-smith-devtools
17 Requires: e-smith-release >= 10.0
18 Requires: docker-ce >= 20.10
19 AutoReqProv: no
20
21 %description
22 Docker is an open-source project that automates the deployment of applications inside software containers
23
24 %changelog
25 * Thu Mar 10 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-1.sme
26 - First import to Koozali SME Server v10 [SME: 11892]
27 - Add basic templates
28
29 * Fri Aug 17 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-1
30 - Add template directory for docker-compose.yml
31 - You can then add gragments from your own contrib.
32
33 * Sun Apr 08 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-5
34 - Missed a # in /etc/sysconfig/docker
35
36 * Tue Mar 27 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-4
37 - Missed a # in the spec file
38
39 * Thu Mar 15 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-3
40 - add rc.7 service links for docker and mongod
41 - Fix prelink error on docker-compose see https://github.com/docker/compose/issues/
42 - fix errant semi colon in createlinks
43 - move demo docker file out of configs so it doesn't overwrite originals
44
45 * Sun Mar 11 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2
46 - update spec file to set props on docker-compose
47 - mover docker-compose to /usr/bin
48
49 * Sun Mar 4 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1
50 - initial release
51 - basic file layout
52 - removed httpd templates - need to create your own
53
54 %prep
55 %setup
56
57 # %patch1 -p1
58
59 %build
60 perl createlinks
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
65 rm -f %{name}-%{version}-filelist
66
67 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
68 echo "%doc COPYING LICENSE" >> %{name}-%{version}-filelist
69
70
71 %clean
72 cd ..
73 rm -rf %{name}-%{version}
74
75 %files -f %{name}-%{version}-filelist
76 %defattr(-,root,root)
77
78 %pre
79 %preun
80 %post
81
82 # Add configs directory if it doesn't exist
83 if [[ ! -d /home/e-smith/files/docker/configs ]]; then
84 mkdir -p /home/e-smith/files/docker/configs;
85 fi
86
87 echo "see https://wiki.contribs.org/Docker"
88
89 %postun
90 #/sbin/e-smith/expand-template /etc/rc.d/init.d/masq
91 #/sbin/e-smith/expand-template /etc/inittab
92 #/sbin/init q

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