1 |
# BEGIN SourceDeps(oneline): |
2 |
BuildRequires: perl(Test::More) |
3 |
# END SourceDeps(oneline) |
4 |
%define module_version 1.3 |
5 |
%define module_name Bit-Vector-Minimal |
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.3 |
11 |
Release: 1%{?dist} |
12 |
Summary: perl module %module_name |
13 |
Group: Development/Perl |
14 |
License: perl |
15 |
Url: https://www.cpan.org/modules/by-module/Bit |
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_vendor_build |
28 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
29 |
make %{?_smp_mflags} |
30 |
|
31 |
%install |
32 |
#%perl_vendor_install |
33 |
rm -rf $RPM_BUILD_ROOT |
34 |
|
35 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
36 |
|
37 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
38 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
39 |
|
40 |
|
41 |
%files |
42 |
%doc README Changes |
43 |
#%perl_vendor_privlib/B* |
44 |
%{perl_vendorlib}/B* |
45 |
%{_mandir}/man3/* |
46 |
|
47 |
%changelog |
48 |
* Tue Sep 03 2013 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1 |
49 |
- initial import by package builder |
50 |
|