SPECS: httpunit.spec - pl, killed subshell
qboosh
qboosh at pld-linux.org
Tue May 16 20:58:10 CEST 2006
Author: qboosh Date: Tue May 16 18:58:10 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl, killed subshell
---- Files affected:
SPECS:
httpunit.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/httpunit.spec
diff -u SPECS/httpunit.spec:1.1 SPECS/httpunit.spec:1.2
--- SPECS/httpunit.spec:1.1 Wed May 10 23:24:01 2006
+++ SPECS/httpunit.spec Tue May 16 20:58:05 2006
@@ -1,71 +1,92 @@
# $Revision$, $Date$
Summary: Automated web site testing toolkit
+Summary(pl): Zestaw narzędzi do automatycznego testowania serwisów WWW
Name: httpunit
Version: 1.6
-Release: 1jpp
+Release: 1
Epoch: 0
License: MIT
+Group: Development
Source0: http://dl.sourceforge.net/httpunit/%{name}-%{version}.zip
# Source0-md5: e94b53b9f4d7bdb706e4baac95b6e424
Patch0: %{name}.build.patch
Patch1: %{name}-JavaScript-NotAFunctionException.patch
Patch2: %{name}-servlettest.patch
Patch3: %{name}-java15.patch
-Group: Development
URL: http://httpunit.sourceforge.net/
-BuildRequires: %{__unzip}
BuildRequires: jaf >= 0:1.0.1
BuildRequires: jakarta-ant
+BuildRequires: jakarta-servletapi
BuildRequires: javamail >= 0:1.2
BuildRequires: jtidy
BuildRequires: junit >= 0:3.8
# nekohtml broken
#BuildRequires: nekohtml
BuildRequires: rhino
-BuildRequires: jakarta-servletapi
+BuildRequires: unzip
Requires: jaxp_parser_impl
Requires: junit >= 0:3.8
-Requires: servlet23
# As of 1.5, requires either nekohtml or jtidy, and prefers nekohtml.
Requires: nekohtml
Requires: rhino
+Requires: servlet23
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
HttpUnit emulates the relevant portions of browser behavior, including
-form submission, JavaScript, basic http authentication, cookies and
+form submission, JavaScript, basic HTTP authentication, cookies and
automatic page redirection, and allows Java test code to examine
returned pages either as text, an XML DOM, or containers of forms,
tables, and links. A companion framework, ServletUnit is included in
the package.
-%package javadoc
+%description -l pl
+HttpUnit emuluje odpowiednie elementy zachowania przeglądarki włącznie
+z wysyłaniem formularzy, JavaScriptem, podstawowym uwierzytelnieniem
+HTTP, ciasteczkami i automatycznym przekierowywaniem stron oraz
+pozwala testowemu kodowi w Javie sprawdzać zwracane strony jako tekst,
+XML DOM lub kontenery formularzy, tabel i odnośników. W pakiecie
+załączony jest także towarzyszący szkielet - ServletUnit.
+
+%package javadoc
Summary: Javadoc for %{name}
+Summary(pl): Dokumentacja javadoc dla pakietu %{name}
Group: Documentation
-%description javadoc
-Javadoc for %{name}
+%description javadoc
+Javadoc for %{name}.
-%package manual
+%description javadoc -l pl
+Dokumentacja javadoc dla pakietu %{name}.
+
+%package manual
Summary: Manual for %{name}
+Summary(pl): Podręcznik dla pakietu %{name}
Group: Development
-%description manual
-Documentation for %{name}
+%description manual
+Documentation for %{name}.
+
+%description manual -l pl
+Podręcznik dla pakietu %{name}.
-%package demo
+%package demo
Summary: Demo for %{name}
+Summary(pl): Pliki demonstracyjne dla pakietu %{name}
Group: Development
Requires: %{name} = %{epoch}:%{version}-%{release}
-%description demo
+%description demo
Demonstrations and samples for %{name}.
+%description demo -l pl
+Pliki demonstracyjne i przykłady dla pakietu %{name}.
+
%prep
%setup -q
%patch0 -p0
-%patch1 -b .sav
+%patch1
%patch2
%patch3
%{__unzip} -qd META-INF lib/httpunit.jar "*.dtd" # 1.6 dist zip is borked
@@ -81,13 +102,11 @@
%{_javadir}/xerces-j2.jar \
jars
-
%build
export CLASSPATH=$(build-classpath jaf javamail)
ant -Dbuild.compiler=modern -Dbuild.sysclasspath=last \
jar testjar examplesjar javadocs test servlettest
-
%install
rm -rf $RPM_BUILD_ROOT
@@ -95,7 +114,11 @@
cp -p lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
# Jar versioning
-(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+cd $RPM_BUILD_ROOT%{_javadir}
+for jar in *-%{version}.jar; do
+ ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
+done
+cd -
# Javadoc
install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
@@ -111,9 +134,9 @@
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -p examples/* $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -p lib/%{name}-test.jar \
- $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}-test-%{version}.jar
+ $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}-test-%{version}.jar
cp -p lib/%{name}-examples.jar \
- $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}-examples-%{version}.jar
+ $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}-examples-%{version}.jar
%clean
rm -rf $RPM_BUILD_ROOT
@@ -149,6 +172,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/05/16 18:58:05 qboosh
+- pl, killed subshell
+
Revision 1.1 2006/05/10 21:24:01 glen
- new, based on jpackage
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/httpunit.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list