jaxen:package init
Signed-off-by: openeuler-iSula <isula@huawei.com>
This commit is contained in:
parent
7793732fe7
commit
6dff5966c0
BIN
jaxen-1.1.6-src.tar.gz
Normal file
BIN
jaxen-1.1.6-src.tar.gz
Normal file
Binary file not shown.
61
jaxen.spec
Normal file
61
jaxen.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: jaxen
|
||||
Version: 1.1.6
|
||||
Release: 19
|
||||
Summary: An XPath engine written in Java
|
||||
License: BSD and W3C
|
||||
URL: http://jaxen.codehaus.org/
|
||||
BuildArch: noarch
|
||||
Source0: http://dist.codehaus.org/jaxen/distributions/jaxen-%{version}-src.tar.gz
|
||||
|
||||
BuildRequires: maven-local mvn(jdom:jdom) mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
BuildRequires: mvn(xerces:xercesImpl) mvn(xml-apis:xml-apis) mvn(dom4j:dom4j)
|
||||
|
||||
%description
|
||||
Jaxen is an open source XPath library written in Java. It is adaptable
|
||||
to many different object models and also possible to write adapters that treat non-XML trees
|
||||
|
||||
%package devel
|
||||
Summary: Samples for jaxen
|
||||
Requires: jaxen = %{version}-%{release}
|
||||
Provides: jaxen-demo
|
||||
Obsoletes: jaxen-demo
|
||||
|
||||
%description devel
|
||||
This package provides samples files for jaxen.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for jaxen
|
||||
|
||||
%description javadoc
|
||||
This package provide javadoc file for jaxen.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
rm -rf src/java/main/org/jaxen/xom
|
||||
%pom_remove_dep xom:xom
|
||||
|
||||
%mvn_file : jaxen
|
||||
|
||||
%build
|
||||
%mvn_build -f
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
install -d -m 755 %{buildroot}%{_datadir}/jaxen/samples
|
||||
cp -pr src/java/samples/* %{buildroot}%{_datadir}/jaxen/samples
|
||||
|
||||
%files -f .mfiles
|
||||
%doc LICENSE.txt
|
||||
|
||||
%files devel
|
||||
%{_datadir}/jaxen
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Sat Dec 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.6-19
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user