[python-EnvisageCore: 3/4] New upstream release
supercyper
supercyper at fedoraproject.org
Sun Aug 15 02:35:06 UTC 2010
commit 777f2986474b2631dc489da44e3d0841bd9939f2
Author: Chen Lei <supercyper at 163.com>
Date: Sat Aug 14 15:05:31 2010 +0800
New upstream release
.gitignore | 2 +-
python-EnvisageCore.spec | 57 +++++++++++++++++++++++----------------------
sources | 2 +-
3 files changed, 31 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2e5ada8..f571db6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-EnvisageCore-3.1.1.tar.gz
+EnvisageCore-3.1.2.tar.gz
diff --git a/python-EnvisageCore.spec b/python-EnvisageCore.spec
index 73b8e27..40a4fe0 100644
--- a/python-EnvisageCore.spec
+++ b/python-EnvisageCore.spec
@@ -1,53 +1,54 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
Name: python-EnvisageCore
-Version: 3.1.1
-Release: 2%{?dist}
+Version: 3.1.2
+Release: 1%{?dist}
Summary: Extensible Application Framework
-
Group: Development/Libraries
License: BSD
-URL: http://pypi.python.org/pypi/EnvisageCore
-#md5=88ce02329f0437505ca1ef429b75e66f
-Source0: http://pypi.python.org/packages/source/E/EnvisageCore/EnvisageCore-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+URL: http://code.enthought.com/projects/envisage/
+Source0: http://www.enthought.com/repo/ETS/EnvisageCore-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python-setuptools, python-devel, python-setupdocs, python-sphinx
-Requires: python-configobj, python-AppTools
+BuildRequires: python-setuptools, python2-devel, python-setupdocs
+Requires: python-AppTools
+# EnthoughtBase and Traits come with AppTools
%description
-Envisage is a Python-based framework for building extensible
-applications, that is, applications whose functionality can be
-extended by adding "plug-ins". Envisage provides a standard mechanism
-for features to be added to an application, whether by the original
-developer or by someone else.
+Envisage is a Python-based framework for building extensible applications,
+that is, applications whose functionality can be extended by adding "plug-ins".
+Envisage provides a standard mechanism for features to be added to an
+application, whether by the original developer or by someone else. In fact,
+when you build an application using Envisage, the entire application consists
+primarily of plug-ins. In this respect, it is similar to the Eclipse and
+Netbeans frameworks for Java applications.
%prep
%setup -q -n EnvisageCore-%{version}
+rm -rf *.egg-info
+
%build
%{__python} setup.py build
-
%install
-rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-sed -i 's/\.dev$//g' $RPM_BUILD_ROOT/%{python_sitelib}/EnvisageCore-%{version}-*.egg-info/requires.txt
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+# fix wrong-file-end-of-line-encoding
+for file in `find build/docs -name "*.txt"`; do
+ sed "s|\r||g" $file > $file.new && \
+ touch -r $file $file.new && \
+ mv $file.new $file
+done
%files
%defattr(-,root,root,-)
-#%dir %{_datadir}/doc/python-EnvisageCore-%{version}/examples
-%doc *.txt examples
-%{python_sitelib}/*
-
+%doc *.txt examples build/docs/html
+%{python_sitelib}/*.egg-info
+%{python_sitelib}/*.pth
+%{python_sitelib}/enthought/envisage
%changelog
+* Fri Aug 13 2010 Chen Lei <supercyper at 163.com> 3.1.2-1
+- Update spec to match latest guidelines w.r.t %%clean
+
* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 3.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
diff --git a/sources b/sources
index 0bc2a82..b3938bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f804c189a503cb3b2f74f5e368ddd622 EnvisageCore-3.1.1.tar.gz
+397590f487bd34089fd0f9beee9762b6 EnvisageCore-3.1.2.tar.gz
More information about the scm-commits
mailing list