e10583c
Name:           docker-compose
2c6fbbc
Version:        1.29.2
b0aafd9
Release:        5%{?dist}
b5e4716
Summary:        Multi-container orchestration for Docker
e10583c
License:        ASL 2.0
17ee4f5
URL:            https://github.com/docker/compose
4f8ebe5
Source0:        %pypi_source
4f8ebe5
BuildArch:      noarch
e10583c
c7a8a23
BuildRequires:  python%{python3_pkgversion}-devel
c7a8a23
BuildRequires:  python%{python3_pkgversion}-setuptools
45a1a75
BuildRequires:  python%{python3_pkgversion}-pytest
9f8c4ab
BuildRequires:  python%{python3_pkgversion}-distro
9f8c4ab
BuildRequires:  python%{python3_pkgversion}-dotenv
3338059
BuildRequires:  python%{python3_pkgversion}-ddt
7bb206a
9f8c4ab
BuildRequires:  python%{python3_pkgversion}-cached_property >= 1.5.1
7bb206a
BuildRequires:  python%{python3_pkgversion}-chardet >= 3.0.4
7bb206a
BuildRequires:  python%{python3_pkgversion}-distro >= 1.5.0
b89ff1e
BuildRequires:  python%{python3_pkgversion}-docker >= 5.0.0
7bb206a
BuildRequires:  python%{python3_pkgversion}-docker-pycreds >= 0.4.0
45a1a75
BuildRequires:  python%{python3_pkgversion}-dockerpty >= 0.4.1
7bb206a
BuildRequires:  python%{python3_pkgversion}-docopt >= 0.6.2
7bb206a
BuildRequires:  python%{python3_pkgversion}-idna >= 2.10
9f8c4ab
BuildRequires:  python%{python3_pkgversion}-jsonschema >= 3.2.0
9f8c4ab
BuildRequires:  python%{python3_pkgversion}-pysocks >= 1.7.1
7bb206a
BuildRequires:  python%{python3_pkgversion}-requests >= 2.24.0
7bb206a
BuildRequires:  python%{python3_pkgversion}-six >= 1.12.0
7bb206a
BuildRequires:  python%{python3_pkgversion}-texttable >= 1.6.2
7bb206a
BuildRequires:  python%{python3_pkgversion}-websocket-client >= 0.57.0
b89ff1e
BuildRequires:  python%{python3_pkgversion}-yaml >= 5.4.1
c7a8a23
c7a8a23
Requires:       python%{python3_pkgversion}-setuptools
7bb206a
9f8c4ab
Requires:       python%{python3_pkgversion}-cached_property >= 1.5.1
7bb206a
Requires:       python%{python3_pkgversion}-chardet >= 3.0.4
7bb206a
Requires:       python%{python3_pkgversion}-distro >= 1.5.0
b89ff1e
Requires:       python%{python3_pkgversion}-docker >= 5.0.0
7bb206a
Requires:       python%{python3_pkgversion}-docker-pycreds >= 0.4.0
465dba3
Requires:       python%{python3_pkgversion}-dockerpty >= 0.4.1
7bb206a
Requires:       python%{python3_pkgversion}-docopt >= 0.6.2
7bb206a
Requires:       python%{python3_pkgversion}-idna >= 2.10
9f8c4ab
Requires:       python%{python3_pkgversion}-jsonschema >= 3.2.0
9f8c4ab
Requires:       python%{python3_pkgversion}-pysocks >= 1.7.1
7bb206a
Requires:       python%{python3_pkgversion}-requests >= 2.24.0
7bb206a
Requires:       python%{python3_pkgversion}-six >= 1.12.0
7bb206a
Requires:       python%{python3_pkgversion}-texttable >= 1.6.2
7bb206a
Requires:       python%{python3_pkgversion}-websocket-client >= 0.57.0
b89ff1e
Requires:       python%{python3_pkgversion}-yaml >= 5.4.1
7bb206a
7bb206a
Requires:       python%{python3_pkgversion}-attrs >= 20.3.0
7bb206a
Requires:       python%{python3_pkgversion}-certifi >= 2020.6.20
e10583c
e10583c
e10583c
%description
61f9ca3
Compose is a tool for defining and running multi-container Docker
61f9ca3
applications. With Compose, you use a Compose file to configure your
de8831e
application's services. Then, using a single command, you create and
61f9ca3
start all the services from your configuration.
61f9ca3
61f9ca3
Compose is great for development, testing, and staging environments,
61f9ca3
as well as CI workflows.
e10583c
61f9ca3
Using Compose is basically a three-step process.
61f9ca3
de8831e
1. Define your app's environment with a Dockerfile so it can be
61f9ca3
   reproduced anywhere.
61f9ca3
2. Define the services that make up your app in docker-compose.yml so
61f9ca3
   they can be run together in an isolated environment:
61f9ca3
3. Lastly, run docker-compose up and Compose will start and run your
61f9ca3
   entire app.
e10583c
4f8ebe5
e10583c
%prep
12fd205
%autosetup -p 1
4f8ebe5
rm -rf docker_compose.egg-info
e10583c
3f50907
# Remove dependency version constraints not relevant in Fedora/EPEL
3f50907
sed -e 's/, < [0-9.]\+//' -i setup.py
3f50907
e10583c
e10583c
%build
de8831e
%py3_build
e10583c
4f8ebe5
e10583c
%install
de8831e
%py3_install
9112c16
install -D -p -m 644 contrib/completion/bash/docker-compose %{buildroot}%{_datadir}/bash-completion/completions/docker-compose
9112c16
install -D -p -m 644 contrib/completion/zsh/_docker-compose %{buildroot}%{_datadir}/zsh/site-functions/_docker-compose
9112c16
install -D -p -m 644 contrib/completion/fish/docker-compose.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/docker-compose.fish
e10583c
4f8ebe5
45a1a75
%check
0412c49
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} --verbose tests/unit
45a1a75
45a1a75
e10583c
%files
e10583c
%license LICENSE
0412c49
%doc CHANGELOG.md README.md
e10583c
%{_bindir}/%{name}
c7a8a23
%{python3_sitelib}/compose
c7a8a23
%{python3_sitelib}/docker_compose-%{version}-py%{python3_version}.egg-info
9112c16
%{_datadir}/bash-completion
9112c16
%{_datadir}/zsh
9112c16
%{_datadir}/fish
e10583c
4f8ebe5
e10583c
%changelog
b0aafd9
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 1.29.2-5
b0aafd9
- Rebuilt for Python 3.11
b0aafd9
82e8ccd
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.29.2-4
82e8ccd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
82e8ccd
2bed6ac
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.29.2-3
2bed6ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2bed6ac
121b882
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.29.2-2
121b882
- Rebuilt for Python 3.10
121b882
2c6fbbc
* Mon May 10 2021 Michael Hampton <error@ioerror.us> - 1.29.2-1
2c6fbbc
- Update to 1.29.2
2c6fbbc
b89ff1e
* Wed Apr 21 2021 Michael Hampton <error@ioerror.us> - 1.29.1-1
b89ff1e
- Rebase to 1.29.1
b89ff1e
bffcb14
* Mon Mar 29 2021 Michael Hampton <error@ioerror.us> - 1.28.6-1
bffcb14
- Rebase to 1.28.6
bffcb14
3eec708
* Fri Feb 26 2021 Michael Hampton <error@ioerror.us> - 1.28.5-1
3eec708
- Rebase to 1.28.5
3eec708
7fa0a12
* Fri Feb 19 2021 Michael Hampton <error@ioerror.us> - 1.28.4-1
7fa0a12
- Rebase to 1.28.4
7fa0a12
a6b9f05
* Wed Jan 27 2021 Michael Hampton <error@ioerror.us> - 1.28.2-1
a6b9f05
- Rebase to 1.28.2
a6b9f05
89bc03c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.28.0-2
89bc03c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
89bc03c
7bb206a
* Wed Jan 20 2021 Michael Hampton <error@ioerror.us> - 1.28.0-1
7bb206a
- Rebase to 1.28.0
7bb206a
2f36759
* Thu Sep 24 2020 Michael Hampton <error@ioerror.us> - 1.27.4-1
2f36759
- Rebase to 1.27.4
2f36759
5708617
* Wed Sep 16 2020 Michael Hampton <error@ioerror.us> - 1.27.3-2
5708617
- Requires python-docker 4.3.1
5708617
2a58d25
* Wed Sep 16 2020 Michael Hampton <error@ioerror.us> - 1.27.3-1
2a58d25
- Rebase to 1.27.3
e599e50
5708617
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.25.4-3
5708617
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5708617
9f8c4ab
* Tue Jul 14 2020 Michael Hampton <error@ioerror.us> - 1.26.2-1
9f8c4ab
- Rebase to 1.26.2
9f8c4ab
- Add python-distro build dependency
9f8c4ab
- Add python-dotenv build dependency
9f8c4ab
118fc69
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.25.4-2
118fc69
- Rebuilt for Python 3.9
118fc69
3338059
* Mon Mar 23 2020 Michael Hampton <error@ioerror.us> - 1.25.4-2
3338059
- Remove patch for BZ#1705955 it is now in upstream source
3338059
- Add python-ddt build dependency
3338059
1e8666b
* Sat Feb 29 2020 Michael Hampton <error@ioerror.us> - 1.25.4-1
1e8666b
- Rebase to 1.25.4
1e8666b
890ece8
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.24.1-4
890ece8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
890ece8
f25364c
* Mon Oct  7 2019 Michael Hampton <error@ioerror.us> - 1.24.1-3
f25364c
- Require python-docker 4.0.2-2 for ssh feature
f25364c
bae5e0d
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.24.1-2
bae5e0d
- Rebuilt for Python 3.8.0rc1 (#1748018)
bae5e0d
22cebcd
* Tue Sep 17 2019 Michael Hampton <error@ioerror.us> - 1.24.1-2
22cebcd
- Require python-docker 4.0.2 for ssh feature
22cebcd
0412c49
* Wed Aug 28 2019 Michael Hampton <error@ioerror.us> - 1.24.1-1
0412c49
- Rebase to 1.24.1 (BZ#1691898)
0412c49
- Patch tests for pytest 5 compatibility (BZ#1705955)
0412c49
ea4246e
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.22.0-6
ea4246e
- Rebuilt for Python 3.8
ea4246e
e1fcac3
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.0-5
e1fcac3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e1fcac3
06710a4
* Wed Jul 10 2019 Michael Hampton <error@ioerror.us> - 1.22.0-4
06710a4
d86ad5f
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.0-3
d86ad5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d86ad5f
45a1a75
* Mon Oct 08 2018 Carl George <carl@george.computer> - 1.22.0-2
45a1a75
- Run upstream unit tests
45a1a75
43d2853
* Wed Jul 18 2018 Michael Hampton <error@ioerror.us> - 1.22.0-1
43d2853
- Update to 1.22.0
43d2853
df2b711
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.1-3
df2b711
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
df2b711
d5188c9
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.20.1-2
d5188c9
- Rebuilt for Python 3.7
d5188c9
1574c3c
* Tue Mar 27 2018 Michael Hampton <error@ioerror.us> - 1.20.1-1
1574c3c
- Update to 1.20.1
1574c3c
493f9c9
* Wed Mar 21 2018 Michael Hampton <error@ioerror.us> - 1.20.0-1
493f9c9
- Update to 1.20.0
493f9c9
d03f264
* Fri Mar 02 2018 Adam Williamson <awilliam@redhat.com> - 1.19.0-2
d03f264
- Backport upstream patch for compatibility with python-docker 3.0.0
d03f264
0894ab1
* Mon Feb 19 2018 Michael Hampton <error@ioerror.us> - 1.19.0-1
0894ab1
- Update to 1.19.0
0894ab1
3ea2c6d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-2
3ea2c6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3ea2c6d
3f50907
* Tue Dec 26 2017 Carl George <carl@george.computer> - 1.18.0-1
3f50907
- Latest upstream
3f50907
- Drop patch0 and patch1, use sed on setup.py instead
3f50907
- Rebase patch2
3f50907
fc102f3
* Thu Nov  9 2017 Michael Hampton <error@ioerror.us> - 1.17.1-1
fc102f3
- Update to 1.17.1 (#1511455)
fc102f3
7dd308c
* Thu Nov  2 2017 Michael Hampton <error@ioerror.us> - 1.17.0-1
7dd308c
- Update to 1.17.0 (#1504337)
7dd308c
e50b085
* Sun Sep 10 2017 Carl George <carl@george.computer> - 1.16.1-2
e50b085
- Align dependencies with upstream
12fd205
- RHEL compatibility
9112c16
- Add bash, zsh, and fish completions
e50b085
7bb1816
* Sat Sep  2 2017 Michael Hampton <error@ioerror.us> - 1.16.1-1
7bb1816
- Update to 1.16.1 (#1483776)
7bb1816
cdee96c
* Fri Jul 28 2017 Michael Hampton <error@ioerror.us> - 1.15.0-1
cdee96c
- Update to 1.15.0 (#1471093)
cdee96c
- Explicit python3-docker requirement
cdee96c
- New upstream requirements python3-pysocks, python3-certifi, python3-idna
cdee96c
e77c273
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-2
e77c273
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e77c273
b7488ed
* Tue Jun 20 2017 Michael Hampton <error@ioerror.us> - 1.14.0-1
b7488ed
- Update to upstream 1.14.0
b7488ed
5dfe7c6
* Mon May  8 2017 Michael Hampton <error@ioerror.us> - 1.13.0-1
5dfe7c6
- Update to upstream 1.13.0
5dfe7c6
1ec0389
* Fri Apr  7 2017 Michael Hampton <error@ioerror.us> - 1.12.0-1
1ec0389
- Update to upstream 1.12.0
1ec0389
6449320
* Thu Mar  2 2017 Michael Hampton <error@ioerror.us> - 1.11.2-1
6449320
- Update to upstream 1.11.2
6449320
a87bf9f
* Tue Feb 28 2017 Michael Hampton <error@ioerror.us> - 1.11.1-3
a87bf9f
- Remove requirements upper bound from setup.py; BZ#1426145
a87bf9f
- Added new dependency python3-colorama
a87bf9f
371045f
* Fri Feb 17 2017 Michael Hampton <error@ioerror.us> - 1.11.1-2
371045f
- python-docker-py package name changed to python-docker; BZ#1422198
371045f
8e99f1f
* Fri Feb 10 2017 Michael Hampton <error@ioerror.us> - 1.11.1-1
8e99f1f
- Update to upstream 1.11.1
8e99f1f
2b5f697
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-2
2b5f697
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2b5f697
c128d0c
* Fri Feb  3 2017 Michael Hampton <error@ioerror.us> - 1.10.1-1
c128d0c
- Update to upstream 1.10.1
c128d0c
d3eb09a
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.9.0-3
d3eb09a
- Rebuild for Python 3.6
d3eb09a
bf69eb9
* Mon Nov 21 2016 Michael Hampton <error@ioerror.us> - 1.9.0-2
bf69eb9
- BZ#1396852
bf69eb9
e6c787e
* Sat Nov 19 2016 Michael Hampton <error@ioerror.us> - 1.9.0-1
e6c787e
- Update to upstream 1.9.0
e6c787e
30ebe8d
* Fri Sep 23 2016 Michael Hampton <error@ioerror.us> - 1.8.1-1
30ebe8d
- Update to upstream 1.8.1
30ebe8d
de8831e
* Sat Sep 10 2016 Michael Hampton <error@ioerror.us> - 1.8.0-2
de8831e
- Port to Python 3, BZ#1374656
de8831e
de8831e
* Thu Jul 28 2016 Michael Hampton <error@ioerror.us> - 1.8.0-1
de8831e
- Update to upstream 1.8.0
de8831e
8475835
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-2
8475835
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
8475835
61f9ca3
* Thu May 05 2016 Michael Hampton <error@ioerror.us> - 1.7.1-1
61f9ca3
- Update to upstream 1.7.1
61f9ca3
- Updated package description from upstream
61f9ca3
97b63a1
* Thu Apr 14 2016 Michael Hampton <error@ioerror.us> - 1.7.0-1
97b63a1
- Update to upstream 1.7.0
97b63a1
4da3e6c
* Fri Feb 05 2016 Michael Hampton <error@ioerror.us> - 1.6.0-1
4da3e6c
- Update to upstream 1.6.0
4da3e6c
16df5c4
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-5
16df5c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
16df5c4
a58a183
* Tue Jan 12 2016 Michael Hampton <error@ioerror.us> - 1.5.2-4
a58a183
- Added missing dependency python-enum34
a58a183
cee0785
* Mon Jan 11 2016 Michael Hampton <error@ioerror.us> - 1.5.2-3
cee0785
- Added missing dependency python-jsonschema
cee0785
21d12d4
* Wed Dec 30 2015 Michael Hampton <error@ioerror.us> - 1.5.2-2
21d12d4
- Updated locations of docs
21d12d4
a09b761
* Wed Dec 30 2015 Michael Hampton <error@ioerror.us> - 1.5.2-1
a09b761
- Update to upstream 1.5.2
a09b761
4df82fe
* Wed Sep 23 2015 Michael Hampton <error@ioerror.us> - 1.4.2-1
4df82fe
- Fixes a regression in the 1.4.1 release that would cause
4df82fe
  docker-compose up without the -d option to exit immediately.
4df82fe
26cc25a
* Wed Sep 16 2015 Michael Hampton <error@ioerror.us> - 1.4.1-1
26cc25a
- Update to upstream 1.4.1
26cc25a
b5e4716
* Wed Aug 12 2015 Michael Hampton <error@ioerror.us> - 1.4.0-1
b5e4716
- Update to upstream 1.4.0
b5e4716
- Update Summary to match upstream summary
b5e4716
e10583c
* Sat May 16 2015 Michael Hampton <error@ioerror.us> - 1.2.0-3
e10583c
- Update Obsoletes EVR per packaging guidelines BZ#1213111
e10583c
e10583c
* Sun Apr 19 2015 Michael Hampton <error@ioerror.us> - 1.2.0-2
e10583c
- Update location of LICENSE file
e10583c
e10583c
* Sat Apr 18 2015 Michael Hampton <error@ioerror.us> - 1.2.0-1
e10583c
- Update to 1.2.0
e10583c
- Added new doc SWARM.md
e10583c
- Removed docker package requires as it is not required to build or run the
e10583c
  package, only to run tests, which we can't do anyway
e10583c
- Removed commented code relating to running tests, which we can't do anyway
e10583c
- Made package noarch as docker-io is no longer required
e10583c
e10583c
* Mon Mar 23 2015 Michael Hampton <error@ioerror.us> - 1.1.0-1
e10583c
- Update to 1.1.0 including upstream name change
e10583c
- Requires python-dockerpty
e10583c
- Requires python-docker-py >= 0.7.1-3 BZ#1197300
e10583c
e10583c
* Tue Mar 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 1.0.1-2
e10583c
- Completely remove version specs from setup.py
e10583c
e10583c
* Tue Mar 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 1.0.1-1
e10583c
- Update to 1.0.1
e10583c
e10583c
* Wed Dec 03 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-5
e10583c
- Remove upper bound from setup.py requires
e10583c
e10583c
* Wed Nov 12 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-4
e10583c
- Add python-setuptools to requires
e10583c
e10583c
* Thu Oct 23 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-3
e10583c
- Relax strict version requirements on websocket-client (#1155510)
e10583c
e10583c
* Tue Oct 21 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-2
e10583c
- Update Requires
e10583c
e10583c
* Tue Oct 21 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-1
e10583c
- Update to 1.0.0
e10583c
- Droped the two patches
e10583c
e10583c
* Tue Oct 21 2014 Matej Stuchlik <mstuchli@redhat.com> - 0.5.2-2
e10583c
- Explicitly disable debuginfo subpackage (#1154780)
e10583c
- Add python-docker-py to Requires (#1154874)
e10583c
e10583c
* Thu Oct 09 2014 Matej Stuchlik <mstuchli@redhat.com> - 0.5.2-1
e10583c
- Initial spec based on rhbz#1129889