Blame ansible-inventory-grapher.spec

2a7f478
%global archive_name ansible-inventory-grapher
2a7f478
%global lib_name ansibleinventorygrapher
2a7f478
2a7f478
Name:           %{archive_name}
b9c34b9
Version:        2.4.4
0b64c2a
Release:        1%{?dist}
2a7f478
Summary:        Creates graphs representing ansible inventory
2a7f478
2a7f478
License:        GPLv3+
2a7f478
URL:            http://github.com/willthames/ansible-inventory-grapher
5f0394d
Source0:        https://github.com/willthames/ansible-inventory-grapher/archive/v%{version}.tar.gz
2a7f478
2a7f478
BuildArch:      noarch
2a7f478
BuildRequires:  python2-devel
2a7f478
BuildRequires:  python-setuptools
2a7f478
BuildRequires:  ansible
2a7f478
Requires:       ansible
2a7f478
2a7f478
%description
2a7f478
ansible-inventory-grapher creates a dot file suitable for use by graphviz.
2a7f478
2a7f478
2a7f478
%prep
939115d
%autosetup -n %{archive_name}-%{version}
2a7f478
rm -rf *.egg-info
2a7f478
sed -i -e '/^#!\//, 1d' lib/ansibleinventorygrapher/__init__.py
2a7f478
2a7f478
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|'
2a7f478
2a7f478
%build
939115d
%py2_build
2a7f478
2a7f478
%install
939115d
%py2_install
2a7f478
2a7f478
%check
2a7f478
%{__python2} setup.py test
2a7f478
2a7f478
%files
5f0394d
%doc README.md
5f0394d
%license LICENSE.txt
2a7f478
%{_bindir}/%{name}
2a7f478
%{python2_sitelib}/%{lib_name}
2a7f478
%{python2_sitelib}/ansible_inventory_grapher-%{version}-py2.*.egg-info
2a7f478
2a7f478
%changelog
b9c34b9
* Tue Nov 21 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.4.4-1
b9c34b9
- Update to 2.4.4 version (#1514766)
b9c34b9
28442d7
* Wed Nov 08 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.4.2-1
28442d7
- Update to 2.4.2 version (#1510677)
28442d7
0b64c2a
* Mon Nov 06 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.4.1-1
0b64c2a
- Update to 2.4.1 version (#1509732)
0b64c2a
9d908b6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
9d908b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9d908b6
9ea313f
* Fri Jun 30 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.4.0-1
9ea313f
- Update to 2.4.0 version
9ea313f
ca3b407
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
ca3b407
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ca3b407
0d0f733
* Thu Oct 13 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.3.2-1
0d0f733
- Update to 2.3.2
0d0f733
b2c2f7f
* Thu Jul 28 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.3.1-1
b2c2f7f
- Update to 2.3.1
b2c2f7f
c824091
* Mon Jul 25 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.3.0-1
c824091
- Update to 2.3.0
c824091
063140b
* Sun Jul 24 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.2.0-1
063140b
- Update to 2.2.0
063140b
5304045
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
5304045
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
5304045
5f0394d
* Tue May 10 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.1.0-2
5f0394d
- Use github source that provided license and test files
5f0394d
939115d
* Mon May 09 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.1.0-1
939115d
- Update to 2.1.0
939115d
e4e559e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
e4e559e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e4e559e
c04f45b
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
c04f45b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c04f45b
2a7f478
* Mon Oct 27 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.0.1-2
2a7f478
- Rename to ansible-inventory-grapher
2a7f478
2a7f478
* Sat Oct 25 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.0.1-1
2a7f478
- Update to 1.0.1
2a7f478
2a7f478
* Thu Sep 25 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.0.0-1
2a7f478
- Initial packaging
2a7f478