2011-11-09 00:20:17 +00:00
|
|
|
# Copyright 2011, Red Hat
|
|
|
|
|
2011-12-07 01:25:14 +00:00
|
|
|
%global oname configshell-fb
|
2011-11-09 00:20:17 +00:00
|
|
|
|
|
|
|
Name: python-configshell
|
|
|
|
License: AGPLv3
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Summary: A framework to implement simple but nice CLIs
|
2011-11-22 02:09:35 +00:00
|
|
|
Epoch: 1
|
2011-12-13 22:50:07 +00:00
|
|
|
Version: 1.1.fb2
|
2011-12-07 01:25:14 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
URL: https://github.com/agrover/configshell-fb
|
|
|
|
Source: https://github.com/agrover/%{oname}/tarball/v%{version}
|
2011-11-09 00:20:17 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python-devel epydoc python-simpleparse python-urwid
|
|
|
|
Requires: python-simpleparse python-urwid
|
|
|
|
|
|
|
|
%description
|
|
|
|
A framework to implement simple but nice configuration-oriented
|
|
|
|
command-line interfaces.
|
|
|
|
|
|
|
|
%prep
|
2011-12-13 22:50:07 +00:00
|
|
|
%setup -q -n agrover-%{oname}-349791b
|
2011-11-09 00:20:17 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%{__python} setup.py install --skip-build --root %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{python_sitelib}
|
|
|
|
%doc COPYING README
|
|
|
|
|
|
|
|
%changelog
|
2011-12-13 22:50:07 +00:00
|
|
|
* Tue Dec 13 2011 Andy Grover <agrover@redhat.com> - 1:1.1.fb2-1
|
|
|
|
- New upstream release
|
|
|
|
|
2011-12-07 01:25:14 +00:00
|
|
|
* Tue Dec 6 2011 Andy Grover <agrover@redhat.com> - 1:1.1.fb1-1
|
|
|
|
- New upstream source and release
|
|
|
|
- Remove patches:
|
|
|
|
* python-configshell-remove-epydoc-dep.patch
|
|
|
|
* python-configshell-git-version.patch
|
|
|
|
|
2011-11-22 06:02:51 +00:00
|
|
|
* Mon Nov 21 2011 Andy Grover <agrover@redhat.com> - 1:1.1-2
|
|
|
|
- Properly update changelog
|
|
|
|
- Sync version with upstream, Epoch used
|
|
|
|
- Change Source URL to intermediate github repo
|
|
|
|
|
2011-11-09 00:20:17 +00:00
|
|
|
* Fri Sep 23 2011 Andy Grover <agrover@redhat.com> - 1.99.1.git987b63b-5
|
|
|
|
* Rebuild
|
|
|
|
|
|
|
|
* Thu Aug 25 2011 Andy Grover <agrover@redhat.com> - 1.99.1.git987b63b-4
|
|
|
|
- Add patch
|
|
|
|
- python-configshell-remove-epydoc-dep.patch
|
|
|
|
|
|
|
|
* Wed Aug 17 2011 Andy Grover <agrover@redhat.com> - 1.99.1.git987b63b-3
|
|
|
|
- Address comments from spec review
|
|
|
|
- drop examples/myshell from doc, it hasn't been updated for API change
|
|
|
|
- Fully document procedure to generate source .tar.gz
|
|
|
|
- Remove "." from summary
|
|
|
|
- Remove commented-out spec todos and other cruft
|
|
|
|
|
|
|
|
* Mon Aug 1 2011 Andy Grover <agrover@redhat.com> - 1.99.1.git987b63b-2
|
|
|
|
- Update to latest git version
|
|
|
|
- Add urwid builddep
|
|
|
|
|
|
|
|
* Tue May 10 2011 Andy Grover <agrover@redhat.com> - 1.99.1.git987b63b-1
|
|
|
|
- Initial packaging
|