diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index dcc065b..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -Sphinx-0.4.3.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1bf367a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +Sphinx-0.5.1.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index b609317..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: python-sphinx -# $Id$ -NAME := python-sphinx -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/python-sphinx.spec b/python-sphinx.spec index bf58db7..82a0fd0 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -4,7 +4,7 @@ %define upstream_name Sphinx Name: python-sphinx -Version: 0.4.3 +Version: 0.5.1 Release: 1%{?dist} Summary: Python documentation generator @@ -84,12 +84,17 @@ rm -rf $RPM_BUILD_ROOT sed -i 's|\r||g' LICENSE %{__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 rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS CHANGES LICENSE README TODO %{_bindir}/sphinx-* @@ -102,6 +107,15 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jan 2 2009 Michel Salim - 0.5.1-1 +- Update to 0.5.1 + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.5-2 +- Rebuild for Python 2.6 + +* Mon Nov 24 2008 Michel Salim - 0.5-1 +- Update to 0.5 + * Fri Oct 10 2008 Michel Salim - 0.4.3-1 - Update to 0.4.3 diff --git a/sources b/sources index 4507bc8..f90f6b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b3c17f1b5be0b76c373a2474488f1662 Sphinx-0.4.3.tar.gz +11456e362d75c1a4c5a5847921d3f4c7 Sphinx-0.5.1.tar.gz