|
|
03485f |
%global debug_package %{nil}
|
|
|
03485f |
%if 0%{?fedora} <= 22 || (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
|
|
03485f |
%global pypkg python
|
|
|
03485f |
%global pysitelib %{python_sitelib}
|
|
|
03485f |
%global __python %{__python2}
|
|
|
03485f |
%if 0%{?fedora}
|
|
|
03485f |
%global pylint pylint
|
|
|
03485f |
%endif
|
|
|
03485f |
%else
|
|
|
03485f |
%global pypkg python3
|
|
|
03485f |
%global pysitelib %{python3_sitelib}
|
|
|
03485f |
%global __python %{__python3}
|
|
|
03485f |
%global pylint python3-pylint
|
|
|
03485f |
%endif
|
|
|
03485f |
|
|
|
03485f |
%global commit ca1e384502c46a275ee1d2467e1e8c494b31cbf3
|
|
|
03485f |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
03485f |
|
|
|
03485f |
Name: atomic
|
|
|
03485f |
Version: 1.6
|
|
|
445aa2 |
Release: 6.git%{shortcommit}%{?dist}
|
|
|
03485f |
Summary: Tool for managing ProjectAtomic systems and containers
|
|
|
03485f |
License: LGPLv2+
|
|
|
03485f |
URL: https://github.com/projectatomic/atomic
|
|
|
03485f |
ExclusiveArch: x86_64
|
|
|
03485f |
Source0: https://github.com/projectatomic/%{name}/archive/%{commit}.tar.gz
|
|
|
03485f |
|
|
|
03485f |
BuildRequires: %{pypkg}-devel
|
|
|
03485f |
%if 0%{?fedora}
|
|
|
03485f |
BuildRequires: %{pylint}
|
|
|
03485f |
%endif
|
|
|
03485f |
BuildRequires: %{pypkg}-requests
|
|
|
03485f |
BuildRequires: %{pypkg}-tools
|
|
|
03485f |
BuildRequires: %{pypkg}-dbus
|
|
|
03485f |
BuildRequires: %{pypkg}-setuptools
|
|
|
03485f |
BuildRequires: policycoreutils-%{pypkg}
|
|
|
03485f |
BuildRequires: go-md2man
|
|
|
445aa2 |
BuildRequires: %{pypkg}-docker-py >= 1.4.0-118
|
|
|
03485f |
|
|
|
03485f |
Requires: dbus
|
|
|
03485f |
Requires: docker
|
|
|
03485f |
Requires: polkit
|
|
|
03485f |
Requires: setup
|
|
|
03485f |
Requires: %{pypkg}-setuptools
|
|
|
03485f |
Requires: %{pypkg}-requests
|
|
|
445aa2 |
Requires: %{pypkg}-docker-py >= 1.4.0-118
|
|
|
03485f |
Requires: %{pypkg}-websocket-client >= 0.11.0
|
|
|
03485f |
Requires: %{pypkg}-six >= 1.3.0
|
|
|
03485f |
|
|
|
03485f |
|
|
|
03485f |
%description
|
|
|
03485f |
The goal of Atomic is to provide a high level, coherent entrypoint to the
|
|
|
03485f |
system, and fill in gaps.
|
|
|
03485f |
|
|
|
03485f |
For Docker, atomic can make it easier to interact with special kinds of
|
|
|
03485f |
containers, such as super-privileged debugging tools and the like.
|
|
|
03485f |
|
|
|
03485f |
The atomic host subcommand wraps rpm-ostree, currently just providing a
|
|
|
03485f |
friendlier name, but in the future Atomic may provide more unified
|
|
|
03485f |
management.
|
|
|
03485f |
|
|
|
03485f |
%prep
|
|
|
03485f |
%setup -qn %{name}-%{commit}
|
|
|
03485f |
|
|
|
03485f |
%build
|
|
|
03485f |
make PYTHON=%{__python} PYLINT=%{?pylint} all
|
|
|
03485f |
|
|
|
03485f |
%install
|
|
|
03485f |
make PYTHON=%{__python} PYLINT=%{?pylint} install DESTDIR=%{buildroot}
|
|
|
03485f |
|
|
|
03485f |
%check
|
|
|
03485f |
[ ! -w /run/docker.sock ] || make PYTHON=%{__python} test
|
|
|
03485f |
|
|
|
03485f |
%files
|
|
|
03485f |
%doc COPYING README.md
|
|
|
03485f |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
|
|
03485f |
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.%{name}.conf
|
|
|
03485f |
%{pysitelib}/Atomic
|
|
|
03485f |
%{pysitelib}/%{name}*.egg-info
|
|
|
03485f |
%{_sysconfdir}/profile.d/%{name}.sh
|
|
|
03485f |
%{_bindir}/%{name}
|
|
|
03485f |
%{_datadir}/%{name}
|
|
|
03485f |
%{_datadir}/bash-completion/completions/%{name}
|
|
|
03485f |
%{_datadir}/dbus-1/system-services/org.%{name}.service
|
|
|
03485f |
%{_datadir}/polkit-1/actions/org.%{name}.policy
|
|
|
03485f |
%{_mandir}/man1/%{name}*
|
|
|
03485f |
|
|
|
03485f |
|
|
|
03485f |
%changelog
|
|
|
445aa2 |
* Wed Nov 04 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.6-6.gitca1e384
|
|
|
445aa2 |
- update python-docker-py dependency over what was shipped in 7.1.6 and 7.2.0
|
|
|
445aa2 |
|
|
|
445aa2 |
* Wed Nov 04 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.6-5.gitea18c14
|
|
|
445aa2 |
- correct bogus date annoyance
|
|
|
445aa2 |
|
|
|
445aa2 |
* Wed Nov 04 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.6-4.gitea18c14
|
|
|
445aa2 |
- Resolves: rhbz#1278145 - depend on python-docker-py >= 1.4.0-118
|
|
|
445aa2 |
|
|
|
445aa2 |
* Tue Nov 03 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.6-3.gitea18c14
|
|
|
445aa2 |
- Resolves: rhbz#1272037
|
|
|
445aa2 |
- built atomic commit#ea18c14
|
|
|
445aa2 |
|
|
|
445aa2 |
* Thu Oct 29 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.6-2.git50d7fd9
|
|
|
445aa2 |
- built atomic commit#50d7fd9
|
|
|
445aa2 |
|
|
|
03485f |
* Thu Oct 22 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.6-1.gitca1e384
|
|
|
03485f |
- built atomic commit#ca1e384
|
|
|
03485f |
- Resolves: rhbz#1273365
|
|
|
03485f |
|
|
|
03485f |
* Fri Oct 09 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.5-4.git7e4365f
|
|
|
03485f |
- built atomic @origin/master commit#7e4365f
|
|
|
03485f |
- re-include python-setuptools at build and runtime
|
|
|
03485f |
|
|
|
03485f |
* Tue Oct 06 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.5-3.git82f4324
|
|
|
03485f |
- Resolves: rhbz#1268926
|
|
|
03485f |
- no dependency on python-setuptools
|
|
|
03485f |
- depends on python-dbus at buildtime
|
|
|
03485f |
- built atomic @origin/master commit#82f4324
|
|
|
03485f |
|
|
|
03485f |
* Wed Sep 30 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.5-2.git191fb53
|
|
|
03485f |
- Resolves: rhbz#1265974 (extras-rhel-7.1.6) - include atomic
|
|
|
03485f |
- Resolves: rhbz#1211359 (extras-rhel-7.2) - include atomic
|
|
|
03485f |
- built atomic @origin/master commit#191fb53
|
|
|
03485f |
|
|
|
03485f |
* Wed Sep 23 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.4-3.git9d724aa
|
|
|
03485f |
- ping version req for python-docker-py
|
|
|
03485f |
|
|
|
03485f |
* Mon Sep 14 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.4-2.git9d724aa
|
|
|
03485f |
- unpin python-requests version requirement
|
|
|
03485f |
|
|
|
03485f |
* Mon Sep 14 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.4-1.git9d724aa
|
|
|
03485f |
- built master commit#9d724aa
|
|
|
03485f |
- scan subcommand added
|
|
|
03485f |
- br: python-requests >= 2.4.3
|
|
|
03485f |
|
|
|
03485f |
* Mon Aug 03 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.1-1.git5f631c8
|
|
|
03485f |
- bump to 1.1
|
|
|
03485f |
- buildrequires policycoreutils-python(3)
|
|
|
03485f |
|
|
|
03485f |
* Fri Jul 24 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.0-1.git52d695c
|
|
|
03485f |
- version 1.0 as per setup.py
|
|
|
03485f |
- use latest upstream master commit
|
|
|
03485f |
- run test only if docker.sock writable
|
|
|
03485f |
|
|
|
03485f |
* Tue Jul 14 2015 Miro HronĨok <mhroncok@redhat.com> - 0-0.12.gitfea1b99
|
|
|
03485f |
- update to latest upstream master
|
|
|
03485f |
- add new %%files and require dbus, polkit and setup to have the directories
|
|
|
03485f |
- switch to Python 3
|
|
|
03485f |
- disable build for arm (missing docker)
|
|
|
03485f |
- Resolves: rhbz#1241947
|
|
|
03485f |
|
|
|
03485f |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.11.gite5734c4
|
|
|
03485f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
03485f |
|
|
|
03485f |
* Wed Apr 15 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.10.gite5734c4
|
|
|
03485f |
- update to latest upstream master
|
|
|
03485f |
|
|
|
03485f |
* Tue Mar 03 2015 Colin Walters <walters@redhat.com> - 0-0.9.gita7ff4cb
|
|
|
03485f |
- Match ExclusiveArch with docker (there is no docker on i686)
|
|
|
03485f |
|
|
|
03485f |
* Mon Mar 02 2015 Colin Walters <walters@redhat.com> - 0-0.8.gita7ff4cb
|
|
|
03485f |
- Drop ExclusiveArch, we are just a wrapper for Docker, which in any
|
|
|
03485f |
case builds on other architectures now.
|
|
|
03485f |
|
|
|
03485f |
* Tue Feb 24 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.7.gita7ff4cb
|
|
|
03485f |
- remove pylint for rhel/centos
|
|
|
03485f |
|
|
|
03485f |
* Tue Feb 24 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.6.gita7ff4cb
|
|
|
03485f |
- runtime requirement: python-docker-py
|
|
|
03485f |
|
|
|
03485f |
* Tue Feb 24 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.5.gita7ff4cb
|
|
|
03485f |
- build commit#a7ff4cb
|
|
|
03485f |
|
|
|
03485f |
* Fri Feb 20 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.4.gitf7f6fa8
|
|
|
03485f |
- Resolves: rhbz#1194058 - approved version, ready for upload
|
|
|
03485f |
- change license to LGPLv2+
|
|
|
03485f |
|
|
|
03485f |
* Thu Feb 19 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.3.gite4081c9
|
|
|
03485f |
- manpage installation rules upstreamed
|
|
|
03485f |
|
|
|
03485f |
* Wed Feb 18 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.2.git6b82cb7
|
|
|
03485f |
- install docs
|
|
|
03485f |
|
|
|
03485f |
* Wed Feb 18 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.1.git6b82cb7
|
|
|
03485f |
- Initial package
|