Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Contrib
python-enchant
python-enchant.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-enchant.spec of Package python-enchant
# # spec file for package python-enchant (Version 1.6.5) # # Copyright (c) 2008 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/ # # norootforbuild Name: python-enchant BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: enchant-devel BuildRequires: fdupes BuildRequires: licenses Summary: Python wrapper for enchant library Version: 1.6.5 Release: %{release} Source0: pyenchant-%{version}.tar.gz License: LGPL Group: Productivity/Text/Spell Url: http://pyenchant.sourceforge.net/ AutoReqProv: on BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} %description PyEnchant is a spellchecking library for Python, based on the Enchant library. Authors: -------- Ryan Kelly <rynklly@users.sourceforge.net> %prep %setup -n pyenchant-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT # Avoid duplication of license files as explained in http://en.opensuse.org/Licenses for FILE in LICENSE.txt ; do MD5SUM=$(md5sum $FILE | sed 's/ .*//') if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE fi done # 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