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

Revision 7781, 3.9 KB checked in by kudoh, 11 years ago (diff)

--force-log

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.5
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
16Patch1:         python-enchant-1.6.5-fix-docstring-test.patch
17# python-distribute got merged into python-setuptools
18Patch2:         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 Aug 31 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.5-1
66- initial build for VineSeed
67
68* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
69- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
70
71* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
72- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
73
74* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-3
75- Rebuild for Python 2.6
76
77* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-2
78- Autorebuild for GCC 4.3
79
80* Tue Dec 11 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.1-1
81- Update to 1.3.1
82- Change license tag to LGPLv2+
83
84* Sat Jan 13 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.0-1
85- Update to 1.3.0
86- Add ChangeLog and TODO.txt as documentation
87
88* Sat Dec 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.2.0-2
89- Rebuild for Python 2.5
90
91* Tue Nov  7 2006 José Matos <jamatos[AT]fc.up.pt> - 1.2.0-1
92- New upstream release
93
94* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.1.5-5
95 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
96
97* Wed Sep 20 2006 José Matos <jamatos[AT]fc.up.pt> - 1.1.5-4
98- Rebuild for FC-6.
99- Unghost .pyo files.
100
101* Tue Feb 14 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-3
102- Rebuild for Fedora Extras 5
103
104* Tue Feb 07 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-2
105- Rebuild
106
107* Sat Feb 04 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-1
108- Update to 1.1.5
109
110* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-3
111- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64)
112
113* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-2
114- Remove %%{enchant_dir} macro
115- Add %%dir for architecture-specific directory
116- Add "Provides:" for PyEnchant
117- Remove "Requires:" on enchant (Brian Pepple)
118
119* Mon Jan 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-1
120- Initial packaging
Note: See TracBrowser for help on using the repository browser.