5576473
Name:           python-envisage
Orion Poplawski 0fd5ff8
Version:        4.4.0
Orion Poplawski 0fd5ff8
Release:        1%{?dist}
5576473
Summary:        Extensible application framework
5576473
5576473
# Images have different licenses. For image license breakdown check
5576473
# image_LICENSE.txt file.
5576473
# All remaining source or image files are in BSD 3-clause license
5576473
License:        BSD and LGPLv2 and CC-BY-SA
5576473
URL:            http://code.enthought.com/projects/envisage/
Orion Poplawski 0fd5ff8
Source0:        https://github.com/enthought/envisage/archive/%{version}.tar.gz#/envisage-%{version}.tar.gz
5576473
5576473
BuildArch:      noarch
5576473
BuildRequires:  python2-devel
5576473
BuildRequires:  python-setuptools
5576473
BuildRequires:  python-sphinx
5576473
BuildRequires:  python-AppTools
5576473
BuildRequires:  python-traitsui
5576473
5576473
Requires:       python-AppTools
5576473
Requires:       python-traitsui
5576473
5576473
%description
5576473
Envisage is a Python-based framework for building extensible applications,
5576473
that is, applications whose functionality can be extended by adding
5576473
"plug-ins".  Envisage provides a standard mechanism for features to be added
5576473
to an application, whether by the original developer or by someone else.  In
5576473
fact, when you build an application using Envisage, the entire application
5576473
consists primarily of plug-ins.  In this respect, it is similar to the Eclipse
5576473
and Netbeans frameworks for Java applications.
5576473
5576473
Each plug-in is able to:
5576473
5576473
* Advertise where and how it can be extended (its "extension points").
5576473
* Contribute extensions to the extension points offered by other plug-ins.
5576473
* Create and share the objects that perform the real work of the application
5576473
  ("services").
5576473
5576473
The Envisage project provides the basic machinery of the plug-in framework as
5576473
well as GUI building tools (envisage.ui).  The workbench is the older way to
5576473
build GUIs from Envisage.  It is now recommended to use the Task framework. 
5576473
5576473
5576473
%package doc
5576473
Summary:        Documentation for %{name}
5576473
License:        BSD and CC-BY-SA
5576473
5576473
%description doc
5576473
Documentation and examples for %{name}
5576473
5576473
5576473
%prep
5576473
%setup -q -n envisage-%{version}
5576473
rm -rf envisage.egg-info
5576473
find -name \*.egg -delete
5576473
# Fix line endings
5576473
sed -i -e 's/\r//' docs/source/envisage_core_documentation/*.rst
5576473
# Cleanup
5576473
find -name .gitignore -delete
5576473
5576473
5576473
%build
5576473
%{__python} setup.py build
5576473
cd docs
5576473
make html
5576473
# Remove empty file
5576473
rm build/html/.buildinfo
5576473
5576473
5576473
%install
5576473
%{__python} setup.py install --skip-build --root %{buildroot}
5576473
5576473
5576473
%check
5576473
%{__python} setup.py test
5576473
5576473
 
5576473
%files
5576473
%doc *.txt README.rst
5576473
%{python_sitelib}/envisage/
5576473
%{python_sitelib}/*egg-info/
5576473
5576473
%files doc
5576473
%doc docs/build/html examples
5576473
5576473
5576473
%changelog
Orion Poplawski 0fd5ff8
* Mon Oct 27 2014 Orion Poplawski <orion@cora.nwra.com> - 4.4.0-1
Orion Poplawski 0fd5ff8
- Update to 4.4.0
Orion Poplawski 0fd5ff8
b077031
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.0-5
b077031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b077031
63df0bc
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.0-4
63df0bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
63df0bc
5576473
* Tue May 14 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-3
5576473
- Remove shipped egg-info and eggs
5576473
5576473
* Tue May 7 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-2
5576473
- Fix line-endings, cleanup some files
5576473
- Fix license tag
5576473
5576473
* Wed May 1 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-1
5576473
- Initial package