[python-EnvisagePlugins] New Upstream release
supercyper
supercyper at fedoraproject.org
Sat Aug 14 07:45:26 UTC 2010
commit 09fefafe6d02aecc1406cfe67ed9cd2b21df109c
Author: Chen Lei <supercyper at 163.com>
Date: Sat Aug 14 15:44:56 2010 +0800
New Upstream release
.gitignore | 2 +-
python-EnvisagePlugins.spec | 68 ++++++++++++++++++++++++++-----------------
sources | 2 +-
3 files changed, 43 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 996eba6..f85a3bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-EnvisagePlugins-3.1.1.tar.gz
+EnvisagePlugins-3.1.2.tar.gz
diff --git a/python-EnvisagePlugins.spec b/python-EnvisagePlugins.spec
index fe64f0f..6439e7c 100644
--- a/python-EnvisagePlugins.spec
+++ b/python-EnvisagePlugins.spec
@@ -1,53 +1,67 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
Name: python-EnvisagePlugins
-Version: 3.1.1
-Release: 2%{?dist}
+Version: 3.1.2
+Release: 1%{?dist}
Summary: Plug-ins for the Envisage framework
-
Group: Development/Libraries
-License: BSD or CC-BY-SA or Python or LGPLv2+
-URL: http://pypi.python.org/pypi/EnvisagePlugins
-Source0: http://pypi.python.org/packages/source/E/EnvisagePlugins/EnvisagePlugins-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+License: BSD and CC-BY-SA and Python and LGPLv2+
+URL: http://code.enthought.com/projects/envisage_plugins.php
+Source0: http://www.enthought.com/repo/ETS/EnvisagePlugins-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python-setuptools, python-devel, python-setupdocs
+BuildRequires: python-setuptools, python2-devel, python-setupdocs
Requires: python-EnvisageCore
%description
-The EnvisagePlugins project includes a number of plug-ins for the
-Envisage framework that Enthought has found useful for building
-scientific applications.
+The EnvisagePlugins project includes a number of plug-ins for the Envisage
+framework that Enthought has found useful for building scientific applications.
+Envisage does not require that you use these plug-ins, but you may find them
+useful to avoid having to reinvent these particular wheels.
+
+ * Workbench: Provides an application GUI window that supports views and
+ perspectives, similar to the Eclipse IDE.
+ * Action: Supports user-interaction command mechanisms, such as toolbars,
+ menus, and buttons.
+ * Single Project: Supports a project paradigm for saving application data,
+ assuming an interaction model in which only one project can be open in
+ the application at a time.
+ * Text Editor: Provides a rudimentary text editor interface.
+ * Python Shell: Provides an interactive Python shell within a
+ Workbench-based application.
+ * Debug: Provides the Frame Based Inspector from the ETSDevTools project as
+ an Envisage plug-in.
%prep
%setup -q -n EnvisagePlugins-%{version}
-rm -rf EnvisagePlugins.egg-info
+
+rm -rf *.egg-info
+
+# fix wrong-file-end-of-line-encoding
sed -i 's/\r//' image_LICENSE.txt
+for file in `find examples/single_project -name "*.py"`; do
+ sed "s|\r||g" $file > $file.new && \
+ touch -r $file $file.new && \
+ mv $file.new $file
+done
+
%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}/EnvisagePlugins-%{version}-*.egg-info/requires.txt
-%{__install} -p -m 644 enthought/envisage/ui/workbench/preferences.ini \
- $RPM_BUILD_ROOT/%{python_sitelib}/enthought/envisage/ui/workbench/
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
%doc *.txt examples
-%{python_sitelib}/*
-
+%{python_sitelib}/*.egg-info
+%{python_sitelib}/*.pth
+%{python_sitelib}/enthought/envisage/developer
+%{python_sitelib}/enthought/envisage/ui
+%{python_sitelib}/enthought/plugins
%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 ddb6e7f..a0cc677 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-26fc5e944d8becebed74a8232d770608 EnvisagePlugins-3.1.1.tar.gz
+9aebbe8d1d9018af247090c63e40543e EnvisagePlugins-3.1.2.tar.gz
More information about the scm-commits
mailing list