|
@@ -2,25 +2,31 @@
|
|
|
|
|
|
# Basic Information
|
|
# Basic Information
|
|
Name: perl-%{pkgname}
|
|
Name: perl-%{pkgname}
|
|
-Version: 0.19
|
|
+Version: 0.22
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
+Summary: yet another Path class
|
|
|
|
+#Summary(ja): ここに日本語で概要を記述してください
|
|
|
|
+
|
|
License: Artistic or GPL
|
|
License: Artistic or GPL
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
|
|
+URL: http://search.cpan.org/~ishigaki/Path-Extended/
|
|
|
|
+
|
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz
|
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildArch: noarch
|
|
|
|
+BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
+BuildRequires: perl(ExtUtils::MakeMaker::CPANfile) >= 0.06
|
|
|
|
+BuildRequires: perl(Log::Dump)
|
|
|
|
+BuildRequires: perl(Test::Classy)
|
|
|
|
+BuildRequires: perl(Test::More) >= 0.98
|
|
|
|
+BuildRequires: perl(Test::UseAllModules) >= 0.09
|
|
|
|
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
Packager: yasumichi
|
|
Packager: yasumichi
|
|
|
|
|
|
-Summary: yet another Path class
|
|
|
|
-#Summary(ja): ここに日本語で概要を記述してください
|
|
|
|
-
|
|
|
|
-# Dependency
|
|
|
|
-Requires: perl
|
|
|
|
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
-
|
|
|
|
-BuildRequires: perl
|
|
|
|
|
|
|
|
%description
|
|
%description
|
|
This is yet another file/directory handler that does a bit more than
|
|
This is yet another file/directory handler that does a bit more than
|
|
@@ -35,43 +41,43 @@ apply regexen to a path, especially in file tests that use 'like' or
|
|
#ここに日本語で詳細を記述してください。
|
|
#ここに日本語で詳細を記述してください。
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q -n Path-Extended-0.19
|
|
+%setup -q -n Path-Extended-%{version}
|
|
|
|
|
|
%build
|
|
%build
|
|
-perl Makefile.PL
|
|
+perl Makefile.PL INSTALLDIRS=vendor
|
|
-%{__make}
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
-%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
-%{__make} install DESTDIR=${RPM_BUILD_ROOT}
|
|
+make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
-
|
|
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
-find $RPM_BUILD_ROOT%{_prefix} -type f -print |
|
|
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
- sed "s@^$RPM_BUILD_ROOT@@g" |
|
|
+%{_fixperms} $RPM_BUILD_ROOT
|
|
- grep -v ^%{_mandir} |
|
|
|
|
- grep -v perllocal.pod |
|
|
|
|
- grep -v "\.packlist" > %{name}.files
|
|
|
|
-if [ "$(cat %{name}.files)X" = "X" ] ; then
|
|
|
|
- echo "ERROR: EMPTY FILE LIST"
|
|
|
|
- exit -1
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-# remove unnecessary files.
|
|
|
|
-%{__rm} ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
|
|
|
|
-%{__rm} ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/Path/Extended/.packlist
|
|
|
|
-
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
+%check
|
|
|
|
+make test
|
|
|
|
|
|
-%files -f %{name}.files
|
|
+
|
|
|
|
+%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc Changes README
|
|
%doc Changes README
|
|
-%dir %{perl_sitelib}/Path/Extended
|
|
+%dir %{perl_vendorlib}/Path/Extended
|
|
-%dir %{perl_sitelib}/Path/Extended/Class
|
|
+%dir %{perl_vendorlib}/Path/Extended/Class
|
|
|
|
+%{perl_vendorlib}/Path/*.pm
|
|
|
|
+%{perl_vendorlib}/Path/Extended/*.pm
|
|
|
|
+%{perl_vendorlib}/Path/Extended/Class/*.pm
|
|
%{_mandir}/*/*
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Dec 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.03-1
|
|
|
|
+- updated to 0.22
|
|
|
|
+- built with perl 5.16.3
|
|
|
|
+- added BR: perl(ExtUtils::MakeMaker::CPANfile), perl(Log::Dump)
|
|
|
|
+- changed to noarch package
|
|
|
|
+
|
|
* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.19-1
|
|
* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.19-1
|
|
- initial build for Vine Linux
|
|
- initial build for Vine Linux
|