|
|
|
@ -1,28 +1,19 @@
|
|
|
|
|
%bcond_without dom4j
|
|
|
|
|
|
|
|
|
|
Name: jaxen
|
|
|
|
|
Epoch: 0
|
|
|
|
|
Version: 1.1.6
|
|
|
|
|
Release: 18%{?dist}
|
|
|
|
|
Version: 1.2.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: An XPath engine written in Java
|
|
|
|
|
# src/java/main/org/w3c/dom/UserDataHandler.java is W3C
|
|
|
|
|
# rest is BSD
|
|
|
|
|
License: BSD and W3C
|
|
|
|
|
URL: http://jaxen.codehaus.org/
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://www.cafeconleche.org/jaxen/
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Source0: http://dist.codehaus.org/jaxen/distributions/%{name}-%{version}-src.tar.gz
|
|
|
|
|
Source0: https://repo1.maven.org/maven2/jaxen/jaxen/%{version}/jaxen-%{version}-src.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(jdom:jdom)
|
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
|
|
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
|
|
|
BuildRequires: mvn(xerces:xercesImpl)
|
|
|
|
|
BuildRequires: mvn(xml-apis:xml-apis)
|
|
|
|
|
%if %{with dom4j}
|
|
|
|
|
BuildRequires: mvn(dom4j:dom4j)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Jaxen is an open source XPath library written in Java. It is adaptable
|
|
|
|
@ -45,16 +36,20 @@ Summary: Javadoc for %{name}
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.6
|
|
|
|
|
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6
|
|
|
|
|
|
|
|
|
|
%if %{without dom4j}
|
|
|
|
|
rm -rf src/java/main/org/jaxen/dom4j
|
|
|
|
|
%pom_remove_dep dom4j:dom4j
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
rm -rf src/java/main/org/jaxen/xom
|
|
|
|
|
%pom_remove_dep xom:xom
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin :maven-source-plugin
|
|
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
|
|
|
|
|
|
|
%mvn_file : %{name}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -68,7 +63,7 @@ install -d -m 755 %{buildroot}%{_datadir}/%{name}/samples
|
|
|
|
|
cp -pr src/java/samples/* %{buildroot}%{_datadir}/%{name}/samples
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
|
%doc LICENSE.txt
|
|
|
|
|
%doc LICENSE.txt README.md
|
|
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
|
%doc LICENSE.txt
|
|
|
|
@ -77,6 +72,15 @@ cp -pr src/java/samples/* %{buildroot}%{_datadir}/%{name}/samples
|
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-2
|
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2019 Marian Koncek <mkoncek@redhat.com> - 1.2.0-1
|
|
|
|
|
- Update to upstream version 1.2.0
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.6-19
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
|
|
|
|
|
* Tue Jul 31 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.1.6-18
|
|
|
|
|
- Allow conditionally building with dom4j
|
|
|
|
|
|
|
|
|
|