123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- %define pkgname Data-Dump
- Name: perl-%{pkgname}
- Version: 1.22
- Release: 1%{?_dist_release}
- Summary: Pretty printing of data structures
- Summary(ja): データ構造をきれいに出力するためのモジュール
- License: Artistic or GPL
- Group: Development/Libraries
- Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/%{pkgname}-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(Test)
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: yasumichi
- %description
- This module provide a few functions that traverse their argument and
- produces a string as its result. The string contains Perl code that, when
- evaled, produces a deep copy of the original arguments.
- %prep
- %setup -q -n Data-Dump-%{version}
- %build
- perl Makefile.PL INSTALLDIRS=vendor
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
- find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
- find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
- chmod -R u+w $RPM_BUILD_ROOT/*
- %clean
- rm -rf $RPM_BUILD_ROOT
- %check
- make test
- %files
- %defattr(-,root,root)
- %doc Changes README
- %{perl_vendorlib}/Data/*
- %{_mandir}/*/*
- %changelog
- * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.22-1
- - updated to 1.22
- - used %%{perl_vendorlib} instead of %%{perl_sitelib}
- - built with perl 5.16.3
- * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.20-1
- - initial build for Vine Linux
|