|
Lokesh Mandvekar |
a8ae05 |
%global debug_package %{nil}
|
|
Miro Hrončok |
99344b |
%global __python %{__python3}
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
519fc9 |
%global commit 52d695cadae01ecbc6ba2755ad1fdfecc3a8e252
|
|
Lokesh Mandvekar |
a8ae05 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
Name: atomic
|
|
Lokesh Mandvekar |
519fc9 |
Version: 1.0
|
|
Lokesh Mandvekar |
519fc9 |
Release: 1.git%{shortcommit}%{?dist}
|
|
Lokesh Mandvekar |
a8ae05 |
Summary: Tool for managing ProjectAtomic systems and containers
|
|
Lokesh Mandvekar |
a8ae05 |
License: LGPLv2+
|
|
Lokesh Mandvekar |
a8ae05 |
URL: https://github.com/projectatomic/atomic
|
|
Miro Hrončok |
850fc3 |
ExclusiveArch: x86_64
|
|
Lokesh Mandvekar |
a8ae05 |
Source0: https://github.com/projectatomic/%{name}/archive/%{commit}.tar.gz
|
|
Miro Hrončok |
99344b |
|
|
Miro Hrončok |
99344b |
BuildRequires: python3-devel
|
|
Miro Hrončok |
99344b |
BuildRequires: python3-pylint
|
|
Miro Hrončok |
99344b |
BuildRequires: python3-requests
|
|
Miro Hrončok |
99344b |
BuildRequires: python3-setuptools
|
|
Miro Hrončok |
99344b |
BuildRequires: python3-tools
|
|
Lokesh Mandvekar |
a8ae05 |
BuildRequires: go-md2man
|
|
Lokesh Mandvekar |
a8ae05 |
BuildRequires: docker
|
|
Miro Hrončok |
99344b |
|
|
Miro Hrončok |
99344b |
Requires: dbus
|
|
Lokesh Mandvekar |
a8ae05 |
Requires: docker
|
|
Miro Hrončok |
99344b |
Requires: polkit
|
|
Miro Hrončok |
99344b |
Requires: setup
|
|
Miro Hrončok |
99344b |
Requires: python3-requests
|
|
Miro Hrončok |
99344b |
Requires: python3-docker-py
|
|
Miro Hrončok |
99344b |
Requires: python3-websocket-client >= 0.11.0
|
|
Miro Hrončok |
99344b |
Requires: python3-six >= 1.3.0
|
|
Miro Hrončok |
99344b |
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
%description
|
|
Lokesh Mandvekar |
a8ae05 |
The goal of Atomic is to provide a high level, coherent entrypoint to the
|
|
Lokesh Mandvekar |
a8ae05 |
system, and fill in gaps.
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
For Docker, atomic can make it easier to interact with special kinds of
|
|
Lokesh Mandvekar |
a8ae05 |
containers, such as super-privileged debugging tools and the like.
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
The atomic host subcommand wraps rpm-ostree, currently just providing a
|
|
Lokesh Mandvekar |
a8ae05 |
friendlier name, but in the future Atomic may provide more unified
|
|
Lokesh Mandvekar |
a8ae05 |
management.
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
%prep
|
|
Lokesh Mandvekar |
a8ae05 |
%setup -qn %{name}-%{commit}
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
%build
|
|
Miro Hrončok |
99344b |
make PYTHON=%{__python3} PYLINT=python3-pylint all
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
%install
|
|
Miro Hrončok |
da9785 |
make PYTHON=%{__python3} PYLINT=python3-pylint install DESTDIR=%{buildroot}
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
%check
|
|
Lokesh Mandvekar |
519fc9 |
[ ! -w /run/docker.sock ] || make PYTHON=%{__python3} test
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
%files
|
|
Lokesh Mandvekar |
a8ae05 |
%doc COPYING README.md
|
|
Lokesh Mandvekar |
a8ae05 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
|
Miro Hrončok |
99344b |
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.%{name}.conf
|
|
Miro Hrončok |
99344b |
%{python3_sitelib}/Atomic
|
|
Miro Hrončok |
99344b |
%{python3_sitelib}/%{name}*.egg-info
|
|
Lokesh Mandvekar |
a8ae05 |
%{_sysconfdir}/profile.d/%{name}.sh
|
|
Lokesh Mandvekar |
a8ae05 |
%{_bindir}/%{name}
|
|
Miro Hrončok |
99344b |
%{_datadir}/%{name}
|
|
Lokesh Mandvekar |
e979be |
%{_datadir}/bash-completion/completions/%{name}
|
|
Miro Hrončok |
99344b |
%{_datadir}/dbus-1/system-services/org.%{name}.service
|
|
Miro Hrončok |
99344b |
%{_datadir}/polkit-1/actions/org.%{name}.policy
|
|
Lokesh Mandvekar |
a8ae05 |
%{_mandir}/man1/%{name}*
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Miro Hrončok |
99344b |
|
|
Lokesh Mandvekar |
a8ae05 |
%changelog
|
|
Lokesh Mandvekar |
519fc9 |
* Fri Jul 24 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.0-1.git52d695c
|
|
Lokesh Mandvekar |
519fc9 |
- version 1.0 as per setup.py
|
|
Lokesh Mandvekar |
519fc9 |
- use latest upstream master commit
|
|
Lokesh Mandvekar |
519fc9 |
- run test only if docker.sock writable
|
|
Lokesh Mandvekar |
519fc9 |
|
|
Miro Hrončok |
99344b |
* Tue Jul 14 2015 Miro Hrončok <mhroncok@redhat.com> - 0-0.12.gitfea1b99
|
|
Miro Hrončok |
99344b |
- update to latest upstream master
|
|
Miro Hrončok |
99344b |
- add new %%files and require dbus, polkit and setup to have the directories
|
|
Miro Hrončok |
99344b |
- switch to Python 3
|
|
Miro Hrončok |
850fc3 |
- disable build for arm (missing docker)
|
|
Miro Hrončok |
99344b |
- Resolves: rhbz#1241947
|
|
Miro Hrončok |
99344b |
|
|
Dennis Gilmore |
6652d4 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.11.gite5734c4
|
|
Dennis Gilmore |
6652d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
Dennis Gilmore |
6652d4 |
|
|
Lokesh Mandvekar |
e979be |
* Wed Apr 15 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.10.gite5734c4
|
|
Lokesh Mandvekar |
e979be |
- update to latest upstream master
|
|
Lokesh Mandvekar |
e979be |
|
|
Colin Walters |
570215 |
* Tue Mar 03 2015 Colin Walters <walters@redhat.com> - 0-0.9.gita7ff4cb
|
|
Colin Walters |
570215 |
- Match ExclusiveArch with docker (there is no docker on i686)
|
|
Colin Walters |
570215 |
|
|
Colin Walters |
ad8421 |
* Mon Mar 02 2015 Colin Walters <walters@redhat.com> - 0-0.8.gita7ff4cb
|
|
Colin Walters |
ad8421 |
- Drop ExclusiveArch, we are just a wrapper for Docker, which in any
|
|
Colin Walters |
ad8421 |
case builds on other architectures now.
|
|
Colin Walters |
ad8421 |
|
|
Lokesh Mandvekar |
4db7d4 |
* Tue Feb 24 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.7.gita7ff4cb
|
|
Lokesh Mandvekar |
4db7d4 |
- remove pylint for rhel/centos
|
|
Lokesh Mandvekar |
4db7d4 |
|
|
Lokesh Mandvekar |
3ea434 |
* Tue Feb 24 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.6.gita7ff4cb
|
|
Lokesh Mandvekar |
3ea434 |
- runtime requirement: python-docker-py
|
|
Lokesh Mandvekar |
3ea434 |
|
|
Lokesh Mandvekar |
a8ae05 |
* Tue Feb 24 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.5.gita7ff4cb
|
|
Lokesh Mandvekar |
a8ae05 |
- build commit#a7ff4cb
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
* Fri Feb 20 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.4.gitf7f6fa8
|
|
Lokesh Mandvekar |
a8ae05 |
- Resolves: rhbz#1194058 - approved version, ready for upload
|
|
Lokesh Mandvekar |
a8ae05 |
- change license to LGPLv2+
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
* Thu Feb 19 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.3.gite4081c9
|
|
Lokesh Mandvekar |
a8ae05 |
- manpage installation rules upstreamed
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
* Wed Feb 18 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.2.git6b82cb7
|
|
Lokesh Mandvekar |
a8ae05 |
- install docs
|
|
Lokesh Mandvekar |
a8ae05 |
|
|
Lokesh Mandvekar |
a8ae05 |
* Wed Feb 18 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.1.git6b82cb7
|
|
Lokesh Mandvekar |
a8ae05 |
- Initial package
|