source: projects/specs/trunk/p/perl-Path-Extended/perl-Path-Extended-vl.spec @ 9142

Revision 9142, 2.4 KB checked in by inagaki, 6 years ago (diff)

2014-12-09 Ryoichi INAGAKI <ryo1@…>

  • perl-Config-{Any, General, IniFiles?}, perl-Log-Dispatch-{Config, Configurator-Any}, perl-Log-Dump, perl-Path-Extended, perl-Sort-Naturally perl-Test-{Output, Spelling}: updated
  • perl-ExtUtils?-MakeMaker?-CPANfile, perl-IO-Capture, perl-Module-CPANfile: NEW


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