2006-02-01 14:50:42 +00:00
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
Name: python-enchant
|
2007-12-11 13:16:23 +00:00
|
|
|
Version: 1.3.1
|
2010-02-01 16:39:31 +00:00
|
|
|
Release: 6%{?dist}
|
2006-02-01 14:50:42 +00:00
|
|
|
Summary: Python bindings for Enchant spellchecking library
|
|
|
|
|
|
|
|
Group: Development/Languages
|
2007-12-11 13:16:23 +00:00
|
|
|
License: LGPLv2+
|
2006-02-01 14:50:42 +00:00
|
|
|
URL: http://pyenchant.sourceforge.net/
|
|
|
|
Source0: http://dl.sourceforge.net/sourceforge/pyenchant/pyenchant-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: python-devel enchant-devel
|
2006-02-07 08:29:15 +00:00
|
|
|
BuildRequires: python-setuptools >= 0:0.6a9
|
2010-02-01 16:39:31 +00:00
|
|
|
# Work around a problem with libenchant versioning
|
|
|
|
# (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10)
|
|
|
|
Requires: enchant >= 1.5.0
|
2006-02-01 15:20:34 +00:00
|
|
|
|
|
|
|
Provides: PyEnchant
|
2006-02-01 14:50:42 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
PyEnchant is a spellchecking library for Python, based on the Enchant
|
|
|
|
library by Dom Lachowicz.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pyenchant-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-02-07 08:29:15 +00:00
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{python_sitearch}/*.egg-info
|
2006-02-01 14:50:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2007-01-13 13:53:30 +00:00
|
|
|
%doc ChangeLog LICENSE.txt README.txt TODO.txt
|
2006-02-01 15:20:34 +00:00
|
|
|
%dir %{python_sitearch}/enchant
|
2006-02-01 16:07:44 +00:00
|
|
|
%dir %{python_sitearch}/enchant/checker
|
|
|
|
%dir %{python_sitearch}/enchant/tokenize
|
|
|
|
%{python_sitearch}/enchant/*.py
|
2006-09-20 00:10:35 +00:00
|
|
|
%{python_sitearch}/enchant/*.py[co]
|
2006-02-01 16:07:44 +00:00
|
|
|
%{python_sitearch}/enchant/*/*.py
|
2006-09-20 00:10:35 +00:00
|
|
|
%{python_sitearch}/enchant/*/*.py[co]
|
2006-02-01 15:20:34 +00:00
|
|
|
%{python_sitearch}/enchant/_enchant.so
|
|
|
|
|
2006-02-01 14:50:42 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-02-01 16:39:31 +00:00
|
|
|
* Mon Feb 1 2010 Stepan Kasal <skasal@redhat.com> - 1.3.1-6
|
|
|
|
- add a require to work around a problem with libenchant versioning
|
|
|
|
|
2009-07-26 20:21:01 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 21:21:07 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-29 15:27:25 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-3
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-02-19 22:29:26 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-12-11 13:16:23 +00:00
|
|
|
* Tue Dec 11 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.1-1
|
|
|
|
- Update to 1.3.1
|
|
|
|
- Change license tag to LGPLv2+
|
|
|
|
|
2007-01-13 13:53:30 +00:00
|
|
|
* Sat Jan 13 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.0-1
|
|
|
|
- Update to 1.3.0
|
|
|
|
- Add ChangeLog and TODO.txt as documentation
|
|
|
|
|
2006-12-09 15:58:33 +00:00
|
|
|
* Sat Dec 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.2.0-2
|
|
|
|
- Rebuild for Python 2.5
|
|
|
|
|
2006-11-07 11:41:49 +00:00
|
|
|
* Tue Nov 7 2006 José Matos <jamatos[AT]fc.up.pt> - 1.2.0-1
|
|
|
|
- New upstream release
|
|
|
|
|
2006-10-04 22:40:43 +00:00
|
|
|
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.1.5-5
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-20 00:10:35 +00:00
|
|
|
* Wed Sep 20 2006 José Matos <jamatos[AT]fc.up.pt> - 1.1.5-4
|
|
|
|
- Rebuild for FC-6.
|
|
|
|
- Unghost .pyo files.
|
|
|
|
|
2006-02-14 09:55:37 +00:00
|
|
|
* Tue Feb 14 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-3
|
|
|
|
- Rebuild for Fedora Extras 5
|
|
|
|
|
2006-02-07 08:45:37 +00:00
|
|
|
* Tue Feb 07 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-2
|
|
|
|
- Rebuild
|
|
|
|
|
2006-02-07 08:29:15 +00:00
|
|
|
* Sat Feb 04 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-1
|
|
|
|
- Update to 1.1.5
|
|
|
|
|
2006-02-01 16:07:44 +00:00
|
|
|
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-3
|
|
|
|
- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64)
|
|
|
|
|
2006-02-01 15:20:34 +00:00
|
|
|
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-2
|
|
|
|
- Remove %%{enchant_dir} macro
|
|
|
|
- Add %%dir for architecture-specific directory
|
|
|
|
- Add "Provides:" for PyEnchant
|
|
|
|
- Remove "Requires:" on enchant (Brian Pepple)
|
|
|
|
|
2006-02-01 14:50:42 +00:00
|
|
|
* Mon Jan 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-1
|
|
|
|
- Initial packaging
|