Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
python-enchant
python-enchant.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-enchant.spec of Package python-enchant
# # spec file for python-enchant # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ Name: python-enchant Version: 1.6.5 Release: 1 License: LGPL2.1 Summary: Spell checking library for python Url: http://packages.python.org/pyenchant/ Group: Productivity/Text/Spell Source: pyenchant-%{version}.tar.gz BuildRequires: enchant-devel BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-distribute BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %description PyEnchant (distributed as 'python-enchant') is a spellchecking library for Python, based on the excellent Enchant library. %prep %setup -q -n pyenchant-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT # create symlinks for man pages %fdupes -s $RPM_BUILD_ROOT/%_mandir # create hardlinks for the rest %fdupes $RPM_BUILD_ROOT # remove documentation files from site-packages rm $RPM_BUILD_ROOT/%{python_sitelib}/enchant/share/enchant/{ispell,myspell}/README.txt rm $RPM_BUILD_ROOT/%{python_sitelib}/enchant/{lib,share}/enchant/README.txt %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc PKG-INFO README.txt %{python_sitelib}/enchant %{python_sitelib}/pyenchant-%{version}-py%{py_ver}.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor