Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
skopeo
skopeo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skopeo.spec of Package skopeo
# # spec file for package skopeo # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # nodebuginfo # Don't enable ostree by default, as libostree is only available in tumbleweed. %bcond_with ostree # Remove stripping of Go binaries. %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: skopeo Version: 0.1.23 Release: 0 Summary: Container image repository tool License: Apache-2.0 Group: System/Management Url: https://github.com/projectatomic/skopeo Source: %{name}-%{version}.tar.xz BuildRequires: go >= 1.5 BuildRequires: go-go-md2man BuildRequires: libgpgme-devel # Required for containers/storage integration. BuildRequires: device-mapper-devel >= 1.2.68 BuildRequires: glib2-devel BuildRequires: libbtrfs-devel >= 3.8 %if 0%{with ostree} BuildRequires: libostree-devel %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: libcontainers-common %description skopeo is a command line utility for various operations on container images and image repositories. skopeo is able to inspect a repository on a Docker registry and fetch images layers. skopeo can copy container images between various storage mechanisms. %prep %setup -q %build mkdir -p .gopath/src/github.com/projectatomic ln -s $PWD .gopath/src/github.com/projectatomic/skopeo export GOPATH=$PWD/.gopath export BUILDTAGS="exclude_graphdriver_aufs" %if 0%{?suse_version} <= 1320 BUILDTAGS+=" libdm_no_deferred_remove" %endif %if ! 0%{with ostree} BUILDTAGS+=" containers_image_ostree_stub" %endif # Build. go build -ldflags "-X main.gitCommit=" -gcflags "" -tags "$BUILDTAGS" -o skopeo github.com/projectatomic/skopeo/cmd/skopeo make docs %install # Install the binary. install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}" make INSTALLDIR="%{buildroot}/%{_bindir}" install-binary # Install the docs. make MANINSTALLDIR="%{buildroot}/%{_mandir}" install-docs %files %defattr(-,root,root) %doc LICENSE README.md %{_bindir}/%{name} %{_mandir}/man1/skopeo.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor