/[smecontribs]/rpms/python-enchant/contribs8/python-enchant.spec
ViewVC logotype

Contents of /rpms/python-enchant/contribs8/python-enchant.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Feb 25 16:21:22 2010 UTC (14 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -0 lines
Error occurred while calculating annotation data.
Cleanup

1 # $Id$
2 # Authority: slords
3 # Name: Shad L. Lords
4
5 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
6
7 Name: python-enchant
8 Version: 1.3.1
9 Release: 6%{?dist}
10 Summary: Python bindings for Enchant spellchecking library
11
12 Group: Development/Languages
13 License: LGPLv2+
14 URL: http://pyenchant.sourceforge.net/
15 Source0: http://dl.sourceforge.net/sourceforge/pyenchant/pyenchant-%{version}.tar.gz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18 BuildRequires: python-devel enchant-devel
19 BuildRequires: python-setuptools >= 0:0.6a9
20 # Work around a problem with libenchant versioning
21 # (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10)
22 Requires: enchant >= 1.5.0
23
24 Provides: PyEnchant
25
26 %description
27 PyEnchant is a spellchecking library for Python, based on the Enchant
28 library by Dom Lachowicz.
29
30
31 %prep
32 %setup -q -n pyenchant-%{version}
33
34
35 %build
36 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
37
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
42 rm -rf $RPM_BUILD_ROOT/%{python_sitearch}/*.egg-info
43
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48
49 %files
50 %defattr(-,root,root,-)
51 %doc ChangeLog LICENSE.txt README.txt TODO.txt
52 %dir %{python_sitearch}/enchant
53 %dir %{python_sitearch}/enchant/checker
54 %dir %{python_sitearch}/enchant/tokenize
55 %{python_sitearch}/enchant/*.py
56 %{python_sitearch}/enchant/*.py[co]
57 %{python_sitearch}/enchant/*/*.py
58 %{python_sitearch}/enchant/*/*.py[co]
59 %{python_sitearch}/enchant/_enchant.so
60
61
62 %changelog
63 * Mon Feb 1 2010 Stepan Kasal <skasal@redhat.com> - 1.3.1-6
64 - add a require to work around a problem with libenchant versioning
65
66 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
67 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
68
69 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
71
72 * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-3
73 - Rebuild for Python 2.6
74
75 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-2
76 - Autorebuild for GCC 4.3
77
78 * Tue Dec 11 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.1-1
79 - Update to 1.3.1
80 - Change license tag to LGPLv2+
81
82 * Sat Jan 13 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.0-1
83 - Update to 1.3.0
84 - Add ChangeLog and TODO.txt as documentation
85
86 * Sat Dec 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.2.0-2
87 - Rebuild for Python 2.5
88
89 * Tue Nov 7 2006 José Matos <jamatos[AT]fc.up.pt> - 1.2.0-1
90 - New upstream release
91
92 * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.1.5-5
93 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
94
95 * Wed Sep 20 2006 José Matos <jamatos[AT]fc.up.pt> - 1.1.5-4
96 - Rebuild for FC-6.
97 - Unghost .pyo files.
98
99 * Tue Feb 14 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-3
100 - Rebuild for Fedora Extras 5
101
102 * Tue Feb 07 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-2
103 - Rebuild
104
105 * Sat Feb 04 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-1
106 - Update to 1.1.5
107
108 * Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-3
109 - Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64)
110
111 * Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-2
112 - Remove %%{enchant_dir} macro
113 - Add %%dir for architecture-specific directory
114 - Add "Provides:" for PyEnchant
115 - Remove "Requires:" on enchant (Brian Pepple)
116
117 * Mon Jan 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-1
118 - Initial packaging

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed