package created using the webbuild interface [release 1.29.2-1mamba;Sun Aug 29 2021]
This commit is contained in:
parent
7e56ab5cdc
commit
6f406265d4
@ -1,2 +1,4 @@
|
||||
# docker-compose
|
||||
|
||||
Define and run multi-container applications with Docker.
|
||||
|
||||
|
69
docker-compose.spec
Normal file
69
docker-compose.spec
Normal file
@ -0,0 +1,69 @@
|
||||
Name: docker-compose
|
||||
Version: 1.29.2
|
||||
Release: 1mamba
|
||||
Summary: Define and run multi-container applications with Docker
|
||||
Group: System/Servers
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/docker/compose
|
||||
Source: https://github.com/docker/compose.git/%{version}/compose-%{version}.tar.bz2
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(cached-property)
|
||||
BuildRequires: python3.7dist(distro)
|
||||
BuildRequires: python3.7dist(docker)
|
||||
BuildRequires: python3.7dist(dockerpty)
|
||||
BuildRequires: python3.7dist(docopt)
|
||||
BuildRequires: python3.7dist(jsonschema)
|
||||
BuildRequires: python3.7dist(python-dotenv)
|
||||
BuildRequires: python3.7dist(pyyaml)
|
||||
BuildRequires: python3.7dist(requests)
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
BuildRequires: python3.7dist(texttable)
|
||||
BuildRequires: python3.7dist(websocket-client)
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
Define and run multi-container applications with Docker.
|
||||
|
||||
%prep
|
||||
%setup -q -n compose-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python3} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python3_inc} \
|
||||
--install-lib=%{python3_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
install -Dm644 contrib/completion/bash/docker-compose \
|
||||
%{buildroot}%{_datadir}/bash-completion/completions/docker-compose
|
||||
install -Dm644 contrib/completion/fish/docker-compose.fish \
|
||||
%{buildroot}%{_datadir}/fish/vendor_completions.d/docker-compose.fish
|
||||
install -Dm644 contrib/completion/zsh/_docker-compose \
|
||||
%{buildroot}%{_datadir}/zsh/site-functions/_docker-compose
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python3_sitearch}/docker_compose-%{version}-py*.egg-info
|
||||
%{python3_sitearch}/docker_compose-%{version}-py*.egg-info/*
|
||||
%{_datadir}/bash-completion/completions/docker-compose
|
||||
%{_datadir}/fish/vendor_completions.d/docker-compose.fish
|
||||
%{_datadir}/zsh/site-functions/_docker-compose
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sun Aug 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.29.2-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user