[4916] | 1 | %define pkgname Data-Dump |
---|
| 2 | |
---|
| 3 | # Basic Information |
---|
| 4 | Name: perl-%{pkgname} |
---|
[9081] | 5 | Version: 1.22 |
---|
[4916] | 6 | Release: 1%{?_dist_release} |
---|
[9081] | 7 | Summary: Pretty printing of data structures |
---|
| 8 | Summary(ja): データ構造をきれいに出力するためのモジュール |
---|
| 9 | |
---|
[4916] | 10 | License: Artistic or GPL |
---|
| 11 | Group: Development/Libraries |
---|
| 12 | Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/%{pkgname}-%{version}.tar.gz |
---|
[9081] | 13 | |
---|
[4916] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9081] | 15 | BuildArch: noarch |
---|
| 16 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 17 | BuildRequires: perl(Test) |
---|
| 18 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[4916] | 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: yasumichi |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | This module provide a few functions that traverse their argument and |
---|
| 27 | produces a string as its result. The string contains Perl code that, when |
---|
| 28 | evaled, 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] | 37 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 38 | make %{?_smp_mflags} |
---|
[4916] | 39 | |
---|
| 40 | %install |
---|
[9081] | 41 | rm -rf $RPM_BUILD_ROOT |
---|
[4916] | 42 | |
---|
[9081] | 43 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 44 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 45 | find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
---|
| 46 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 47 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
[4916] | 48 | |
---|
| 49 | %clean |
---|
[9081] | 50 | rm -rf $RPM_BUILD_ROOT |
---|
[4916] | 51 | |
---|
[9081] | 52 | %check |
---|
| 53 | make 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 |
---|
[9081] | 63 | * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.22-1 |
---|
| 64 | - updated to 1.22 |
---|
| 65 | - used %%{perl_vendorlib} instead of %%{perl_sitelib} |
---|
| 66 | - built with perl 5.16.3 |
---|
| 67 | |
---|
[4916] | 68 | * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.20-1 |
---|
| 69 | - initial build for Vine Linux |
---|