- Build egg info.
This commit is contained in:
parent
fcf6f21f4f
commit
1115cfe2aa
@ -4,19 +4,25 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.4
|
Version: 0.4
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: A system for processing plaintext documentation
|
Summary: A system for processing plaintext documentation
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
# See COPYING.txt for information
|
# See COPYING.txt for information
|
||||||
License: Public Domain and MIT and Python and GPLv2
|
License: Public Domain and MIT and Python and GPLv2
|
||||||
URL: http://docutils.sourceforge.net
|
URL: http://docutils.sourceforge.net
|
||||||
Source0: http://dl.sourceforge.net/docutils/%{srcname}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/docutils/%{srcname}-%{version}.tar.gz
|
||||||
Source1: http://svn.berlios.de/viewcvs/*checkout*/docutils/trunk/docutils/tools/editors/emacs/rst.el?rev=5335
|
Source1: http://svn.berlios.de/viewcvs/*checkout*/docutils/trunk/docutils/tools/editors/emacs/rst.el?rev=5335
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
%if 0%{?fedora} >= 8
|
||||||
|
BuildRequires: python-setuptools-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires(missingok): python-imaging
|
Requires(missingok): python-imaging
|
||||||
Provides: docutils = %{version}-%{release}
|
Provides: docutils = %{version}-%{release}
|
||||||
Obsoletes: docutils < %{version}-%{release}
|
Obsoletes: docutils < %{version}-%{release}
|
||||||
@ -39,13 +45,13 @@ Python inline documentation modules and packages.
|
|||||||
sed -i -e '/#! *\/usr\/bin\/.*python.*/{1D}' docutils/readers/python/pynodes.py
|
sed -i -e '/#! *\/usr\/bin\/.*python.*/{1D}' docutils/readers/python/pynodes.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%{__python} setup.py install --skip-build --root %{buildroot}
|
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
|
||||||
|
|
||||||
for file in %{buildroot}/%{_bindir}/*.py; do
|
for file in %{buildroot}/%{_bindir}/*.py; do
|
||||||
mv $file `dirname $file`/`basename $file .py`
|
mv $file `dirname $file`/`basename $file .py`
|
||||||
@ -76,8 +82,12 @@ rm -rf %{buildroot}
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{python_sitelib}/docutils/
|
%{python_sitelib}/docutils/
|
||||||
%{python_sitelib}/roman.*
|
%{python_sitelib}/roman.*
|
||||||
|
%{python_sitelib}/*egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 27 2007 Toshio Kuratomi <a.badger@gmail.com> 0.4-7
|
||||||
|
- Build egg info.
|
||||||
|
|
||||||
* Mon Aug 13 2007 Toshio Kuratomi <a.badger@gmail.com> 0.4-6
|
* Mon Aug 13 2007 Toshio Kuratomi <a.badger@gmail.com> 0.4-6
|
||||||
- Last version had both the old and new rst.el. Try again with only
|
- Last version had both the old and new rst.el. Try again with only
|
||||||
the new one.
|
the new one.
|
||||||
|
Loading…
Reference in New Issue
Block a user