commit 7c737e77cc7de1fbbb94cb4341fc002831247b708b1b0a1ae7e2465cc4f8259c Author: Christian Wittmer Date: Wed Feb 17 13:25:14 2010 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/String-Approx-3.26.tar.bz2 b/String-Approx-3.26.tar.bz2 new file mode 100644 index 0000000..fbf2169 --- /dev/null +++ b/String-Approx-3.26.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ed2dec04fce448c609a7a3d9148d8bf01ceecf76695830a39b42b4f4b498887 +size 39911 diff --git a/perl-String-Approx.changes b/perl-String-Approx.changes new file mode 100644 index 0000000..c33409b --- /dev/null +++ b/perl-String-Approx.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Feb 17 13:15:16 UTC 2010 - chris@computersalat.de + +- initial package, version 3.26 + diff --git a/perl-String-Approx.spec b/perl-String-Approx.spec new file mode 100644 index 0000000..44e1bd5 --- /dev/null +++ b/perl-String-Approx.spec @@ -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 + +%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 +