[python-pyface] Initial import

Orion Poplawski orion at fedoraproject.org
Wed May 1 02:10:30 UTC 2013


commit 9dddf2e42eaeb884573d8acda4559cafd711b6e8
Author: Orion Poplawski <orion at nwra.com>
Date:   Tue Apr 30 20:10:27 2013 -0600

    Initial import

 .gitignore         |    1 +
 python-pyface.spec |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8b1021c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyface-4.3.0.tar.gz
diff --git a/python-pyface.spec b/python-pyface.spec
new file mode 100644
index 0000000..29850b8
--- /dev/null
+++ b/python-pyface.spec
@@ -0,0 +1,70 @@
+Name:           python-pyface
+Version:        4.3.0
+Release:        2%{?dist}
+Summary:        Generic User Interface objects
+
+# Images have different licenses. For image license breakdown check
+# image_LICENSE.txt file.
+License:        BSD and EPL and LGPLv2 and Public Domain
+URL:            http://code.enthought.com/projects/traits_ui/
+Source0:        http://www.enthought.com/repo/ets/pyface-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-Traits
+
+Requires:       python-Traits
+
+%description
+Pyface enables programmers to interact with generic UI objects, such as
+an "MDI Application Window", rather than with raw UI widgets. (Pyface is
+named by analogy to JFace in Java.) Traits uses Pyface to implement
+views and editors for displaying and editing Traits-based objects.
+
+
+%package doc
+Summary:        Documentation for pyface
+
+%description doc
+Documentation and examples for pyface.
+
+
+%prep
+%setup -q -n pyface-%{version}
+# file not utf-8
+for f in image_LICENSE_{Eclipse,OOo}.txt
+do
+  iconv -f iso8859-1 -t utf-8 ${f} > ${f}.conv && mv -f ${f}.conv ${f}
+done
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+%check
+%{__python} setup.py test
+
+ 
+%files
+%doc *.txt README.rst 
+%{python_sitelib}/pyface/
+%{python_sitelib}/pyface-%{version}-*.egg-info/
+
+%files doc
+%doc *.txt docs examples
+
+
+%changelog
+* Thu Apr 25 2013 Orion Poplawski <orion at cora.nwra.com> - 4.3.0-2
+- Fix non-UTF-8 files
+- Add doc sub-package
+- Be more explicit with files
+
+* Tue Apr 23 2013 Orion Poplawski <orion at cora.nwra.com> - 4.3.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..8b183d4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0ebc97074dc8d7170c03048108055759  pyface-4.3.0.tar.gz


More information about the scm-commits mailing list