Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37866426
en ru br
ALT Linux repos
5.0: 1.14-alt0.1jpp

Group :: Development/Java
RPM: htmlunit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: htmlunit
Version: 1.14
Summary: HtmlUnit
Epoch: 0
License: Apache Software License 2.0
Url: http://htmlunit.sourceforge.net/
Packager: Igor Vlasenko <viy at altlinux.ru>
Requires: /bin/sh
Requires: /bin/sh
Requires: excalibur-avalon-framework
Requires: jakarta-commons-codec
Requires: jakarta-commons-collections
Requires: jakarta-commons-httpclient
Requires: jakarta-commons-io
Requires: jakarta-commons-lang
Requires: jakarta-commons-logging
Requires: jaxen
Requires: jpackage-utils
Requires: jpackage-utils
Requires: junit
Requires: nekohtml
Requires: rhino16
Requires: xerces-j2
Requires: xml-commons-jaxp-1.3-apis

BuildArch: noarch
Group: Development/Java
Release: alt0.1jpp
Source: htmlunit-1.14-1.jpp5.cpio

%description
HtmlUnit is a "browser for Java programs". It models the HTML
documents and provides an API that allows you to invoke pages,
fill forms, click links, etc. just like you do in your
"normal" browser.
It has fairly good JavaScript support (which gets continuously
improved) and is able to work even with quite complex AJAX
libraries simulating either Firefox or Internet Explorer
depending on the configuration you want to use.
It is typically used for testing purposes or to retrieve
information from web sites.

# sometimes commpress gets crazy (see maven-scm-javadoc for details)

%set_compress_method none
%prep
cpio -idmu --quiet --no-absolute-filenames < %{SOURCE0}

%build
cpio --list < %{SOURCE0} | sed -e 's,^\.,,' > %name-list

%install
mkdir -p $RPM_BUILD_ROOT
for i in usr var etc; do
[ -d $i ] && mv $i $RPM_BUILD_ROOT/
done

%post

echo -e "<dependencies>\n" > /etc/maven/maven2-depmap.xml
if [ -d /etc/maven/fragments ] && [ -n "`find /etc/maven/fragments -type f`" ]; then
cat /etc/maven/fragments/* >> /etc/maven/maven2-depmap.xml
fi
echo -e "</dependencies>\n" >> /etc/maven/maven2-depmap.xml

%postun

echo -e "<dependencies>\n" > /etc/maven/maven2-depmap.xml
if [ -d /etc/maven/fragments ] && [ -n "`find /etc/maven/fragments -type f`" ]; then
cat /etc/maven/fragments/* >> /etc/maven/maven2-depmap.xml
fi
echo -e "</dependencies>\n" >> /etc/maven/maven2-depmap.xml


%files -f %name-list

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin