- Actually include *.js locale files
- Generate manpages
This commit is contained in:
parent
77fdd8d536
commit
0f518b7f08
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-sphinx
|
Name: python-sphinx
|
||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Python documentation generator
|
Summary: Python documentation generator
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -85,9 +85,9 @@ sed '1d' -i sphinx/pycode/pgen2/token.py
|
|||||||
%{__python} setup.py build
|
%{__python} setup.py build
|
||||||
pushd doc
|
pushd doc
|
||||||
make html
|
make html
|
||||||
|
make man
|
||||||
rm -rf _build/html/.buildinfo
|
rm -rf _build/html/.buildinfo
|
||||||
mv _build/html ..
|
mv _build/html ..
|
||||||
rm -rf _*
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
@ -97,14 +97,14 @@ rm -rf %{buildroot}
|
|||||||
%{__python} setup.py install --skip-build --root %{buildroot}
|
%{__python} setup.py install --skip-build --root %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
# Manpages not in beta release yet
|
pushd doc
|
||||||
#pushd doc
|
|
||||||
# Deliver man pages
|
# Deliver man pages
|
||||||
#install -d %{buildroot}%{_mandir}/man1
|
install -d %{buildroot}%{_mandir}/man1
|
||||||
#mv sphinx-*.1 %{buildroot}%{_mandir}/man1/
|
mv _build/man/sphinx-*.1 %{buildroot}%{_mandir}/man1/
|
||||||
#popd
|
popd
|
||||||
|
|
||||||
# Deliver rst files
|
# Deliver rst files
|
||||||
|
rm -rf doc/_*
|
||||||
mv doc reST
|
mv doc reST
|
||||||
|
|
||||||
# Move language files to /usr/share in association with %patch1
|
# Move language files to /usr/share in association with %patch1
|
||||||
@ -139,9 +139,10 @@ make test
|
|||||||
%doc AUTHORS CHANGES EXAMPLES LICENSE README TODO
|
%doc AUTHORS CHANGES EXAMPLES LICENSE README TODO
|
||||||
%{_bindir}/sphinx-*
|
%{_bindir}/sphinx-*
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%{_datadir}/sphinx/
|
%dir %{_datadir}/sphinx/
|
||||||
%exclude %{_datadir}/sphinx/locale/*/sphinx.js
|
%dir %{_datadir}/sphinx/locale
|
||||||
#%{_mandir}/man1/*
|
%dir %{_datadir}/sphinx/locale/*
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -149,6 +150,10 @@ make test
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-2
|
||||||
|
- Actually include *.js locale files
|
||||||
|
- Generate manpages
|
||||||
|
|
||||||
* Fri Sep 17 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-1
|
* Fri Sep 17 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-1
|
||||||
- Update to 1.0.4
|
- Update to 1.0.4
|
||||||
- Remove BuildRoot and %%clean declarations
|
- Remove BuildRoot and %%clean declarations
|
||||||
|
Loading…
Reference in New Issue
Block a user