File perl-Catalyst-Action-REST.spec of Package perl-Catalyst-Action-Rest
%define _real_name Catalyst-Action-REST
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
Summary: A RESTful controller
Name: perl-Catalyst-Action-REST
Version: 0.66
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~jshirley/Catalyst-Action-REST-0.66/lib/Catalyst/Controller/REST.pm
Buildarch: noarch
BuildRequires: perl-Catalyst-Runtime perl-Params-Validate perl-YAML-Syck perl-Module-Pluggable perl-libwww-perl perl-Data-Serializer perl-Class-Inspector perl-URI-Find perl-Data-Dump perl-JSON perl-Config-General perl-XML-Simple
Source: http://search.cpan.org/CPAN/authors/id/J/JS/JSHIRLEY/Catalyst-Action-REST-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
A RESTful controller
%prep
%setup -n %{_real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
%{__make}
%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%{_mandir}/man3/*.gz
%dir %{perl_vendorlib}/Catalyst
%dir %{perl_vendorlib}/Catalyst/Action
%dir %{perl_vendorlib}/Catalyst/Controller
%{perl_vendorlib}/Catalyst/Action/*
%{perl_vendorlib}/Catalyst/Controller/*
%{perl_vendorlib}/Catalyst/Request/REST.pm
%changelog
* Tue Feb 03 2009 Leo Eraly <leo@unstable.be> - 0.66-1
- Initial package