[4921] | 1 | %define pkgname Path-Extended |
---|
| 2 | |
---|
| 3 | # Basic Information |
---|
| 4 | Name: perl-%{pkgname} |
---|
[9142] | 5 | Version: 0.22 |
---|
[4921] | 6 | Release: 1%{?_dist_release} |
---|
[9142] | 7 | Summary: yet another Path class |
---|
| 8 | #Summary(ja): ここに日本語で概要を記述してください |
---|
| 9 | |
---|
[4921] | 10 | License: Artistic or GPL |
---|
| 11 | Group: Development/Libraries |
---|
[9142] | 12 | URL: http://search.cpan.org/~ishigaki/Path-Extended/ |
---|
| 13 | |
---|
[4921] | 14 | Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz |
---|
[9142] | 15 | |
---|
[4921] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9142] | 17 | BuildArch: noarch |
---|
| 18 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 19 | BuildRequires: perl(ExtUtils::MakeMaker::CPANfile) >= 0.06 |
---|
| 20 | BuildRequires: perl(Log::Dump) |
---|
| 21 | BuildRequires: perl(Test::Classy) |
---|
| 22 | BuildRequires: perl(Test::More) >= 0.98 |
---|
| 23 | BuildRequires: perl(Test::UseAllModules) >= 0.09 |
---|
| 24 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[4921] | 25 | |
---|
| 26 | Vendor: Project Vine |
---|
| 27 | Distribution: Vine Linux |
---|
| 28 | Packager: yasumichi |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %description |
---|
| 32 | This is yet another file/directory handler that does a bit more than |
---|
| 33 | Path::Class for some parts, and a bit less for other parts. One of the main |
---|
| 34 | difference is Path::Extended always tries to use forward slashes when |
---|
| 35 | possible, ie. even when you're on the MS Windows, so that you don't need to |
---|
| 36 | care about escaping paths that annoys you from time to time when you want to |
---|
| 37 | apply regexen to a path, especially in file tests that use 'like' or |
---|
| 38 | 'compare'. |
---|
| 39 | |
---|
| 40 | #%%description -l ja |
---|
| 41 | #ここに日本語で詳細を記述してください。 |
---|
| 42 | |
---|
| 43 | %prep |
---|
[9142] | 44 | %setup -q -n Path-Extended-%{version} |
---|
[4921] | 45 | |
---|
| 46 | %build |
---|
[9142] | 47 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 48 | make %{?_smp_mflags} |
---|
[4921] | 49 | |
---|
| 50 | %install |
---|
[9142] | 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
| 53 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 54 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null |
---|
| 55 | %{_fixperms} $RPM_BUILD_ROOT |
---|
[4921] | 56 | |
---|
[9142] | 57 | %clean |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
[4921] | 59 | |
---|
[9142] | 60 | %check |
---|
| 61 | make test |
---|
[4921] | 62 | |
---|
| 63 | |
---|
[9142] | 64 | %files |
---|
[4921] | 65 | %defattr(-,root,root) |
---|
| 66 | %doc Changes README |
---|
[9142] | 67 | %dir %{perl_vendorlib}/Path/Extended |
---|
| 68 | %dir %{perl_vendorlib}/Path/Extended/Class |
---|
| 69 | %{perl_vendorlib}/Path/*.pm |
---|
| 70 | %{perl_vendorlib}/Path/Extended/*.pm |
---|
| 71 | %{perl_vendorlib}/Path/Extended/Class/*.pm |
---|
[4921] | 72 | %{_mandir}/*/* |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %changelog |
---|
[9142] | 76 | * Tue Dec 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.03-1 |
---|
| 77 | - updated to 0.22 |
---|
| 78 | - built with perl 5.16.3 |
---|
| 79 | - added BR: perl(ExtUtils::MakeMaker::CPANfile), perl(Log::Dump) |
---|
| 80 | - changed to noarch package |
---|
| 81 | |
---|
[4921] | 82 | * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.19-1 |
---|
| 83 | - initial build for Vine Linux |
---|