Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-Test-Mock-LWP
perl-Test-Mock-LWP.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Test-Mock-LWP.spec of Package perl-Test-Mock-LWP
# # - Test-Mock-LWP - # %define real_name Test-Mock-LWP %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) %define maketest 0 name: perl-%{real_name} summary: Test-Mock-LWP - Perl module version: 0.05 release: 1 vendor: Luke Closs <test-mock-lwp@awesnob.com> license: Artistic group: Applications/CPAN url: http://www.cpan.org buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n) buildarch: noarch source: http://search.cpan.org//CPAN/authors/id/L/LU/LUKEC/%{real_name}-%{version}.tar.gz BuildRequires: perl-Test-MockObject Requires: perl-Test-MockObject %description This package arises from duplicating the same code to mock LWP et al in several different modules I've written. This version is very minimalist, but works for my needs so far. I'm very open to new suggestions and improvements. %prep %setup -n %{real_name}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL `%{__perl} -MExtUtils::MakeMaker -e ' print qq|PREFIX=%{buildroot}%{_prefix}| if \$ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ '` %{__make} %check %if %maketest %{__make} test %endif %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %else make DESTDIR=$RPM_BUILD_ROOT install_vendor find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {} find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null %endif find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {} %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes README inc %doc %{_mandir}/man?/* %dir %{perl_vendorlib}/Test %dir %{perl_vendorlib}/Test/Mock %{perl_vendorlib}/Test/Mock %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Fri Apr 24 2009 Holger Manthey <holger.manthey@bertelsmann.de> - initial build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor