]> git.pld-linux.org Git - packages/perl-String-Approx.git/blame - perl-String-Approx.spec
rebuild with perl 5.32
[packages/perl-String-Approx.git] / perl-String-Approx.spec
CommitLineData
fec0684c 1#
b1d3705d 2# Conditional build:
bfecdfde 3%bcond_without tests # do not perform "make test"
fec0684c 4#
f0fbd424 5%define pdir String
6%define pnam Approx
3a6c9be3
JB
7Summary: String::Approx - Perl module for approximate matching (fuzzy matching)
8Summary(pl.UTF-8): String::Approx - moduł Perlado dopasowywania przybliżonego (rozmytego)
658afa49 9Name: perl-String-Approx
67edfdac 10Version: 3.28
0c859481 11Release: 3
405db1ef 12License: LGPL or Artistic
658afa49 13Group: Development/Languages/Perl
3a6c9be3 14Source0: http://www.cpan.org/modules/by-module/String/%{pdir}-%{pnam}-%{version}.tar.gz
67edfdac 15# Source0-md5: ad98d17213344302ef7edf745a030390
3a6c9be3 16URL: http://search.cpan.org/dist/String-Approx/
808e3b0c 17BuildRequires: perl-devel >= 1:5.8.0
3a6c9be3 18BuildRequires: rpm-perlprov >= 4.1-13
2c14c75f 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
658afa49 20
21%description
1b487808 22String::Approx lets you match and substitute strings approximately.
3a6c9be3
JB
23With this you can emulate errors: typing errorrs, speling errors,
24closely related vocabularies (colour color), genetic mutations (GAG
25ACT), abbreviations (McScot, MacScot).
658afa49 26
4c66c7cd
JR
27%description -l pl.UTF-8
28String::Approx pozwala na przybliżone dopasowywanie i zastępowanie
3a6c9be3
JB
29łańcuchów. Przy jego użyciu można emulować błędy: literrówki, błendy
30ortograficzne, bliskie sobie słowniki (colour/color), mutacje
31genetyczne (GAG ACT), skróty (McScot, MacScot).
658afa49 32
33%prep
602404aa 34%setup -q -n %{pdir}-%{pnam}-%{version}
658afa49 35
36%build
016b6744 37%{__perl} Makefile.PL \
fdd21979 38 INSTALLDIRS=vendor
bfecdfde 39%{__make} \
69d6d1b4 40 CC="%{__cc}" \
bfecdfde 41 OPTIMIZE="%{rpmcflags}"
658afa49 42
bfecdfde 43%{?with_tests:%{__make} test}
b1d3705d 44
658afa49 45%install
46rm -rf $RPM_BUILD_ROOT
658afa49 47
bfecdfde 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
658afa49 50
658afa49 51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
b1d3705d 56%doc ChangeLog README README.apse
016b6744 57%{perl_vendorarch}/String/Approx.pm
58%dir %{perl_vendorarch}/auto/String/Approx
016b6744 59%attr(755,root,root) %{perl_vendorarch}/auto/String/Approx/Approx.so
658afa49 60%{_mandir}/man3/*
This page took 0.102241 seconds and 4 git commands to generate.