source: projects/specs/trunk/p/python-enchant/python-enchant-vl.spec @ 9549

Revision 9549, 4.0 KB checked in by kudoh, 9 years ago (diff)

new upstream release

Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2
3Name:           python-enchant
4Version:        1.6.6
5Release:        1%{?_dist_release}
6Summary:        Python bindings for Enchant spellchecking library
7Summary(ja):    Enchant スペルチェックライブラリの Python バインディング
8
9Group:          Development/Languages
10License:        LGPLv2+
11URL:            http://pyenchant.sourceforge.net/
12Source0:        http://dl.sourceforge.net/sourceforge/pyenchant/pyenchant-%{version}.tar.gz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15Patch0:         python-enchant-1.6.5-fix-tests-without-X.patch
16#Patch1:         python-enchant-1.6.5-fix-docstring-test.patch
17# python-distribute got merged into python-setuptools
18#Patch2:         python-enchant-1.6.5-disable-distribute-setup.patch
19
20BuildArch:      noarch
21BuildRequires:  python-devel enchant-devel
22BuildRequires:  python-setuptools
23
24Provides:       PyEnchant
25
26%description
27PyEnchant is a spellchecking library for Python, based on the Enchant
28library by Dom Lachowicz.
29
30
31%prep
32%setup -q -n pyenchant-%{version}
33%patch0 -p1 -b .fix-tests-without-X
34#%patch1 -p1 -b .fix-docstring-test
35#%patch2 -p1 -b .disable-distribute-setup
36
37
38%build
39CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
40
41
42%install
43rm -rf $RPM_BUILD_ROOT
44%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
45rm -rf $RPM_BUILD_ROOT/%{python_sitearch}/*.egg-info
46 
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50
51%files
52%defattr(-,root,root,-)
53%doc LICENSE.txt README.txt TODO.txt
54%dir %{python_sitearch}/enchant
55%dir %{python_sitearch}/enchant/checker
56%dir %{python_sitearch}/enchant/tokenize
57#%{python_sitearch}/enchant/lib
58#%{python_sitearch}/enchant/share
59%{python_sitearch}/enchant/*.py
60%{python_sitearch}/enchant/*.py[co]
61%{python_sitearch}/enchant/*/*.py
62%{python_sitearch}/enchant/*/*.py[co]
63
64%changelog
65* Sat May 09 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.6-1
66- new upstream release
67- deleted Patch1,2
68- fixed %%files
69
70* Sat Aug 31 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.5-1
71- initial build for VineSeed
72
73* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
74- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
75
76* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
77- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
78
79* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-3
80- Rebuild for Python 2.6
81
82* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-2
83- Autorebuild for GCC 4.3
84
85* Tue Dec 11 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.1-1
86- Update to 1.3.1
87- Change license tag to LGPLv2+
88
89* Sat Jan 13 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.0-1
90- Update to 1.3.0
91- Add ChangeLog and TODO.txt as documentation
92
93* Sat Dec 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.2.0-2
94- Rebuild for Python 2.5
95
96* Tue Nov  7 2006 José Matos <jamatos[AT]fc.up.pt> - 1.2.0-1
97- New upstream release
98
99* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.1.5-5
100 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
101
102* Wed Sep 20 2006 José Matos <jamatos[AT]fc.up.pt> - 1.1.5-4
103- Rebuild for FC-6.
104- Unghost .pyo files.
105
106* Tue Feb 14 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-3
107- Rebuild for Fedora Extras 5
108
109* Tue Feb 07 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-2
110- Rebuild
111
112* Sat Feb 04 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-1
113- Update to 1.1.5
114
115* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-3
116- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64)
117
118* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-2
119- Remove %%{enchant_dir} macro
120- Add %%dir for architecture-specific directory
121- Add "Provides:" for PyEnchant
122- Remove "Requires:" on enchant (Brian Pepple)
123
124* Mon Jan 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-1
125- Initial packaging
Note: See TracBrowser for help on using the repository browser.