f20290
Name:           apache-commons-jxpath
f20290
Version:        1.3
f37ef3
Release:        36%{?dist}
f20290
Summary:        Simple XPath interpreter
f20290
License:        ASL 2.0
f20290
URL:            http://commons.apache.org/jxpath/
f20290
BuildArch:      noarch
f20290
f20290
Source0:        http://www.apache.org/dist/commons/jxpath/source/commons-jxpath-%{version}-src.tar.gz
f20290
f20290
Patch0:         commons-jxpath-mockrunner.patch
f20290
f20290
BuildRequires:  maven-local
f20290
BuildRequires:  mvn(commons-beanutils:commons-beanutils)
f20290
BuildRequires:  mvn(javax.servlet:jsp-api)
f20290
BuildRequires:  mvn(javax.servlet:servlet-api)
f20290
BuildRequires:  mvn(jdom:jdom)
f20290
BuildRequires:  mvn(org.apache.commons:commons-parent:pom:)
f20290
BuildRequires:  mvn(xerces:xercesImpl)
f20290
BuildRequires:  mvn(xml-apis:xml-apis)
f20290
f20290
%description
f20290
Defines a simple interpreter of an expression language called XPath.
f20290
JXPath applies XPath expressions to graphs of objects of all kinds:
f20290
JavaBeans, Maps, Servlet contexts, DOM etc, including mixtures thereof.
f20290
f20290
%package javadoc
f20290
Summary:        API documentation for %{name}
f20290
f20290
%description javadoc
f20290
This package contains the API documentation for %{name}.
f20290
f20290
%prep
f20290
%setup -q -n commons-jxpath-%{version}-src
f20290
%patch0 -p1
f20290
f20290
%mvn_file ":{*}" %{name} @1
f20290
%mvn_alias : org.apache.commons:
f20290
f20290
%pom_xpath_inject 'pom:properties' \
f20290
  '<commons.osgi.import>org.apache.commons.beanutils;resolution:="optional",org.jdom*;resolution:="optional",org.w3c.dom;resolution:="optional",javax.servlet*;resolution:="optional",*</commons.osgi.import>'
f20290
f20290
%build
f20290
# we are skipping tests because we don't have com.mockrunner in repos yet
f37ef3
%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.jxpath -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
f20290
f20290
%install
f20290
%mvn_install
f20290
f20290
%files -f .mfiles
f20290
%license LICENSE.txt NOTICE.txt
f20290
f20290
%files javadoc -f .mfiles-javadoc
f20290
%license LICENSE.txt NOTICE.txt
f20290
f20290
%changelog
f37ef3
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.3-36
f37ef3
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
f37ef3
f37ef3
* Fri May 22 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3-35
f37ef3
- Set javac -source and -target to 1.8.
f37ef3
f20290
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-34
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f20290
f20290
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-33
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f20290
f20290
* Thu Feb 07 2019 Mat Booth <mat.booth@redhat.com> - 1.3-32
f20290
- Rebuild to fix OSGi metadata
f20290
f20290
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-31
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f20290
f20290
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-30
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f20290
f20290
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-29
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f20290
f20290
* Thu Aug 31 2017 Mat Booth <mat.booth@redhat.com> - 1.3-28
f20290
- Make the OSGi dep on servlet APIs optional
f20290
f20290
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-27
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f20290
f20290
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-26
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f20290
f20290
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-25
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f20290
f20290
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-24
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f20290
f20290
* Fri Apr 24 2015 Mat Booth <mat.booth@redhat.com> - 1.3-23
f20290
- Fix optional deps in OSGi manifest
f20290
f20290
* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-22
f20290
- Cleanup spec file
f20290
f20290
* Wed Feb 25 2015 Alexander Kurtakov <akurtako@redhat.com> 1.3-21
f20290
- Rebuild for jsp api.
f20290
- Drop old javadoc pre section.
f20290
f20290
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-20
f20290
- Remove legacy Obsoletes/Provides for jakarta-commons
f20290
f20290
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-19
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f20290
f20290
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-18
f20290
- Use Requires: java-headless rebuild (#1067528)
f20290
f20290
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-17
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f20290
f20290
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-16
f20290
- Remove unneeded BR: maven-idea-plugin
f20290
f20290
* Tue Feb 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-15
f20290
- Migrate from Tomcat 6 to Tomcat 7
f20290
- Resolves: rhbz#913879
f20290
f20290
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-14
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f20290
f20290
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.3-13
f20290
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
f20290
- Replace maven BuildRequires with maven-local
f20290
f20290
* Tue Jan 15 2013 Michal Srb <msrb@redhat.com> - 1.3-12
f20290
- Build with xmvn
f20290
f20290
* Thu Nov 22 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-11
f20290
- Install NOTICE file
f20290
- Resolves: rhbz#879556
f20290
f20290
* Fri Nov  9 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-10
f20290
- Don't build-require maven2
f20290
f20290
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f20290
f20290
* Fri Mar  2 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> 1.3-8
f20290
- Fix build and update to latest guidelines
f20290
f20290
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-7
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f20290
f20290
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
f20290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f20290
f20290
* Thu Oct 21 2010 Chris Spike <chris.spike@arcor.de> 1.3-5
f20290
- tomcat5 -> tomcat6 BRs/Rs
f20290
f20290
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-4
f20290
- Add license to javadoc subpackage
f20290
f20290
* Thu May 27 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-3
f20290
- Add tomcat5 to BR
f20290
f20290
* Tue May 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-2
f20290
- Fix ownership of some directories
f20290
f20290
* Tue May 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-1
f20290
- Rename package (jakarta-commons-jxpath->apache-commons-jxpath)
f20290
- Cleanup spec file
f20290
- Build using maven, drop old pom file from sources
f20290
- Update to upstream version
f20290
f20290
* Thu Aug 20 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-9
f20290
- Fix random spaces.
f20290
f20290
* Wed Aug 19 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-8
f20290
- BuildRequires java-devel >= 1.6.0.
f20290
f20290
* Wed Aug 19 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-7
f20290
- Initial package for Fedora.
f20290
f20290
* Sun May 17 2009 Fernando Nasser <fnasser@redhat.com> - 0:1.2-6
f20290
- Fix License
f20290
- Provide intructions for obtaining source and refresh source tar ball
f20290
f20290
* Wed Mar 18 2009 Yong Yang <yyang@redhat.com> - 0:1.2-5
f20290
- rebuild with new maven2 2.0.8 built in bootstrap mode
f20290
f20290
* Thu Feb 05 2009 Yong Yang <yyang@redhat.com> - 0:1.2-4
f20290
- Fix release tag
f20290
f20290
* Thu Jan 08 2009 Yong Yang <yyang@redhat.com> - 0:1.2-3jpp.1
f20290
- Import from dbhole's maven 2.0.8 packages, initial building
f20290
f20290
* Wed Apr 09 2008 Deepak Bhole <dbhole@redhat.com> - 0:1.2-2jpp.1
f20290
- Import from JPackage
f20290
- Added pom file
f20290
f20290
* Wed Jun 07 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.2-2jpp
f20290
- First JPP 1.7 build
f20290
f20290
* Sat Sep 18 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.2-1jpp
f20290
- Upgrade to 1.2
f20290
- Use jdom-1.0-0.rc1.1jpp
f20290
- Relax some versioned dependencies
f20290
f20290
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.1-3jpp
f20290
- Rebuild with ant-1.6.2
f20290
f20290
* Tue Jun 01 2004 Randy Watler <rwatler at finali.com> - 0:1.1-2jpp
f20290
- Upgrade to Ant 1.6.X
f20290
f20290
* Mon Jan 19 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.1-1jpp
f37ef3
- First JPackage release