source: projects/specs/trunk/p/perl-Data-Dump/perl-Data-Dump-vl.spec @ 12120

Revision 12120, 1.9 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1%define pkgname Data-Dump
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        1.23
6Release:        1%{?_dist_release}
7Summary:        Pretty printing of data structures
8Summary(ja):    データ構造をきれいに出力するためのモジュール
9
10License:        Artistic or GPL
11Group:          Development/Libraries
12Source0:        http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/%{pkgname}-%{version}.tar.gz
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildArch:      noarch
16BuildRequires:  perl(ExtUtils::MakeMaker)
17BuildRequires:  perl(Test)
18Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       yasumichi
23
24
25%description
26This module provide a few functions that traverse their argument and
27produces a string as its result. The string contains Perl code that, when
28evaled, produces a deep copy of the original arguments.
29
30#%%description -l ja
31#ここに日本語で詳細を記述してください。
32
33%prep
34%setup -q -n Data-Dump-%{version}
35
36%build
37perl Makefile.PL INSTALLDIRS=vendor
38make %{?_smp_mflags}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
44find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
45find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
46find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
47chmod -R u+w $RPM_BUILD_ROOT/*
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%check
53make test
54
55%files
56%defattr(-,root,root)
57%doc Changes README
58%{perl_vendorlib}/Data/*
59%{_mandir}/*/*
60
61
62%changelog
63* Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.23-1
64- new upstream release.
65- rebuilt with perl-5.26.
66
67* Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.22-1
68- updated to 1.22
69- used %%{perl_vendorlib} instead of %%{perl_sitelib}
70- built with perl 5.16.3
71
72* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.20-1
73- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.