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