[python-traitsui] Initial import

Orion Poplawski orion at fedoraproject.org
Wed May 1 21:30:42 UTC 2013


commit 72bb05e93a2ca68c01deebe060d7fa84d30d32a7
Author: Orion Poplawski <orion at nwra.com>
Date:   Wed May 1 15:30:39 2013 -0600

    Initial import

 .gitignore           |    1 +
 python-traitsui.spec |   89 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 91 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0318d45 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/traitsui-4.3.0.tar.gz
diff --git a/python-traitsui.spec b/python-traitsui.spec
new file mode 100644
index 0000000..31bb7c9
--- /dev/null
+++ b/python-traitsui.spec
@@ -0,0 +1,89 @@
+Name:           python-traitsui
+Version:        4.3.0
+Release:        2%{?dist}
+Summary:        User interface tools designed to complement Traits
+
+# Images have different licenses. For image license breakdown check
+# image_LICENSE.txt file. Except traitsui/editors_gen.py
+# which is GPLv2+ all remaining source or image files are in BSD
+# 3-clause license
+License:        BSD and EPL and LGPLv2 and GPLv2+
+URL:            http://code.enthought.com/projects/traits_ui/
+Source0:        http://www.enthought.com/repo/ets/traitsui-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-sphinx
+BuildRequires:  python-pyface
+
+Requires:       numpy
+Requires:       python-pyface
+
+%description
+The TraitsUI package is a set of user interface tools designed to complement
+Traits. In the simplest case, it can automatically generate a user interface
+for editing a Traits-based object, with no additional coding on the part of
+the programmer-user. In more sophisticated uses, it can implement a Model-
+View-Controller (MVC) design pattern for Traits-based objects. 
+
+
+%package doc
+Summary:        Documentation for %{name}
+
+%description doc
+Documentation and examples for %{name}
+
+
+%prep
+%setup -q -n traitsui-%{version}
+
+
+%build
+%{__python} setup.py build
+cd docs
+make html
+
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+%check
+%{__python} setup.py test
+
+ 
+%files
+%doc *.txt README.rst
+%{python_sitelib}/*.egg-info/
+%{python_sitelib}/traitsui/
+
+%files doc
+%doc docs/*.ppt docs/build/html examples
+
+%changelog
+* Wed May 1 2013 Orion Poplawski <orion at cora.nwra.com> - 4.3.0-2
+- Split documentation in to doc sub-package
+- Add requires numpy
+- More explicit file listing
+- Drop sitelib macro
+
+* Tue Apr 23 2013 Orion Poplawski <orion at cora.nwra.com> - 4.3.0-1
+- Update to 4.3.0
+
+* Tue Dec 18 2012 Orion Poplawski <orion at cora.nwra.com> - 4.2.0-5
+- Change BR to python2-devel
+
+* Wed Dec 5 2012 Orion Poplawski <orion at cora.nwra.com> - 4.2.0-4
+- Add upstream patch to move to UTF-8 and remove hidden directories
+
+* Sat Oct 6 2012 Orion Poplawski <orion at cora.nwra.com> - 4.2.0-3
+- Add BR python-setuptools
+
+* Sat Oct 6 2012 Orion Poplawski <orion at cora.nwra.com> - 4.2.0-2
+- Drop CFLAGS comment
+- Drop buildroot cleanup
+- Add docs and examples to %%doc
+
+* Wed Jun 6 2012 Orion Poplawski <orion at cora.nwra.com> - 4.2.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..1054134 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+23b63f254d268666c816f1954c34b41a  traitsui-4.3.0.tar.gz


More information about the scm-commits mailing list