1 |
jpp |
1.1 |
# BEGIN SourceDeps(oneline): |
2 |
|
|
#BuildRequires: perl(Benchmark.pm) perl(Bit/Vector/Minimal.pm) perl(Class/Accessor/Fast.pm) perl(Class/Struct.pm) perl(Encode.pm) perl(Exporter.pm) perl(Fcntl.pm) perl(File/Slurp.pm) perl(IO/Handle.pm) perl(IO/Scalar.pm) perl(Lingua/Stem/En.pm) perl(List/Util.pm) perl(Memoize.pm) perl(Module/Build.pm) perl(Test/More.pm) perl(Text/Balanced.pm) perl(Tie/Array/Sorted.pm) perl(Time/Piece.pm) perl(overload.pm) |
3 |
|
|
BuildRequires: perl(Benchmark) |
4 |
|
|
#BuildRequires: perl(Bit::Vector::Minimal) |
5 |
|
|
BuildRequires: perl(Class::Accessor::Fast) perl(Class::Struct) perl(Encode) perl(Exporter) perl(Fcntl) perl(File::Slurp) perl(IO::Handle) perl(IO::Scalar) |
6 |
|
|
#BuildRequires: perl(Lingua::Stem::En) |
7 |
|
|
BuildRequires: perl(Lingua::Stem) |
8 |
|
|
BuildRequires: perl(List::Util) perl(Memoize) perl(Module::Build) perl(Test::More) perl(Text::Balanced) |
9 |
|
|
#BuildRequires: perl(Tie::Array::Sorted) |
10 |
|
|
BuildRequires: perl(Time::Piece) perl(overload) |
11 |
|
|
BuildRequires: perl-Class-Virtual |
12 |
|
|
BuildRequires: perl-Bit-Vector |
13 |
|
|
|
14 |
|
|
# END SourceDeps(oneline) |
15 |
|
|
%define module_version 1.25 |
16 |
|
|
%define module_name Plucene |
17 |
|
|
%define _unpackaged_files_terminate_build 1 |
18 |
|
|
BuildRequires: perl-rpm-build-perl perl-devel perl-podlators rpm-build |
19 |
|
|
|
20 |
|
|
Name: perl-%module_name |
21 |
|
|
Version: 1.25 |
22 |
|
|
Release: 1%{?dist} |
23 |
|
|
Summary: A Perl port of the Lucene search engine |
24 |
|
|
Group: Development/Perl |
25 |
|
|
License: perl |
26 |
|
|
Url: https://www.cpan.org/modules/by-module/Plucene/ |
27 |
|
|
|
28 |
|
|
Source0: http://cpan.org.ua/authors/id/T/TM/TMTM/%module_name-%module_version.tar.gz |
29 |
|
|
BuildArch: noarch |
30 |
|
|
|
31 |
|
|
%description |
32 |
|
|
%summary |
33 |
|
|
|
34 |
|
|
%package scripts |
35 |
|
|
Summary: %module_name scripts |
36 |
|
|
Group: Development/Perl |
37 |
|
|
Requires: %{?epoch:%epoch:}%name = %version-%release |
38 |
|
|
|
39 |
|
|
%description scripts |
40 |
|
|
scripts for %module_name |
41 |
|
|
|
42 |
|
|
%prep |
43 |
|
|
%setup -n %module_name-%module_version |
44 |
|
|
|
45 |
|
|
%build |
46 |
|
|
#%perl_vendor_build --install_path bindoc=%_man1dir |
47 |
|
|
perl Build.PL installdirs=vendor optimize="%{optimize}". |
48 |
|
|
#./Build installdeps |
49 |
|
|
./Build |
50 |
|
|
|
51 |
|
|
%install |
52 |
|
|
#%perl_vendor_install |
53 |
|
|
./Build install destdir=%{buildroot} create_packlist=0 |
54 |
|
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + |
55 |
|
|
%{_fixperms} %{buildroot}/* |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
%files |
59 |
|
|
%doc README Changes |
60 |
|
|
#/%perl_vendor_privlib/P* |
61 |
|
|
/%{perl_vendorlib}/P* |
62 |
|
|
|
63 |
|
|
%files scripts |
64 |
|
|
%_bindir/* |
65 |
|
|
#%_man1dir/* |
66 |
|
|
%{_mandir}/* |
67 |
|
|
|
68 |
|
|
%changelog |
69 |
|
|
* Mon Sep 09 2013 Igor Vlasenko <viy@altlinux.ru> 1.25-alt1 |
70 |
|
|
- initial import by package builder |
71 |
|
|
|