diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3d6a01f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jaxen-1.1.3-src.tar.gz diff --git a/.rh-java-common-jaxen.metadata b/.rh-java-common-jaxen.metadata new file mode 100644 index 0000000..47760a9 --- /dev/null +++ b/.rh-java-common-jaxen.metadata @@ -0,0 +1 @@ +35c543df4ff06903d4af65c1a0c93697d7a60eeb SOURCES/jaxen-1.1.3-src.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/build.xml b/SOURCES/build.xml new file mode 100644 index 0000000..0b28444 --- /dev/null +++ b/SOURCES/build.xml @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ================================= WARNING ================================ + Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed. + ========================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SOURCES/jaxen-1.1.3.pom b/SOURCES/jaxen-1.1.3.pom new file mode 100644 index 0000000..454044a --- /dev/null +++ b/SOURCES/jaxen-1.1.3.pom @@ -0,0 +1,340 @@ + + + 4.0.0 + + jaxen + jaxen + 1.1.3 + + + Codehaus + http://codehaus.org + + 2001 + + jar + + Jaxen is a universal Java XPath engine. + Jaxen is a universal Java XPath engine. + + http://jaxen.codehaus.org/ + + + + The Werken Company License + http://jaxen.codehaus.org/license.html + + + + + http://jira.codehaus.org/BrowseProject.jspa?id=10022 + + + + scm:svn:https://svn.codehaus.org/jaxen/trunk/jaxen/ + http://fisheye.codehaus.org/browse/jaxen/ + + + + + Jaxen Users List + user-subscribe@jaxen.codehaus.org + user-unsubscribe@jaxen.codehaus.org + http://archive.jaxen.codehaus.org/user/ + + + Jaxen Developers List + dev-subscribe@jaxen.codehaus.org + dev-unsubscribe@jaxen.codehaus.org + http://archive.jaxen.codehaus.org/dev/ + + + Jaxen CVS Commits List + scm-subscribe@jaxen.codehaus.org + scm-unsubscribe@jaxen.codehaus.org + http://archive.jaxen.codehaus.org/scm/ + + + + + + + + + Bob McWhirter + bob + bob.mcwhirter@redhat.com + The Werken Company + + + + James Strachan + jstrachan + james_strachan@yahoo.co.uk + Spiritsoft + + + + David Megginson + dmegginson + contact@megginson.com + Megginson Technologies + + + + Erwin Bolwidt + eboldwidt + erwin@klomp.org + + + + Mark A. Belonga + mbelonga + mbelonga@users.sourceforge.net + + + + Christian Nentwich + + cnentwich + xcut@users.sourceforge.net + + + + Alexander Day Chaffee + purpletech + purpletech@users.sourceforge.net + Purple Technologies + + + + Jan Dvorak + jdvorak + jdvorak@users.sourceforge.net + + + + Attila Szegedi + szegedia + szegedia@users.sourceforge.net + + + + Peter Royal + proyal + peter.royal@pobox.com + http://fotap.org/~osi + + + + Scott Sanders + ssanders + scott@dotnot.org + dotnot + http://dotnot.org/blog + + + + Brian Ewins + bewins + brian.ewins@gmail.com + + + + Elliotte Rusty Harold + elharo + elharo@ibiblio.org + Cafe au Lait + http://www.elharo.com/ + + + + + + + Ryan Gustafson + rgustav@users.sourceforge.net + + + + David Peterson + david@randombits.org + + + + Mark Wilson + mark.wilson@wilsoncom.de + + + + Jacob Kjome + hoju@visi.com + + + + Michael Brennan + mpbrennan@earthlink.net + + + + Jason Hunter + jhunter@xquery.com + + + + Brett Mclaughlin + brett.mclaughlin@lutris.com + + + + Bradley S. Huffman + hip@cs.okstate.edu + + + + + K. Ari Krupnikov + ari@lib.aero + + + + + Paul R. Brown + prb@fivesight.com + + + + + + Guoliang Cao + cao@ispsoft.com + + + + Jérôme Nègre + jerome.negre@e-xmlmedia.fr + + + + + + + + Eddie McGreal + emcgreal@BlackPearl.com + + + + Steen Lehmann + slehmann@users.sourceforge.net + + + + + + maven-jdepend-plugin + maven-checkstyle-plugin + maven-cobertura-plugin + maven-changelog-plugin + maven-developer-activity-plugin + + + maven-license-plugin + maven-javadoc-plugin + maven-jxr-plugin + maven-junit-report-plugin + maven-linkcheck-plugin + maven-pmd-plugin + maven-findbugs-plugin + + + + + + + + + + dom4j + dom4j + 1.6.1 + + + + jdom + jdom + 1.0 + + + + xml-apis + xml-apis + 1.3.02 + + + + xerces + xercesImpl + 2.6.2 + + + + xom + xom + 1.0 + + + + maven-plugins + maven-cobertura-plugin + 1.3 + plugin + + + + + + maven-plugins + maven-findbugs-plugin + 1.3.1 + plugin + + + + + + + + + + src/java/main + + + + + + diff --git a/SPECS/jaxen.spec b/SPECS/jaxen.spec new file mode 100644 index 0000000..3f406fa --- /dev/null +++ b/SPECS/jaxen.spec @@ -0,0 +1,277 @@ +%global pkg_name jaxen +%{?scl:%scl_package %{pkg_name}} +%{?java_common_find_provides_and_requires} + +# Copyright (c) 2000-2005, JPackage Project +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the +# distribution. +# 3. Neither the name of the JPackage Project nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +Name: %{?scl_prefix}%{pkg_name} +Version: 1.1.3 +Release: 11.12%{?dist} +Epoch: 0 +Summary: An XPath engine written in Java +License: BSD +URL: http://jaxen.codehaus.org/ +Source0: http://dist.codehaus.org/jaxen/distributions/jaxen-%{version}-src.tar.gz +Source1: build.xml +Source2: http://repo1.maven.org/maven2/%{pkg_name}/%{pkg_name}/%{version}/%{pkg_name}-%{version}.pom +Requires: %{?scl_prefix}dom4j >= 0:1.6.1 +Requires: %{?scl_prefix}jdom >= 0:1.0-0.rc1.1jpp +Requires: %{?scl_prefix}xalan-j2 +Requires: %{?scl_prefix}xerces-j2 +BuildRequires: %{?scl_prefix}javapackages-tools +BuildRequires: %{?scl_prefix}ant >= 0:1.6 +BuildRequires: %{?scl_prefix}junit +BuildRequires: %{?scl_prefix}ant-junit +BuildRequires: %{?scl_prefix}dom4j >= 0:1.6.1 +BuildRequires: %{?scl_prefix}jdom >= 0:1.0-0.rc1.1jpp +BuildRequires: %{?scl_prefix}xalan-j2 +BuildRequires: %{?scl_prefix}xerces-j2 +BuildArch: noarch + +%description +Jaxen is an XPath engine written in Java to work against a variety of XML +based object models such as DOM, dom4j and JDOM together with Java +Beans. + +%package demo +Summary: Samples for %{pkg_name} +Requires: %{name} = 0:%{version}-%{release} + +%description demo +%{summary}. + +%package javadoc +Summary: Javadoc for %{pkg_name} + +%description javadoc +%{summary}. + +%prep +%setup -q -n %{pkg_name}-%{version} +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +find . -name "*.jar" -exec rm -f {} \; +cp %{SOURCE1} . +cp %{SOURCE2} pom.xml +mkdir -p target/lib +pushd target/lib +build-jar-repository . dom4j-1.6.1.jar jdom-1.0.jar +ln -s %{_javadir}/xerces-j2.jar xercesImpl-2.6.2.jar +popd +rm -rf src/java/main/org/jaxen/xom +rm src/java/test/org/jaxen/test/XOM*.java +%pom_remove_dep xom:xom +%pom_remove_dep :maven-cobertura-plugin +%pom_remove_dep :maven-findbugs-plugin +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +mkdir .maven +export CLASSPATH=$(build-classpath xml-commons-apis) +ant -Dant.build.sysclasspath=first jar javadoc +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +# jars +install -d -m 755 $RPM_BUILD_ROOT%{_javadir} +install -m 644 target/%{pkg_name}-%{version}.jar \ +$RPM_BUILD_ROOT%{_javadir}/%{pkg_name}.jar + +# javadoc +install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} +cp -pr dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} + +# demo +install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{pkg_name}-%{version}/samples +cp -pr src/java/samples/* $RPM_BUILD_ROOT%{_datadir}/%{pkg_name}-%{version}/samples + +# POM and depmap +install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} +install -p -m 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{pkg_name}.pom +%add_maven_depmap -a saxpath:saxpath +%{?scl:EOF} + +%files -f .mfiles +%doc LICENSE.txt + +%files javadoc +%doc %{_javadocdir}/* + +%files demo +%{_datadir}/%{pkg_name}-%{version} + +%changelog +* Tue Jan 13 2015 Michael Simacek - 0:1.1.3-11.12 +- Mass rebuild 2015-01-13 + +* Fri Jan 09 2015 Michal Srb - 0:1.1.3-11.11 +- Mass rebuild 2015-01-09 + +* Wed Jan 07 2015 Michal Srb - 1.1.3-11.10 +- Migrate to .mfiles + +* Tue Dec 16 2014 Mikolaj Izdebski - 0:1.1.3-11.9 +- Migrate requires and build-requires to rh-java-common + +* Mon Dec 15 2014 Mikolaj Izdebski - 0:1.1.3-11.8 +- Mass rebuild 2014-12-15 + +* Mon Dec 15 2014 Mikolaj Izdebski - 0:1.1.3-11.7 +- Rebuild for rh-java-common collection + +* Mon May 26 2014 Mikolaj Izdebski - 0:1.1.3-11.6 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 0:1.1.3-11.5 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 0:1.1.3-11.4 +- Mass rebuild 2014-02-18 + +* Mon Feb 17 2014 Michal Srb - 0:1.1.3-11.3 +- SCL-ize BR/R + +* Thu Feb 13 2014 Mikolaj Izdebski - 0:1.1.3-11.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 0:1.1.3-11.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 01.1.3-11 +- Mass rebuild 2013-12-27 + +* Fri Jun 28 2013 Mikolaj Izdebski - 0:1.1.3-10 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Thu Feb 14 2013 Fedora Release Engineering - 0:1.1.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Nov 28 2012 Mikolaj Izdebski - 0:1.1.3-8 +- Remove xom dependency from POM +- Resolves: rhbz#880970 + +* Tue Nov 27 2012 Mikolaj Izdebski - 0:1.1.3-7 +- Remove unneeded dependency from POM: maven-cobertura-plugin +- Remove unneeded dependency from POM: maven-findbugs-plugin +- Resolves: rhbz#880692 + +* Fri Nov 2 2012 Mikolaj Izdebski - 0:1.1.3-6 +- Add maven POM + +* Thu Jul 19 2012 Fedora Release Engineering - 0:1.1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Feb 29 2012 Tomas Radej - 0:1.1.3-4 +- Removed xom dep from pom + +* Mon Feb 27 2012 Tomas Radej - 0:1.1.3-3 +- Removed XOM support (bz #785007) + +* Fri Jan 13 2012 Fedora Release Engineering - 0:1.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Nov 29 2011 Alexander Kurtakov 0:1.1.3-1 +- Update to latest upstream version. +- Adapt to current guidelines. + +* Wed Feb 09 2011 Fedora Release Engineering - 0:1.1.1-4.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0:1.1.1-3.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0:1.1.1-2.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Nov 25 2008 Devrim GUNDUZ - 0:1.1.1-1 +- Update to 1.1.1, to fix #465987 . + +* Wed Jul 9 2008 Tom "spot" Callaway - 0:1.1-1.3 +- drop repotag + +* Tue Feb 20 2007 Vivek Lakshmanan 0:1.1-1jpp.2.fc7 +- Add build-requires on ant-junit + +* Mon Feb 19 2007 Andrew Overholt 0:1.1-1jpp.1 +- Add explicit version-release on Provides and Obsoletes +- Untabify +- Remove %%ghost on versioned javadoc dir +- Just include %%{_javadocdir}/* for javadoc package + +* Wed Feb 14 2007 Andrew Overholt 0:1.1-1jpp.1 +- Bump to 1.1 final +- Make release Xjpp.Y%{?dist} +- Remove Distribution, Vendor +- Fix Group +- Remove cleaning of buildroot from beginning of %%prep +- Add cleaning of buildroot to beginning of %%install +- Remove %%section free +- Use Fedora buildroot + +* Sun Feb 26 2006 Fernando Nasser - 0:1.1-0.b7.4jpp +- Rebuild for JPP 1.7 + +* Wed Feb 15 2006 Ralph Apel 0:1.1-0.b7.3jpp +- Insert Copyright notice + +* Mon Feb 13 2006 Ralph Apel 0:1.1-0.b7.2jpp +- Adapt to maven-1.1 +- Create option to build without maven + +* Wed Aug 17 2005 Ralph Apel 0:1.1-0.b7.1jpp +- Upgrade to 1.1-beta-7 +- Now mavenized +- Requiring dom4j >= 1.6.1 +- rpmbuild option to inhibit build of manual (needs newer maven) + +* Thu Sep 09 2004 Ralph Apel 0:1.1-0.b2.1jpp +- Upgrade to 1.1-beta-2 +- Drop saxpath requirement as saxpath is now included in jaxen + +* Sun Aug 23 2004 Randy Watler - 0:1.0-4jpp +- Rebuild with ant-1.6.2 +* Mon Jan 19 2004 Ralph Apel 0:1.0-3jpp +- build against dom4j-1.4-1jpp +- introduce manual and demo subpackages +- patch org.jaxen.dom4j.DocumentNavigatorTest +- include LICENSE in main package +- run tests during build + +* Thu Jan 15 2004 Ralph Apel 0:1.0-2jpp +- activate support for dom4j by renaming lib/dom4j-core.jar to .zip + +* Sun May 04 2003 David Walluck 0:1.0-1jpp +- release