[python-AppTools] - Update to 4.2.0 - Split off documentation into a separate package
Orion Poplawski
orion at fedoraproject.org
Wed May 1 17:35:15 UTC 2013
commit 0544bfd414a79b96f98f9ed3334aeee7cf065f64
Author: Orion Poplawski <orion at nwra.com>
Date: Wed May 1 11:35:10 2013 -0600
- Update to 4.2.0
- Split off documentation into a separate package
.gitignore | 1 +
python-AppTools.spec | 39 +++++++++++++++++++++++++++------------
sources | 2 +-
3 files changed, 29 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 35a7c02..3e261ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
AppTools-3.3.2.tar.gz
/AppTools-3.4.0.tar.gz
+/apptools-4.2.0.tar.gz
diff --git a/python-AppTools.spec b/python-AppTools.spec
index 3e2c80a..fff7e33 100644
--- a/python-AppTools.spec
+++ b/python-AppTools.spec
@@ -1,16 +1,18 @@
Name: python-AppTools
-Version: 3.4.0
-Release: 5%{?dist}
+Version: 4.2.0
+Release: 1%{?dist}
Summary: Enthough Tool Suite Application Tools
Group: Development/Libraries
License: BSD and LGPLv2+
-URL: http://code.enthought.com/projects/app_tools.php
-Source0: http://www.enthought.com/repo/ETS/AppTools-%{version}.tar.gz
+URL: http://code.enthought.com/projects/app_tools/
+Source0: http://www.enthought.com/repo/ETS/apptools-%{version}.tar.gz
Source1: README.fedora.%{name}
BuildArch: noarch
BuildRequires: python-setuptools, python2-devel, python-setupdocs
-Requires: python-TraitsGUI, python-configobj
-# EnthoughtBase, Traits[ui] and numpy come with TraitsGUI
+Requires: numpy
+Requires: python-configobj
+Requires: python-pyface
+Provides: python-apptools = %{version}-%{release}
%description
The AppTools project includes a set of packages that Enthought has
@@ -34,8 +36,14 @@ functionality that is commonly needed by many applications
and many more.
+%package doc
+Summary: Documentation for %{name}
+
+%description doc
+Documentation and examples for %{name}.
+
%prep
-%setup -q -n AppTools-%{version}
+%setup -q -n apptools-%{version}
cp -p %{SOURCE1} README.fedora
rm -rf *.egg-info
@@ -45,21 +53,28 @@ find examples -type f -exec chmod 0644 {} ";"
%build
python setup.py build
+cd docs
+make html
%install
-python setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+python setup.py install --skip-build --root $RPM_BUILD_ROOT
# remove tests for now
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/integrationtests
%files
-%defattr(-,root,root,-)
-%doc *.txt examples build/docs/html README.fedora
+%doc *.txt
%{python_sitelib}/*.egg-info
-%{python_sitelib}/*.pth
-%{python_sitelib}/enthought/*
+%{python_sitelib}/apptools/
+
+%files doc
+%doc docs/build/html examples README.fedora
%changelog
+* Tue Apr 30 2013 Orion Poplawski <orion at cora.nwra.com> - 4.2.0-1
+- Update to 4.2.0
+- Split off documentation into a separate package
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 2243092..111ac7e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4fb5237de04ff38c93fa7008d2fc253a AppTools-3.4.0.tar.gz
+7b10c256c248cc0b89f7e1dad47f6972 apptools-4.2.0.tar.gz
More information about the scm-commits
mailing list