Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
a57f7ae0
Commit
a57f7ae0
authored
Mar 05, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73 from skvidal/feature
rpm pkging/spec file
parents
37541ea8
78566946
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
3 deletions
+55
-3
MANIFEST.in
+3
-0
ansible.spec
+49
-0
setup.py
+3
-3
No files found.
MANIFEST.in
0 → 100644
View file @
a57f7ae0
include README.md AUTHORS.md ansible.spec
recursive-include docs *
include Makefile
ansible.spec
0 → 100644
View file @
a57f7ae0
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Summary: Minimal SSH command and control
Name: ansible
Version: 1.0
Release: 1
Source0: ansible-%{version}.tar.gz
License: GPLv3
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Url: http://github.com/mpdehaan/ansible/
BuildRequires: asciidoc
Requires: python-paramiko
%description
Ansible is a extra-simple tool/API for doing 'parallel remote things' over SSH
executing commands, running "modules", or executing larger 'playbooks' that
can serve as a configuration management or deployment system.
%prep
%setup -n %{name}-%{version}
%build
python setup.py build
make docs
%install
python setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
mkdir -p $RPM_BUILD_ROOT/etc/ansible/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc README.md AUTHORS.md PKG-INFO
%defattr(-,root,root)
%{_mandir}/man1/*.gz
%{_mandir}/man5/*.gz
%{python_sitelib}/*
%{_bindir}/ansible*
%{_datadir}/ansible/*
%{_sysconfdir}/ansible/
%changelog
* Mon Mar 5 2012 Seth Vidal <skvidal at fedoraproject.org>
- spec file
setup.py
View file @
a57f7ae0
...
...
@@ -8,7 +8,7 @@ setup(name='ansible',
author
=
'Michael DeHaan'
,
author_email
=
'michael.dehaan@gmail.com'
,
url
=
'http://github.com/mpdehaan/ansible/'
,
license
=
'
MIT
'
,
license
=
'
GPLv3
'
,
package_dir
=
{
'ansible'
:
'lib/ansible'
},
packages
=
[
'ansible'
,
...
...
@@ -25,10 +25,10 @@ setup(name='ansible',
'library/template'
,
'library/git'
,
]),
(
'man/man1'
,
[
(
'
/usr/share/
man/man1'
,
[
'docs/man/man1/ansible.1'
]),
(
'man/man5'
,
[
(
'
/usr/share/
man/man5'
,
[
'docs/man/man5/ansible-modules.5'
,
'docs/man/man5/ansible-playbook.5'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment