765dda
%global base_name       jxpath
765dda
%global short_name      commons-%{base_name}
765dda
765dda
Name:             apache-%{short_name}
765dda
Version:          1.3
ebd89a
Release:          20%{?dist}
765dda
Summary:          Simple XPath interpreter
765dda
765dda
Group:            Development/Libraries
765dda
License:          ASL 2.0
765dda
URL:              http://commons.apache.org/%{base_name}/
765dda
Source0:          http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
765dda
Patch0:           %{short_name}-mockrunner.patch
765dda
BuildArch:        noarch
765dda
765dda
BuildRequires:    java-devel >= 1:1.6.0
765dda
BuildRequires:    jpackage-utils
765dda
BuildRequires:    maven-local
765dda
BuildRequires:    apache-commons-parent >= 26-7
765dda
BuildRequires:    maven-antrun-plugin
765dda
BuildRequires:    maven-assembly-plugin
765dda
BuildRequires:    maven-compiler-plugin
765dda
BuildRequires:    maven-install-plugin
765dda
BuildRequires:    maven-jar-plugin
765dda
BuildRequires:    maven-javadoc-plugin
765dda
BuildRequires:    maven-plugin-bundle
765dda
BuildRequires:    maven-resources-plugin
765dda
BuildRequires:    maven-surefire-plugin
765dda
BuildRequires:    servlet
765dda
BuildRequires:    jsp
765dda
BuildRequires:    el_api
765dda
765dda
Provides:         jakarta-%{short_name} = 0:%{version}-%{release}
765dda
Obsoletes:        jakarta-%{short_name} < 0:%{version}-%{release}
765dda
765dda
%description
765dda
Defines a simple interpreter of an expression language called XPath.
765dda
JXPath applies XPath expressions to graphs of objects of all kinds:
765dda
JavaBeans, Maps, Servlet contexts, DOM etc, including mixtures thereof.
765dda
765dda
%package javadoc
765dda
Summary:          API documentation for %{name}
765dda
Group:            Documentation
765dda
Requires:         jpackage-utils
765dda
765dda
Provides:         jakarta-%{short_name}-javadoc = 0:%{version}-%{release}
765dda
Obsoletes:        jakarta-%{short_name}-javadoc < 0:%{version}-%{release}
765dda
765dda
%description javadoc
765dda
This package contains the API documentation for %{name}.
765dda
765dda
%prep
765dda
%setup -q -n %{short_name}-%{version}-src
765dda
%patch0 -p1
765dda
765dda
%build
765dda
# we are skipping tests because we don't have com.mockrunner in repos yet
765dda
%mvn_file  : %{short_name} %{name}
765dda
%mvn_alias : org.apache.commons:%{short_name}
765dda
%mvn_build -f
765dda
765dda
%install
765dda
%mvn_install
765dda
765dda
765dda
%files -f .mfiles
765dda
%doc LICENSE.txt NOTICE.txt
765dda
765dda
%files javadoc -f .mfiles-javadoc
765dda
%doc LICENSE.txt NOTICE.txt
765dda
765dda
%changelog
ebd89a
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.3-20
ebd89a
- Mass rebuild 2013-12-27
ebd89a
765dda
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-19
765dda
- Add BuildRequires on apache-commons-parent >= 26-7
765dda
765dda
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-18
765dda
- Remove workaround for rpm bug #646523
765dda
765dda
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-17
765dda
- Rebuild to regenerate API documentation
765dda
- Resolves: CVE-2013-1571
765dda
765dda
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-16
765dda
- Remove unneeded BR: maven-idea-plugin
765dda
765dda
* Tue Feb 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-15
765dda
- Migrate from Tomcat 6 to Tomcat 7
765dda
- Resolves: rhbz#913879
765dda
765dda
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-14
765dda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
765dda
765dda
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.3-13
765dda
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
765dda
- Replace maven BuildRequires with maven-local
765dda
765dda
* Tue Jan 15 2013 Michal Srb <msrb@redhat.com> - 1.3-12
765dda
- Build with xmvn
765dda
765dda
* Thu Nov 22 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-11
765dda
- Install NOTICE file
765dda
- Resolves: rhbz#879556
765dda
765dda
* Fri Nov  9 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-10
765dda
- Don't build-require maven2
765dda
765dda
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9
765dda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
765dda
765dda
* Fri Mar  2 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> 1.3-8
765dda
- Fix build and update to latest guidelines
765dda
765dda
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-7
765dda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
765dda
765dda
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
765dda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
765dda
765dda
* Thu Oct 21 2010 Chris Spike <chris.spike@arcor.de> 1.3-5
765dda
- tomcat5 -> tomcat6 BRs/Rs
765dda
765dda
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-4
765dda
- Add license to javadoc subpackage
765dda
765dda
* Thu May 27 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-3
765dda
- Add tomcat5 to BR
765dda
765dda
* Tue May 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-2
765dda
- Fix ownership of some directories
765dda
765dda
* Tue May 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-1
765dda
- Rename package (jakarta-commons-jxpath->apache-commons-jxpath)
765dda
- Cleanup spec file
765dda
- Build using maven, drop old pom file from sources
765dda
- Update to upstream version
765dda
765dda
* Thu Aug 20 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-9
765dda
- Fix random spaces.
765dda
765dda
* Wed Aug 19 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-8
765dda
- BuildRequires java-devel >= 1.6.0.
765dda
765dda
* Wed Aug 19 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-7
765dda
- Initial package for Fedora.
765dda
765dda
* Sun May 17 2009 Fernando Nasser <fnasser@redhat.com> - 0:1.2-6
765dda
- Fix License
765dda
- Provide intructions for obtaining source and refresh source tar ball
765dda
765dda
* Wed Mar 18 2009 Yong Yang <yyang@redhat.com> - 0:1.2-5
765dda
- rebuild with new maven2 2.0.8 built in bootstrap mode
765dda
765dda
* Thu Feb 05 2009 Yong Yang <yyang@redhat.com> - 0:1.2-4
765dda
- Fix release tag
765dda
765dda
* Thu Jan 08 2009 Yong Yang <yyang@redhat.com> - 0:1.2-3jpp.1
765dda
- Import from dbhole's maven 2.0.8 packages, initial building
765dda
765dda
* Wed Apr 09 2008 Deepak Bhole <dbhole@redhat.com> - 0:1.2-2jpp.1
765dda
- Import from JPackage
765dda
- Added pom file
765dda
765dda
* Wed Jun 07 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.2-2jpp
765dda
- First JPP 1.7 build
765dda
765dda
* Sat Sep 18 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.2-1jpp
765dda
- Upgrade to 1.2
765dda
- Use jdom-1.0-0.rc1.1jpp
765dda
- Relax some versioned dependencies
765dda
765dda
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.1-3jpp
765dda
- Rebuild with ant-1.6.2
765dda
765dda
* Tue Jun 01 2004 Randy Watler <rwatler at finali.com> - 0:1.1-2jpp
765dda
- Upgrade to Ant 1.6.X
765dda
765dda
* Mon Jan 19 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.1-1jpp
765dda
- First JPackage release