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