Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:babelworx:python
python-FuGrep
python-FuGrep.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-FuGrep.spec of Package python-FuGrep
# # spec file for package FuGrep # # 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/ # # norootforbuild %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} Name: FuGrep Version: 0.50 Release: 1 Summary: Python bindings to agrep, a fuzzy string matching tool Source: %{name}-%{version}.tar.bz2 Url: http://download.j-raedler.de/Python/FuGrep/ Group: Development/Languages/Python License: BSD-3-Clause BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python python-devel %if 0%{?suse_version} > 1020 BuildRequires: python-setuptools %endif %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %py_requires %description FuGrep means fuzzy grep, which is inexact string matching. FuGrep is a replacement for agrepy, which works nice but has a very unpythonic interface. FuGrep uses agrep for the underlying functions and uses concepts of agrepy, but replaces the python wrapper with its own code. %prep %setup -q -n %{name}-%{version} %build %__python ./setup.py build %install %__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" \ --record-rpm=files.lst %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files -f files.lst %defattr(-,root,root) %doc 00_README 01_COPYRIGHTS %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