1 |
%define module_version 1.41 |
2 |
%define module_name Tie-Array-Sorted |
3 |
# BEGIN SourceDeps(oneline): |
4 |
BuildRequires: perl(Class::Struct) perl(ExtUtils::MakeMaker) perl(Test::More) perl(Tie::Array) perl(base) |
5 |
# END SourceDeps(oneline) |
6 |
%define _unpackaged_files_terminate_build 1 |
7 |
BuildRequires: perl-rpm-build-perl perl-devel perl-podlators rpm-build |
8 |
|
9 |
Name: perl-%{module_name} |
10 |
Version: 1.41 |
11 |
Release: 1%{?dist} |
12 |
Summary: perl module %{module_name} |
13 |
Group: Development/Perl |
14 |
License: perl |
15 |
Url: https://metacpan.org/pod/Tie::Array::Sorted |
16 |
|
17 |
Source0: http://cpan.org.ua/authors/id/T/TM/TMTM/%{module_name}-%{module_version}.tar.gz |
18 |
BuildArch: noarch |
19 |
|
20 |
%description |
21 |
%summary |
22 |
|
23 |
%prep |
24 |
%setup -n %module_name-%module_version |
25 |
|
26 |
%build |
27 |
#perl Makefile.PL installdirs=vendor optimize="%{optimize}" |
28 |
#make installdirs=vendor optimize="%{optimize}" |
29 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
30 |
make %{?_smp_mflags} |
31 |
|
32 |
%install |
33 |
#%perl_vendor_install |
34 |
rm -rf $RPM_BUILD_ROOT |
35 |
|
36 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
37 |
|
38 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
39 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
40 |
|
41 |
%{_fixperms} $RPM_BUILD_ROOT/* |
42 |
|
43 |
%files |
44 |
%doc Changes README |
45 |
#%perl_vendor_privlib/T* |
46 |
%{perl_vendorlib}/T* |
47 |
%{_mandir}/man3/* |
48 |
|
49 |
%changelog |
50 |
* Mon Sep 16 2013 Igor Vlasenko <viy@altlinux.ru> 1.41-alt1 |
51 |
- regenerated from template by package builder |
52 |
|
53 |
* Tue Sep 03 2013 Igor Vlasenko <viy@altlinux.ru> 1.2-alt1 |
54 |
- initial import by package builder |
55 |
|