SPECS: xmlunit.spec (NEW) - new
radek
radek at pld-linux.org
Wed May 24 20:24:53 CEST 2006
Author: radek Date: Wed May 24 18:24:53 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
xmlunit.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/xmlunit.spec
diff -u /dev/null SPECS/xmlunit.spec:1.1
--- /dev/null Wed May 24 20:24:53 2006
+++ SPECS/xmlunit.spec Wed May 24 20:24:47 2006
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+Summary: XMLUnit extends JUnit and NUnit to enable unit testing of XML
+#Summary(pl):
+Name: xmlunit
+Version: 1.0
+Release: 1
+License: BSD
+Group: Libraries
+Source0: http://dl.sourceforge.net/%{name}/%{name}%{version}.zip
+# Source0-md5: 27bb68ef61dd9a967b375b7798c2524d
+URL: http://www.gnu.org/software/classpathx/javamail/javamail.html
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
+BuildRequires: jaxp_parser_impl
+BuildRequires: jaxp_transform_impl
+BuildRequires: junit
+BuildRequires: rpmbuild(macros) >= 1.300
+Requires: jaxp_parser_impl
+Requires: jaxp_transform_impl
+Requires: junit
+BuildArch: noarch
+ExclusiveArch: i586 i686 pentium3 pentium4 athlon %{x8664} noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+XMLUnit extends JUnit and NUnit to enable unit testing of XML. It
+compares a control XML document to a test document or the result of a
+transformation, validates documents, and compares the results of XPath
+expressions.
+
+#%description -l pl
+
+%prep
+%setup -q -n %{name}
+
+%build
+required_jars='jaxp_parser_impl jaxp_transform_impl junit'
+export CLASSPATH="$CLASSPATH:`/usr/bin/build-classpath $required_jars`"
+export JAVAC=%{javac}
+export JAVA=%{java}
+
+%{ant}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_javadir}
+
+install lib/%{name}%{version}.jar $RPM_BUILD_ROOT%{_javadir}
+ln -s %{name}%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README* *.html *.pdf LICENSE.txt
+%{_javadir}/*.jar
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/05/24 18:24:47 radek
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list