Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > ea0cc3fe749d4ac18854945147d688fc > files > 3

perl-Alien-SeleniumRC-1.01-3.fc13.src.rpm

Name:           perl-Alien-SeleniumRC
Version:        1.01
Release:        3%{?dist}
Summary:        Packages the Selenium Remote Control server
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Alien-SeleniumRC/
Source0:        http://www.cpan.org/modules/by-module/Alien/Alien-SeleniumRC-%{version}.tar.gz
Patch0:         Alien-Selenium-system-jar.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker),perl(CPAN),perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires:       selenium-server

%description
Selenium Remote Control is a test tool that allows you to write automated
web application UI tests in any programming language against any HTTP
website using any mainstream JavaScript-enabled browser. It provides a
Selenium Server, which can automatically start/stop/control any supported
browser. It works by using Selenium Core, a pure-HTML+JS library that
performs automated tasks in JavaScript.

%prep
%setup -q -n Alien-SeleniumRC-%{version}
%patch0 -p0
rm t/seleniumrc.t
rm lib/Alien/SeleniumRC/selenium-server.jar

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_bindir}/selenium-rc
%{_mandir}/man3/*

%changelog
* Tue May 25 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1.03-3
- Remove selenium-server.jar from the archive
- Remove test on the internal selenium-server
- Tell Alien::SeleniumRC to use the system selenium server
- Add selenium-server to the Requires

* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.01-2
- rebuild against perl 5.10.1

* Tue Sep 15 2009 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1.01-1
- Update to 1.01

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Tue Apr 14 2009 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 1.00-1
- Update to 1.00

* Wed Nov 05 2008 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 0.91-2
- Specfile autogenerated by cpanspec 1.77.