Files
packages/anda/docker/moby-compose/moby-compose.spec
T
madomado 55c9d8ce39 moby-addons: do not hard-depend on Docker (#2185) (#2189)
(cherry picked from commit d562057470)

Co-authored-by: Cappy Ishihara <cappy@cappuchino.xyz>
2024-10-05 00:09:02 +08:00

47 lines
1.1 KiB
RPMSpec

%define debug_package %{nil}
Name: moby-compose
Version: 2.29.2
Release: 2%?dist
Summary: Define and run multi-container applications with Docker
License: Apache-2.0
URL: https://github.com/docker/compose/
Source0: %{url}archive/refs/tags/v%{version}.tar.gz
# Source1: https://github.com/docker/buildx/releases/download/v0.9.1/buildx-v0.9.1.linux-amd64
BuildRequires: go-rpm-macros
BuildRequires: git-core
BuildRequires: docker
Provides: docker-compose = %{version}-%{release}
Provides: docker-compose-cli = %{version}-%{release}
%description
A tool for running multi-container applications using the Compose file format.
%prep
%autosetup -n compose-%{version}
%build
%make_build
%install
mkdir -p %{buildroot}%{_libexecdir}/docker/cli-plugins
install -m 0755 bin/build/docker-compose %{buildroot}%{_libexecdir}/docker/cli-plugins/docker-compose
%files
%license LICENSE
%doc docs
%{_libexecdir}/docker/cli-plugins/docker-compose
%changelog
* Tue Dec 06 2022 root - 2.14.0-1
- new version
* Tue Oct 04 2022 Cappy Ishihara <cappy@cappuchino.xyz>
- Initial Release