perl-Catalyst-Model-File/perl-Catalyst-Model-File.spec

Name: perl-Catalyst-Model-File
Summary: File based storage model for Catalyst
Version: 0.08
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Catalyst-Model-File/
Description: File based storage model for Catalyst.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

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

# $Id$
# Authority: dries
# Upstream: Ash Berlin, C<ash$cpan,org>
# ExcludeDist: el4

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

%define real_name Catalyst-Model-File

Summary: File based storage model for Catalyst
Name: perl-Catalyst-Model-File
Version: 0.08
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Catalyst-Model-File/

Source: http://search.cpan.org/CPAN/authors/id/A/AS/ASH/Catalyst-Model-File-%{version}.tar.gz

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(Catalyst) >= 5.69
BuildRequires: perl(Catalyst::Component::InstancePerContext)
#BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Path::Class)
BuildRequires: perl(Test::More)
BuildRequires: perl >= 5.8.1
Requires: perl(Catalyst) >= 5.69
Requires: perl(Catalyst::Component::InstancePerContext)
Requires: perl(MRO::Compat)
Requires: perl(Path::Class)
Requires: perl >= 5.8.1

%filter_from_requires /^perl*/d
%filter_setup


%description
File based storage model for Catalyst.

%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 Changes MANIFEST META.yml
%doc %{_mandir}/man3/Catalyst::Model::File.3pm*
%doc %{_mandir}/man3/Catalyst::Helper::Model::File.3pm*
%dir %{perl_vendorlib}/Catalyst/
%dir %{perl_vendorlib}/Catalyst/Helper/
%dir %{perl_vendorlib}/Catalyst/Helper/Model/
#%{perl_vendorlib}/Catalyst/Helper/Model/File/
%{perl_vendorlib}/Catalyst/Helper/Model/File.pm
%dir %{perl_vendorlib}/Catalyst/Model/
#%{perl_vendorlib}/Catalyst/Model/File/
%{perl_vendorlib}/Catalyst/Model/File.pm

%changelog
* Thu Jan 14 2010 Christoph Maser <cmr@financial.com> - 0.08-1
- Updated to version 0.08.

* Tue Nov 06 2007 Dag Wieers <dag@wieers.com> - 0.06-1
- Updated to release 0.06.

* Sun Nov 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.04-1
- Initial package.