mirror of
https://abf.rosa.ru/djam/docker-compose.git
synced 2025-02-23 14:42:57 +00:00
Imported from SRPM
This commit is contained in:
commit
be34a03b45
2 changed files with 76 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
1.23.2.tar.gz: b27cd9abe3ebc8a5e317d726bdc17db9f9d1c775
|
74
docker-compose.spec
Normal file
74
docker-compose.spec
Normal file
|
@ -0,0 +1,74 @@
|
|||
%global dcvers 1.23.2
|
||||
#global dcrc rc1
|
||||
%global dist_version %{dcvers}
|
||||
|
||||
%global debug_package %{nil}
|
||||
%global provider github
|
||||
%global provider_tld com
|
||||
%global project docker
|
||||
%global repo compose
|
||||
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
|
||||
|
||||
Name: %{project}-%{repo}
|
||||
Version: %{dist_version}
|
||||
Release: 2
|
||||
Summary: Multi-container orchestration for Docker
|
||||
Group: System/Kernel and hardware
|
||||
License: ASL 2.0
|
||||
URL: https://www.docker.com/
|
||||
#Source0: https://%{import_path}/archive/%{dcvers}-%{dcrc}.tar.gz
|
||||
Source0: https://%{import_path}/archive/%{dist_version}.tar.gz
|
||||
|
||||
# docker-compose is compatible with fig and is a simple rename.
|
||||
Provides: fig = %{version}-%{release}
|
||||
Obsoletes: fig < 1.0.0-4
|
||||
|
||||
BuildRequires: pkgconfig(python2)
|
||||
BuildRequires: pythonegg(setuptools)
|
||||
BuildRequires: pythonegg(docker)
|
||||
BuildRequires: pythonegg(websocket-client)
|
||||
BuildRequires: pythonegg(texttable)
|
||||
BuildRequires: pythonegg(requests)
|
||||
BuildRequires: pythonegg(pyyaml)
|
||||
BuildRequires: pythonegg(docopt)
|
||||
|
||||
Requires: pythonegg(repoze.lru)
|
||||
Requires: pythonegg(texttable)
|
||||
Requires: pythonegg(setuptools)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Multi-container orchestration for Docker
|
||||
|
||||
Docker-compose allows you to:
|
||||
- Define your application's environment with Docker so it can be reproduced
|
||||
anywhere.
|
||||
- Define the services that make up your app so they can be run together in an
|
||||
isolated environment.
|
||||
- Run 'docker-compose up', and docker-compose will start and run your entire
|
||||
app.
|
||||
|
||||
%prep
|
||||
#setup -q -n %{repo}-%{dcvers}-%{dcrc}
|
||||
%setup -q -n %{repo}-%{version}
|
||||
perl -pi -e "s|'PyYAML >= 3.10, < 4',|'PyYAML >= 4.1',|" setup.py
|
||||
perl -pi -e "s|'PyYAML==3.12'||" requirements.txt
|
||||
perl -pi -e "s|'texttable >= 0.9.0, < 0.10',|'texttable >= 1.2',|" setup.py
|
||||
perl -pi -e "s|'requests >= 2.6.1, != 2.11.0, != 2.12.2, != 2.18.0, < 2.21',|'requests >= 2.6.1, != 2.11.0, != 2.12.2, != 2.18.0',|" setup.py
|
||||
|
||||
%build
|
||||
%{py2_build}
|
||||
|
||||
%install
|
||||
%{py2_install}
|
||||
|
||||
%files
|
||||
%doc CHANGES.md CONTRIBUTING.md README.md SWARM.md
|
||||
%doc LICENSE
|
||||
%{_bindir}/%{name}
|
||||
# Upstream uses an underscore here
|
||||
%{py_puresitedir}/docker_compose*
|
||||
%{py_puresitedir}/compose*
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue