| 1 | %bcond_with build_nosrc |
|---|
| 2 | |
|---|
| 3 | %if !%{with build_nosrc} |
|---|
| 4 | %global _disable_source_fetch 0 |
|---|
| 5 | %endif |
|---|
| 6 | |
|---|
| 7 | Name: docker-compose |
|---|
| 8 | Summary: Define and run multi-container applications with Docker |
|---|
| 9 | Version: 1.28.2 |
|---|
| 10 | Release: 1%{?_dist_release} |
|---|
| 11 | Group: admin-tools,virtualization |
|---|
| 12 | Vendor: Project Vine |
|---|
| 13 | Distribution: Vine Linux |
|---|
| 14 | Packager: tomop |
|---|
| 15 | |
|---|
| 16 | License: ASL 2.0 |
|---|
| 17 | URL: https://www.docker.com |
|---|
| 18 | Source0: https://github.com/docker/compose/releases/download/%{version}/docker-compose-Linux-x86_64 |
|---|
| 19 | Source1: https://raw.githubusercontent.com/docker/compose/%{version}/README.md |
|---|
| 20 | Source2: https://raw.githubusercontent.com/docker/compose/%{version}/LICENSE |
|---|
| 21 | |
|---|
| 22 | %if %{with build_nosrc} |
|---|
| 23 | NoSource: 0 |
|---|
| 24 | NoSource: 1 |
|---|
| 25 | NoSource: 2 |
|---|
| 26 | %endif |
|---|
| 27 | |
|---|
| 28 | Requires: docker-ce-cli |
|---|
| 29 | |
|---|
| 30 | %description |
|---|
| 31 | Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application's services. Then, using a single command, you create and start all the services from your configuration. |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | %prep |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | %build |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | %install |
|---|
| 41 | # install binary |
|---|
| 42 | install -d %{buildroot}%{_bindir} |
|---|
| 43 | |
|---|
| 44 | install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/docker-compose |
|---|
| 45 | install -p -m 755 %{SOURCE1} ./ |
|---|
| 46 | install -p -m 755 %{SOURCE2} ./ |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | %files |
|---|
| 50 | %defattr(-,root,root,-) |
|---|
| 51 | %license LICENSE |
|---|
| 52 | %doc README.md |
|---|
| 53 | %{_bindir}/docker-compose |
|---|
| 54 | |
|---|
| 55 | |
|---|
| 56 | %changelog |
|---|
| 57 | * Thu Feb 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.28.2-1 |
|---|
| 58 | - new upstream release. |
|---|
| 59 | |
|---|
| 60 | * Thu Dec 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.27.4-1 |
|---|
| 61 | - new upstream release. |
|---|
| 62 | |
|---|
| 63 | * Sun Jul 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.26.2-1 |
|---|
| 64 | - new upstream release. |
|---|
| 65 | |
|---|
| 66 | * Thu Mar 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.25.4-1 |
|---|
| 67 | - new upstream release. |
|---|
| 68 | |
|---|
| 69 | * Thu Oct 10 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.24.1-2 |
|---|
| 70 | - rebuilt to upload to VineSeed official repository. |
|---|
| 71 | |
|---|
| 72 | * Tue Aug 27 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.24.1-1 |
|---|
| 73 | - initial build for Vine Linux. |
|---|