Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 23ea5ec266 | |||
| 12818e8d95 | |||
| 174ff385c9 |
+1
-1
@@ -1 +1 @@
|
|||||||
Sphinx-0.5.tar.gz
|
Sphinx-0.3.tar.gz
|
||||||
|
|||||||
+5
-20
@@ -4,7 +4,7 @@
|
|||||||
%define upstream_name Sphinx
|
%define upstream_name Sphinx
|
||||||
|
|
||||||
Name: python-sphinx
|
Name: python-sphinx
|
||||||
Version: 0.5
|
Version: 0.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python documentation generator
|
Summary: Python documentation generator
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ the Python docs:
|
|||||||
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for ${name}
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
License: BSD
|
License: BSD
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@@ -84,22 +84,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
sed -i 's|\r||g' LICENSE
|
sed -i 's|\r||g' LICENSE
|
||||||
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
# Language files; not under /usr/share, need to be handled manually
|
|
||||||
(cd $RPM_BUILD_ROOT && find . -name 'sphinx.mo') | sed -e 's|^.||' | sed -e \
|
|
||||||
's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
|
|
||||||
>> %{name}.lang
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS CHANGES LICENSE README TODO
|
%doc AUTHORS CHANGES LICENSE README TODO
|
||||||
%{_bindir}/sphinx-*
|
%{_bindir}/sphinx-*
|
||||||
%{python_sitelib}/sphinx
|
%{python_sitelib}/sphinx
|
||||||
|
%if 0%{?fedora} >= 8
|
||||||
%{python_sitelib}/*.egg-info
|
%{python_sitelib}/*.egg-info
|
||||||
|
%endif
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@@ -107,18 +104,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Nov 24 2008 Michel Salim <salimma@fedoraproject.org> - 0.5-1
|
|
||||||
- Update to 0.5
|
|
||||||
|
|
||||||
* Fri Oct 10 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.3-1
|
|
||||||
- Update to 0.4.3
|
|
||||||
|
|
||||||
* Wed Aug 27 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 0.4.2-1.1
|
|
||||||
- Fix for EL-5 build.
|
|
||||||
|
|
||||||
* Mon Aug 25 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.2-1
|
|
||||||
- Update to 0.4.2
|
|
||||||
|
|
||||||
* Mon May 26 2008 Michel Salim <salimma@fedoraproject.org> - 0.3-1
|
* Mon May 26 2008 Michel Salim <salimma@fedoraproject.org> - 0.3-1
|
||||||
- Update to 0.3
|
- Update to 0.3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user