70 lines
2.4 KiB
RPMSpec
70 lines
2.4 KiB
RPMSpec
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
|