commit 543f333a3d358ef35701f12942af19a94f9c8808 Author: Kostas Georgiou <georgiou@xxxxxxxxxxxxx> Date: Fri Oct 18 16:57:26 2013 +0100 Import spec file .gitignore | 1 + perl-File-SearchPath.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..67b896d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/File-SearchPath-0.06.tar.gz diff --git a/perl-File-SearchPath.spec b/perl-File-SearchPath.spec new file mode 100644 index 0000000..ef14ffd --- /dev/null +++ b/perl-File-SearchPath.spec @@ -0,0 +1,58 @@ +Name: perl-File-SearchPath +Version: 0.06 +Release: 2%{?dist} +Summary: Search for a file in an environment variable path +License: GPLv2+ +Group: Development/Libraries +URL: http://search.cpan.org/dist/File-SearchPath/ +Source0: http://www.cpan.org/authors/id/T/TJ/TJENNESS/File-SearchPath-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Env::Path) +BuildRequires: perl(File::Spec) >= 0.8 +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(Exporter) +BuildRequires: perl(base) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +Requires: perl(Env::Path) +Requires: perl(File::Spec) >= 0.8 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides the ability to search a path-like environment variable +for a file (that does not necessarily have to be an executable). + +%prep +%setup -q -n File-SearchPath-%{version} + +%build +perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 + +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%clean +rm -rf %{buildroot} + +%files +%doc ChangeLog README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Oct 17 2013 Kostas Georgiou <georgiou@xxxxxxxxxxxxx> 0.06-2 +- Review changes/fixes #1018862. + +* Wed Oct 02 2013 Kostas Georgiou <georgiou@xxxxxxxxxxxxx> 0.06-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..7233b62 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5cc4743fcacfbe4decd9579d6251457e File-SearchPath-0.06.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel