perl-ExtUtils-FakeConfig/perl-ExtUtils-FakeConfig.spec

Name: perl-ExtUtils-FakeConfig
Summary: Allows overriding some config values
Version: 0.12
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/ExtUtils-FakeConfig/
Description: Allows you to override some config values.

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: Mattia Barbon <mbarbon$users,sourceforge,net>

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

%define real_name ExtUtils-FakeConfig

Summary: Allows overriding some config values
Name: perl-ExtUtils-FakeConfig
Version: 0.12
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/ExtUtils-FakeConfig/

Source: http://search.cpan.org//CPAN/authors/id/M/MB/MBARBON/ExtUtils-FakeConfig-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
Allows you to override some config values.

%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 up docs
find script/ spec/ -type f -exec %{__chmod} a-x {} \;

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

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README.txt script/ spec/
%doc %{_mandir}/man3/Config_m.3pm*
%doc %{_mandir}/man3/Config_u.3pm*
%doc %{_mandir}/man3/ExtUtils::FakeConfig.3pm*
%{perl_vendorlib}/Config_m.pod
%{perl_vendorlib}/Config_u.pm
%dir %{perl_vendorlib}/ExtUtils/
%{perl_vendorlib}/ExtUtils/FakeConfig.pm

%changelog
* Thu Dec 18 2008 Dag Wieers <dag@wieers.com> - 0.12-1
- Updated to release 0.12.

* Mon Oct 13 2008 Dag Wieers <dag@wieers.com> - 0.11-1
- Updated to release 0.11.

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

* Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 0.09-1
- Updated to release 0.09.

* Tue Sep 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.08-1
- Initial package.