Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-WWW-Mechanize
perl-WWW-Mechanize.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-WWW-Mechanize.spec of Package perl-WWW-Mechanize
# # spec file for package perl-WWW-Mechanize (Version 1.34) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define real_name WWW-Mechanize %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} Version: 1.52 Release: 1 URL: http://search.cpan.org/~petdance/WWW-Mechanize-1.34/ Summary: Handy web browsing in a Perl object License: GPL/Artistic Group: Development/Libraries/Perl Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/%{real_name}-%{version}.tar.gz Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-root Requires: perl-libwww-perl Requires: perl-HTML-TokeParser-Simple perl-HTTP-Response-Encoding BuildRequires: perl perl-libwww-perl perl-HTML-TokeParser-Simple perl-HTTP-Response-Encoding BuildRequires: perl(ExtUtils::MakeMaker) %if 0%{?fedora_version} BuildRequires: perl-devel %endif %description WWW::Mechanize, or Mech for short, helps you automate interaction with a website. It supports performing a sequence of page fetches including following links and submitting forms. Each fetched page is parsed and its links and forms are extracted. A link or a form can be selected, form fields can be filled and the next page can be fetched. Mech also stores a history of the URLs you've visited, which can be queried and revisited. Authors: -------- Andy Lester <andy@petdance.com> %prep %setup -q -n %{real_name}-%{version} chmod -R u+w %{_builddir}/%{real_name}-%{version} %build CFLAGS="$RPM_OPT_FLAGS -Wall" echo y | %{__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 {} %endif find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {} find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc Changes %doc %{_mandir}/man?/* %dir %{perl_vendorlib}/WWW/Mechanize %{_bindir}/mech-dump %{perl_vendorlib}/WWW/Mechanize.pm %{perl_vendorlib}/WWW/Mechanize %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Thu May 31 2012 Holger Manthey <holger.manthey@bertelsmann.de> - remove perl-version require * Mon May 4 2009 Holger Manthey <holger.manthey@bertelsmann.de> - build for centos * Thu Dec 04 2008 - James Oakley <jfunk@funktronics.ca> - 1.52 - Initial release
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