perl-Module-ScanDeps/perl-Module-ScanDeps.spec

Name: perl-Module-ScanDeps
Summary: Recursively scan Perl code for dependencies
Version: 1.21
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Module-ScanDeps/
Description: Module::ScanDeps, a module to recursively scan Perl programs for dependencies.

An application of Module::ScanDeps is to generate executables from scripts that contains necessary modules; this module supports two such projects, PAR and App::Packer. Please see their respective documentations on CPAN for further information.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Audrey Tang <cpan$audreyt,org>

### EL6 ships with perl-Module-ScanDeps-0.95-2.el6
%{?el6:# Tag: rfx}

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Module-ScanDeps

Summary: Recursively scan Perl code for dependencies
Name: perl-Module-ScanDeps
Version: 1.21
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Module-ScanDeps/

#Source: http://www.cpan.org/modules/by-module/Module/Module-ScanDeps-%{version}.tar.gz
Source: http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/Module-ScanDeps-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
#BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Module::Build::ModuleInfo)
BuildRequires: perl(Test::More)
BuildRequires: perl >= 5.6.0
BuildRequires: perl(version)
Requires: perl(File::Spec)
Requires: perl(File::Temp)
Requires: perl(Module::Build::ModuleInfo)
Requires: perl >= 5.6.0
Requires: perl(version)

%filter_from_requires /^perl*/d
%filter_setup

%description
Module::ScanDeps, a module to recursively
scan Perl programs for dependencies.

An application of Module::ScanDeps is to generate executables from scripts
that contains necessary modules; this module supports two such projects,
PAR and App::Packer.  Please see their respective documentations on CPAN
for further information.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS Changes MANIFEST META.yml README
%doc %{_mandir}/man1/scandeps.pl.1*
%doc %{_mandir}/man3/Module::ScanDeps.3pm*
#%doc %{_mandir}/man3/Module::ScanDeps::DataFeed.3pm*
%{_bindir}/scandeps.pl
%dir %{perl_vendorlib}/Module/
%{perl_vendorlib}/Module/ScanDeps/
%{perl_vendorlib}/Module/ScanDeps.pm

%changelog
* Sat Feb 20 2016 Dries Verachtert <dries.verachtert@dries.eu> - 1.21-1
- Updated to release 1.21.

* Sat Feb 05 2011 Denis Fateyev <denis@fateyev.com> - 0.98-1
- Updated to version 0.98.

* Fri Dec 11 2009 Christoph Maser <cmr@financial.com> - 0.96-1
- Updated to version 0.96.

* Fri Oct 16 2009 Christoph Maser <cmr@financial.com> - 0.95-1
- Updated to version 0.95.

* Tue Sep  8 2009 Christoph Maser <cmr@financial.com> - 0.94-1
- Updated to version 0.94.

* Fri Jul 31 2009 Christoph Maser <cmr@financial.com> - 0.93-1
- Updated to version 0.93.

* Sat Jul  4 2009 Christoph Maser <cmr@financial.com> - 0.91-1
- Updated to version 0.91.

* Wed Jun 25 2008 Dag Wieers <dag@wieers.com> - 0.84-1
- Updated to release 0.84.

* Wed May 14 2008 Dag Wieers <dag@wieers.com> - 0.83-1
- Updated to release 0.83.

* Wed Feb 20 2008 Dag Wieers <dag@wieers.com> - 0.82-1
- Updated to release 0.82.

* Fri Dec 14 2007 Dag Wieers <dag@wieers.com> - 0.81-1
- Updated to release 0.81.

* Tue Dec 04 2007 Dag Wieers <dag@wieers.com> - 0.80-1
- Updated to release 0.80.

* Sun Nov 18 2007 Dag Wieers <dag@wieers.com> - 0.78-1
- Updated to release 0.78.

* Thu Nov 15 2007 Dag Wieers <dag@wieers.com> - 0.77-1
- Updated to release 0.77.

* Mon Jun 18 2007 Dries Verachtert <dries@ulyssis.org> - 0.74-1
- Updated to release 0.74.

* Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 0.70-1
- Updated to release 0.70.

* Tue Nov 14 2006 Dries Verachtert <dries@ulyssis.org> - 0.69-1
- Updated to release 0.69.

* Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.66-1
- Updated to release 0.66.

* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.63-1
- Updated to release 0.63.

* Fri Jun  2 2006 Dries Verachtert <dries@ulyssis.org> - 0.60-1
- Updated to release 0.60.

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.57-1
- Updated to release 0.57.

* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.52-1.2
- Rebuild for Fedora Core 5.

* Thu Dec 22 2005 Dries Verachtert <dries@ulyssis.org> - 0.52-1
- Initial package.