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

RevLine 
[4916]1%define pkgname Data-Dump
2
3# Basic Information
4Name:           perl-%{pkgname}
[12120]5Version:        1.23
[4916]6Release:        1%{?_dist_release}
[9081]7Summary:        Pretty printing of data structures
8Summary(ja):    データ構造をきれいに出力するためのモジュール
9
[4916]10License:        Artistic or GPL
11Group:          Development/Libraries
12Source0:        http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/%{pkgname}-%{version}.tar.gz
[9081]13
[4916]14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[9081]15BuildArch:      noarch
16BuildRequires:  perl(ExtUtils::MakeMaker)
17BuildRequires:  perl(Test)
18Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
[4916]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
[9081]34%setup -q -n Data-Dump-%{version}
[4916]35
36%build
[9081]37perl Makefile.PL INSTALLDIRS=vendor
38make %{?_smp_mflags}
[4916]39
40%install
[9081]41rm -rf $RPM_BUILD_ROOT
[4916]42
[9081]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/*
[4916]48
49%clean
[9081]50rm -rf $RPM_BUILD_ROOT
[4916]51
[9081]52%check
53make test
[4916]54
[9081]55%files
[4916]56%defattr(-,root,root)
57%doc Changes README
[9081]58%{perl_vendorlib}/Data/*
[4916]59%{_mandir}/*/*
60
61
62%changelog
[12120]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
[9081]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
[4916]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.