OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Aspell?expand=0&rev=3
55 lines
1.4 KiB
RPMSpec
55 lines
1.4 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
# norootforbuild
|
|
|
|
Name: perl-Text-Aspell
|
|
Version: 0.09
|
|
Release: 0
|
|
Summary: Perl interface to the GNU Aspell library
|
|
Source: http://search.cpan.org/CPAN/authors/id/H/HA/HANK/Text-Aspell-%{version}.tar.gz
|
|
URL: http://search.cpan.org/dist/Text-Aspell
|
|
Group: Development/Libraries/Perl
|
|
License: Perl License
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
%{perl_requires}
|
|
BuildRequires: perl
|
|
BuildRequires: make
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Test::Pod)
|
|
BuildRequires: aspell-en
|
|
BuildRequires: aspell-devel
|
|
BuildRequires: gcc glibc-devel
|
|
|
|
%description
|
|
This module provides a Perl interface to the GNU Aspell library. This module is
|
|
to meet the need of looking up many words, one at a time, in a single session,
|
|
such as spell-checking a document in memory.
|
|
|
|
%prep
|
|
%setup -q -n "Text-Aspell-%{version}"
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
%build
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%check
|
|
%__make test
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes README
|
|
%dir %{perl_vendorarch}/Text
|
|
%{perl_vendorarch}/Text/Aspell.pm
|
|
%dir %{perl_vendorarch}/auto/Text
|
|
%{perl_vendorarch}/auto/Text/Aspell
|
|
%doc %{perl_man3dir}/Text::Aspell.%{perl_man3ext}%{ext_man}
|
|
|