forked from pool/perl-String-Approx
Accepting request 32793 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-String-Approx via accept of submit request 32793 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/32793 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Approx?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
String-Approx-3.26.tar.bz2
Normal file
3
String-Approx-3.26.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ed2dec04fce448c609a7a3d9148d8bf01ceecf76695830a39b42b4f4b498887
|
||||
size 39911
|
5
perl-String-Approx.changes
Normal file
5
perl-String-Approx.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 17 13:15:16 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- initial package, version 3.26
|
||||
|
71
perl-String-Approx.spec
Normal file
71
perl-String-Approx.spec
Normal file
@@ -0,0 +1,71 @@
|
||||
#
|
||||
# spec file for package perl-String-Approx (Version 3.26)
|
||||
#
|
||||
# Copyright (c) 2010 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: perl-String-Approx
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: Perl extension for approximate matching (fuzzy matching)
|
||||
Version: 3.26
|
||||
Release: 1
|
||||
License: Artistic License; GPL v2 or later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/String-Approx
|
||||
Source0: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(Test::More)
|
||||
|
||||
%description
|
||||
String::Approx lets you match and substitute strings approximately.
|
||||
With this you can emulate errors: typing errorrs, speling errors,
|
||||
closely related vocabularies (colour color),
|
||||
genetic mutations (GAG ACT), abbreviations (McScot, MacScot).
|
||||
|
||||
NOTE: String::Approx suits the task of string matching,
|
||||
not string comparison, and it works for strings, not for text.
|
||||
|
||||
Authors: Jarkko Hietaniemi <jhi@iki.fi>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Artistic ChangeLog README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user