commit 23bac24ad8205380074cbd10dd6c315e103879d7 Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Thu Jan 2 19:01:40 2014 +0100 Initial Import. .gitignore | 1 + perl-Symbol-Global-Name.spec | 45 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 47 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..0bd72d7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Symbol-Global-Name-0.04.tar.gz diff --git a/perl-Symbol-Global-Name.spec b/perl-Symbol-Global-Name.spec new file mode 100644 index 0000000..33f6413 --- /dev/null +++ b/perl-Symbol-Global-Name.spec @@ -0,0 +1,45 @@ +Name: perl-Symbol-Global-Name +Version: 0.04 +Release: 1%{?dist} +Summary: Finds name and type of a global variable +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Symbol-Global-Name/ +Source0: http://www.cpan.org/authors/id/A/AL/ALEXMV/Symbol-Global-Name-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 1:5.8.0 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Lookups symbol table to find an element by reference. + +%prep +%setup -q -n Symbol-Global-Name-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Dec 19 2013 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.04-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..82e1dff 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +102e5e9ef292c546192036165101518b Symbol-Global-Name-0.04.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