From 504e367d7757c4e29c30890183c387171b70d82f Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Aug 27 2013 15:01:18 +0000 Subject: import qdox-1.12.1-8.el7.src.rpm --- diff --git a/.qdox.metadata b/.qdox.metadata new file mode 100644 index 0000000..3707ea0 --- /dev/null +++ b/.qdox.metadata @@ -0,0 +1 @@ +e88fa1195d81c48443d077cddabbd3ca9fa851d7 SOURCES/qdox-1.12.1-project.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +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/qdox-MANIFEST.MF b/SOURCES/qdox-MANIFEST.MF new file mode 100644 index 0000000..0ef2446 --- /dev/null +++ b/SOURCES/qdox-MANIFEST.MF @@ -0,0 +1,19 @@ +Manifest-Version: 1.0 +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: J2SE-1.4 +Bundle-Name: %pluginName +Bundle-SymbolicName: com.thoughtworks.qdox +Bundle-Version: 1.6.3.v20081201-1400 +Export-Package: com.thoughtworks.qdox;version="1.6.3",com.thoughtworks + .qdox.ant;version="1.6.3",com.thoughtworks.qdox.directorywalker;versi + on="1.6.3",com.thoughtworks.qdox.junit;version="1.6.3",com.thoughtwor + ks.qdox.model;version="1.6.3",com.thoughtworks.qdox.model.util;versio + n="1.6.3",com.thoughtworks.qdox.parser;version="1.6.3",com.thoughtwor + ks.qdox.parser.impl;version="1.6.3",com.thoughtworks.qdox.parser.stru + cts;version="1.6.3",com.thoughtworks.qdox.tools;version="1.6.3" +Bundle-ManifestVersion: 2 +Import-Package: junit.framework;version="[3.8.2,4.0.0)";resolution:=op + tional,org.apache.tools.ant;version="[1.7.0,2.0.0)";resolution:=optio + nal,org.apache.tools.ant.types;version="[1.7.0,2.0.0)";resolution:=op + tional diff --git a/SPECS/qdox.spec b/SPECS/qdox.spec new file mode 100644 index 0000000..57ab632 --- /dev/null +++ b/SPECS/qdox.spec @@ -0,0 +1,264 @@ +# Copyright (c) 2000-2009, 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. +# + +Summary: Extract class/interface/method definitions from sources +Name: qdox +Version: 1.12.1 +Release: 8%{?dist} +Epoch: 0 +License: ASL 2.0 +URL: http://qdox.codehaus.org/ +Group: Development/Libraries +Source0: http://repo2.maven.org/maven2/com/thoughtworks/qdox/qdox/%{version}/%{name}-%{version}-project.tar.bz2 +Source1: qdox-MANIFEST.MF + +BuildRequires: jpackage-utils >= 0:1.7.4 +BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: ant >= 0:1.6 +BuildRequires: ant-junit >= 0:1.6 +BuildRequires: junit >= 0:3.8.1 +BuildRequires: byaccj +BuildRequires: jflex +BuildRequires: maven-local +BuildRequires: maven-changes-plugin +BuildRequires: maven-clean-plugin +BuildRequires: maven-dependency-plugin +BuildRequires: maven-deploy-plugin +BuildRequires: maven-install-plugin +BuildRequires: maven-site-plugin +BuildRequires: maven-surefire-plugin +BuildRequires: maven-surefire-provider-junit +BuildRequires: maven-release-plugin +BuildRequires: zip + +BuildArch: noarch +Obsoletes: qdox-manual <= 0:1.9.2 + + +%description +QDox is a high speed, small footprint parser +for extracting class/interface/method definitions +from source files complete with JavaDoc @tags. +It is designed to be used by active code +generators or documentation tools. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation + +%description javadoc +API docs for %{name}. + + +%prep +%setup -q +find -name *.jar -delete +rm -rf bootstrap + +# Ant changed groupId +%pom_remove_dep ant:ant +%pom_add_dep org.apache.ant:ant + +# We don't need these plugins +%pom_remove_plugin :maven-antrun-plugin +%pom_remove_plugin :maven-jflex-plugin +%pom_remove_plugin :maven-resources-plugin +%pom_remove_plugin :xsite-maven-plugin +%pom_xpath_remove pom:build/pom:extensions + +%mvn_file : %{name} +%mvn_alias : "qdox:qdox" + +# %%mvn_install macro can't install apidocs from custom directory, use default one +%pom_xpath_remove pom:reporting/pom:outputDirectory + +%build +# Generate scanner (upstream does this with maven-jflex-plugin) +jflex \ + -d src/java \ + --skel src/grammar/skeleton.inner \ + src/grammar/lexer.flex + +# Generate parser (upstream does this with maven-antrun-plugin) +dir=src/java/com/thoughtworks/qdox/parser/impl +mkdir -p $dir +(cd ./$dir +byaccj \ + -v \ + -Jnorun \ + -Jnoconstruct \ + -Jclass=Parser \ + -Jsemantic=Value \ + -Jpackage=com.thoughtworks.qdox.parser.impl \ + ../../../../../../grammar/parser.y) + +# Build artifact +%mvn_build -f + +# Inject OSGi manifests +mkdir -p META-INF +cp -p %{SOURCE1} META-INF/MANIFEST.MF +touch META-INF/MANIFEST.MF +zip -u target/%{name}-%{version}.jar META-INF/MANIFEST.MF + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE.txt README.txt + +%files javadoc -f .mfiles-javadoc +%doc LICENSE.txt + +%changelog +* Tue Aug 27 2013 Michal Srb - 0:1.12.1-8 +- Install javadoc + +* Tue Aug 27 2013 Michal Srb - 0:1.12.1-7 +- Migrate away from mvn-rpmbuild (Resolves: #997469) + +* Fri Jun 28 2013 Mikolaj Izdebski - 0:1.12.1-6 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Sat Feb 23 2013 Alexander Kurtakov 0:1.12.1-5 +- Remove wagon-webdav extension. + +* Thu Feb 14 2013 Fedora Release Engineering - 0:1.12.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 0:1.12.1-3 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Wed Jan 9 2013 Mikolaj Izdebski - 0:1.12.1-2 +- Run jflex manually before Maven build is started +- Resolves: rhbz#879653 + +* Tue Dec 11 2012 Alexander Kurtakov 0:1.12.1-1 +- Update to latest upstream release. + +* Tue Nov 13 2012 Stanislav Ochotnicky - 0:1.12-7 +- Add license to javadoc subpackage + +* Wed Aug 1 2012 Alexander Kurtakov 0:1.12-6 +- Inject osgi metadata from eclipse orbit. + +* Sat Jul 21 2012 Fedora Release Engineering - 0:1.12-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0:1.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 10 2011 Alexander Kurtakov 0:1.12-3 +- Build with maven 3.x. +- Adapt to current guidelines. + +* Tue Feb 08 2011 Fedora Release Engineering - 0:1.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Oct 5 2010 Alexander Kurtakov 0:1.12-1 +- Update to new version. + +* Mon Jun 7 2010 Alexander Kurtakov 0:1.11-3 +- Make sure to remove all yacc executables. + +* Mon Jun 7 2010 Alexander Kurtakov 0:1.11-2 +- Symlink byaccj to both yacc.linux and yacc.linux.x86_64 to keep it building as noarch. + +* Mon Mar 15 2010 Alexander Kurtakov 0:1.11-1 +- Update to 1.11. + +* Mon Feb 15 2010 Alexander Kurtakov 0:1.10.1-2 +- Rebuild for rhbz#565013. + +* Thu Jan 14 2010 Alexander Kurtakov 0:1.10.1-1 +- Update to upstream 1.10.1. + +* Sat Sep 19 2009 Alexander Kurtakov 0:1.9.2-2 +- Remove not needed sources. + +* Tue Aug 18 2009 Alexander Kurtakov 0:1.9.2-1 +- Update to 1.9.2. + +* Fri Apr 03 2009 Ralph Apel 0:1.8-1.jpp5 +- 1.8 as qdox18 because of qdox frozen at 1.6.1 in JPP-5 + +* Tue Jul 01 2008 Ralph Apel 0:1.6.3-5.jpp5 +- Restore to devel +- Drop mockobjects BR + +* Fri Jun 13 2008 Ralph Apel 0:1.6.3-4.jpp5 +- Add com.thoughtworks.qdox groupId to depmap frag + +* Tue Feb 26 2008 Ralph Apel 0:1.6.3-3jpp +- Add settings file +- Fix pom marking jmock dependency as of scope test +- Fix -jpp-depmap.xml for asm2-parent + +* Mon Nov 26 2007 Ralph Apel 0:1.6.3-2jpp +- Fix maven macro value + +* Thu Nov 22 2007 Ralph Apel 0:1.6.3-1jpp +- Upgrade to 1.6.3 + +* Wed May 30 2007 Ralph Apel 0:1.6.2-1jpp +- Upgrade to 1.6.2 +- Activate tests while building with ant +- Make Vendor, Distribution based on macro +- Install depmap frags, poms + +* Thu Mar 22 2007 Vivek Lakshmanan 0:1.6.1-1jpp.ep1.4 +- Rebuild with fixed component-info.xml + +* Fri Feb 23 2007 Ralph Apel 0:1.5-3jpp +- Add option to build without maven +- Omit tests when building without maven +- Add gcj_support option + +* Mon Feb 20 2006 Ralph Apel - 0:1.5-2jpp +- Rebuild for JPP-1.7, adapting to maven-1.1 + +* Wed Nov 16 2005 Ralph Apel - 0:1.5-1jpp +- Upgrade to 1.5 +- Build is now done with maven and requires jflex and byaccj + +* Wed Aug 25 2004 Fernando Nasser - 0:1.4-3jpp +- Rebuild with Ant 1.6.2 + +* Fri Aug 06 2004 Ralph Apel - 0:1.4-2jpp +- Upgrade to ant-1.6.X + +* Mon Jun 07 2004 Ralph Apel - 0:1.4-1jpp +- Upgrade to 1.4 +- Drop Requires: mockobjects (Build/Test only) + +* Tue Feb 24 2004 Ralph Apel - 0:1.3-1jpp +- First JPackage release