Add docs and examples
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
This commit is contained in:
parent
77aaf9a248
commit
2706bcb94d
@ -9,7 +9,7 @@
|
||||
|
||||
Name: python-urwid
|
||||
Version: 1.1.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Console user interface library
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -86,10 +86,6 @@ popd
|
||||
%endif # with_python3
|
||||
|
||||
%{__python} setup.py install --skip-build --no-compile --root %{buildroot}
|
||||
rm -f tmpl_tutorial.html
|
||||
mkdir examples
|
||||
cp -p *.py examples/
|
||||
rm -f examples/test_urwid.py examples/docgen_*.py
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
@ -105,19 +101,22 @@ rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG *.html examples
|
||||
%doc CHANGELOG *.html examples docs
|
||||
%{python_sitearch}/urwid
|
||||
%{python_sitearch}/urwid-%{version}*.egg-info
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python3-urwid
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG *.html examples
|
||||
%doc CHANGELOG *.html examples docs
|
||||
%{python3_sitearch}/urwid
|
||||
%{python3_sitearch}/urwid-%{version}*.egg-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Oct 23 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 1.1.0-2
|
||||
- Add new docs and examples dir
|
||||
|
||||
* Tue Oct 23 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 1.1.0-1
|
||||
- Update to upstream 1.1.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user