From cc7c6875af8347747e141e28cc54d83e0ca77ffd Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:32:41 +0000 Subject: import rh-maven33-jline-1.0-8.12.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b57b60b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jline-1.0.zip diff --git a/.rh-maven33-jline.metadata b/.rh-maven33-jline.metadata new file mode 100644 index 0000000..c914742 --- /dev/null +++ b/.rh-maven33-jline.metadata @@ -0,0 +1 @@ +b3ca86851faf7f2ef999c139e752107524e759ad SOURCES/jline-1.0.zip 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/CatalogManager.properties b/SOURCES/CatalogManager.properties new file mode 100644 index 0000000..f68f3e2 --- /dev/null +++ b/SOURCES/CatalogManager.properties @@ -0,0 +1,61 @@ +######################################################################## +# CatalogManager provides an interface to the catalog properties. +# Properties can come from two places: from system properties or +# from a CatalogManager.properties file. This class provides a +# transparent interface to both, with system properties preferred +# over property file values. + +####################################################################### +# Catalog Files: +# The semicolon-delimited list of catalog files. +# Example: catalogs=./xcatalog;/share/doctypes/catalog + +catalogs=/etc/xml/catalog;/etc/sgml/catalog + +####################################################################### +# Relative Catalogs: +# If false, relative catalog URIs are made absolute with respect to the +# base URI of the CatalogManager.properties file. This setting only +# applies to catalog URIs obtained from the catalogs property in the +# CatalogManager.properties file +# Example: relative-catalogs = [yes|no] + +relative-catalogs=yes + +####################################################################### +# Verbosity: +# If non-zero, the Catalog classes will print informative and debugging +# messages. The higher the number, the more messages. +# Example: verbosity = [0..99] + +verbosity=0 + +####################################################################### +# Prefer: +# Which identifier is preferred, "public" or "system"? +# Example: xml.catalog.prefer = [public|system] + +prefer=system + +####################################################################### +# Static-catalog: +# Should a single catalog be constructed for all parsing, or should a +# different catalog be created for each parser? +# Example: static-catalog = [yes|no] + +static-catalog=yes + +####################################################################### +# Allow-oasis-xml-catalog-pi +# If the source document contains "oasis-xml-catalog" processing +# instructions, should they be used? +# Example: allow-oasis-xml-catalog-pi = [yes|no] + +allow-oasis-xml-catalog-pi=yes + +####################################################################### +# catalog-class-name +# If you're using the convenience classes +# org.apache.xml.resolver.tools.*, this setting allows you to specify +# an alternate class name to use for the underlying catalog. +# Example: catalog-class-name=org.apache.xml.resolver.Resolver diff --git a/SOURCES/jline-0.9.94-crosslink.patch b/SOURCES/jline-0.9.94-crosslink.patch new file mode 100644 index 0000000..3534dd4 --- /dev/null +++ b/SOURCES/jline-0.9.94-crosslink.patch @@ -0,0 +1,12 @@ +diff -up jline-0.9.94/src/pom.xml~ jline-0.9.94/src/pom.xml +--- jline-0.9.94/src/pom.xml~ 2008-02-22 03:00:58.000000000 +0200 ++++ jline-0.9.94/src/pom.xml 2011-10-15 22:34:00.642269743 +0300 +@@ -164,7 +164,7 @@ To make a bundle and request that ibilio + true + true + +- http://java.sun.com/j2se/1.5.0/docs/api ++ /usr/share/javadoc/java + + + diff --git a/SPECS/jline.spec b/SPECS/jline.spec new file mode 100644 index 0000000..0ff93df --- /dev/null +++ b/SPECS/jline.spec @@ -0,0 +1,273 @@ +%global pkg_name jline +%{?scl:%scl_package %{pkg_name}} +%{?maven_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.0 +Release: 8.12%{?dist} +Summary: Java library for reading and editing user input in console applications +License: BSD +URL: http://jline.sourceforge.net/ +Source0: http://download.sourceforge.net/sourceforge/jline/jline-%{version}.zip +Source1: CatalogManager.properties +Patch1: %{pkg_name}-0.9.94-crosslink.patch + +Requires: bash +# for /bin/stty +Requires: coreutils + +BuildRequires: %{?scl_prefix_java_common}javapackages-tools +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix}maven-assembly-plugin +BuildRequires: %{?scl_prefix}maven-compiler-plugin +BuildRequires: %{?scl_prefix}maven-install-plugin +BuildRequires: %{?scl_prefix}maven-jar-plugin +BuildRequires: %{?scl_prefix}maven-javadoc-plugin +BuildRequires: %{?scl_prefix}maven-resources-plugin +BuildRequires: %{?scl_prefix}maven-site-plugin +BuildRequires: %{?scl_prefix}maven-surefire-plugin +BuildRequires: %{?scl_prefix}maven-surefire-provider-junit + +BuildArch: noarch + +%description +JLine is a java library for reading and editing user input in console +applications. It features tab-completion, command history, password +masking, configurable key-bindings, and pass-through handlers to use to +chain to other console applications. + +%package demo +Summary: Demos for %{pkg_name} +Requires: %{name} = %{version}-%{release} + +%description demo +Demonstrations and samples for %{pkg_name}. + +%package javadoc +Summary: Javadoc for %{pkg_name} + +%description javadoc +Javadoc for %{pkg_name}. + +%prep +%setup -q -n %{pkg_name}-%{version} +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%patch1 -p1 + +# Make sure upstream hasn't sneaked in any jars we don't know about +find -name '*.class' -exec rm -f '{}' \; +find -name '*.jar' -exec rm -f '{}' \; + +# Remove pre-built Windows-only binary artifacts +rm src/src/main/resources/jline/jline*.dll + +# Use locally installed DTDs +mkdir build +cp -p %{SOURCE1} build/ +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +# Use locally installed DTDs +export CLASSPATH=%{_builddir}/%{pkg_name}-%{version}/build + +cd src/ + +%mvn_file : %{pkg_name} +%mvn_build +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +pushd src/ +%mvn_install +popd + +# demo +install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{pkg_name} +cp -pr examples %{buildroot}%{_datadir}/%{pkg_name} +%{?scl:EOF} + + +%files -f src/.mfiles +%doc LICENSE.txt src/src/main/resources/jline/keybindings.properties + +%files demo +%{_datadir}/%{pkg_name} + +%files javadoc -f src/.mfiles-javadoc +%doc LICENSE.txt + +%changelog +* Mon Feb 08 2016 Michal Srb - 1.0-8.12 +- Fix BR on maven-local & co. + +* Mon Jan 11 2016 Michal Srb - 1.0-8.11 +- maven33 rebuild #2 + +* Sat Jan 09 2016 Michal Srb - 1.0-8.10 +- maven33 rebuild + +* Tue Jan 13 2015 Michael Simacek - 1.0-8.9 +- Mass rebuild 2015-01-13 + +* Tue Jan 06 2015 Michael Simacek - 1.0-8.8 +- Mass rebuild 2015-01-06 + +* Mon May 26 2014 Mikolaj Izdebski - 1.0-8.7 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 1.0-8.6 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1.0-8.5 +- Mass rebuild 2014-02-18 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1.0-8.4 +- Remove requires on java + +* Mon Feb 17 2014 Mikolaj Izdebski - 1.0-8.3 +- SCL-ize build-requires + +* Thu Feb 13 2014 Mikolaj Izdebski - 1.0-8.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 1.0-8.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 1.0-8 +- Mass rebuild 2013-12-27 + +* Mon Aug 26 2013 Michal Srb - 1.0-7 +- Migrate away from mvn-rpmbuild (Resolves: #997501) + +* Fri Jul 12 2013 Mikolaj Izdebski - 1.0-6 +- Remove workaround for rpm bug #646523 + +* Fri Jun 28 2013 Mikolaj Izdebski - 1.0-5 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.0-3 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jul 19 2012 Fedora Release Engineering - 1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Feb 1 2012 Alexander Kurtakov 1.0-1 +- Update to 1.0. + +* Fri Jan 13 2012 Fedora Release Engineering - 0.9.94-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 13 2011 Alexander Kurtakov 0.9.94-6 +- Build with maven 3.x. + +* Sat Oct 15 2011 Ville Skyttä - 0.9.94-5 +- BuildRequire maven2. + +* Sat Oct 15 2011 Ville Skyttä - 0.9.94-4 +- Patch delete to actually behave as delete instead of backspace, include + keybindings.properties in docs (#720170). +- Drop executable bit from jar. +- Crosslink with local javadocs. +- Include LICENSE.txt in -javadoc. + +* Wed Feb 09 2011 Fedora Release Engineering - 0.9.94-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Dec 18 2010 Mat Booth - 0.9.94-2 +- Remove pre-built Windows-only binary artifacts. +- Demo package was defined but never built for some reason. +- Don't also package jar in the javadoc package! +- Drop versioned java and javadocs. + +* Sat Dec 18 2010 Mat Booth - 0.9.94-1 +- Remove bundled jars in %%prep phase. +- Tidy up spec file, fix some rpmlint warnings. +- Add pom and depmaps. + +* Mon Mar 8 2010 Peter Lemenkov - 0:0.9.94-0.6 +- Added missing Requires: jpackage-utils (%%{_javadir} and %%{_javadocdir}) + +* Tue Jan 12 2010 Alexander Kurtakov 0:0.9.94-0.5 +- Fix BRs. +- Drop gcj_support. + +* Fri Jul 24 2009 Fedora Release Engineering - 0:0.9.94-0.4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0:0.9.94-0.3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jul 9 2008 Tom "spot" Callaway - 0:9.94-0.2 +- drop repotag + +* Mon Mar 24 2008 Matt Wringe - 0:9.94-0jpp.1 +- Update to 0.9.94 (BZ #436204) + +* Tue Feb 19 2008 Fedora Release Engineering - 0:0.9.9-2jpp.1 +- Autorebuild for GCC 4.3 + +* Tue Mar 06 2007 Matt Wringe - 0:0.9.9-1jpp.1 +- Add option to build with ant. +- Fix various rpmlint issues +- Specify proper license + +* Thu May 04 2006 Alexander Kurtakov - 0:0.9.9-1jpp +- Upgrade to 0.9.9 + +* Thu May 04 2006 Ralph Apel - 0:0.9.5-1jpp +- Upgrade to 0.9.5 +- First JPP-1.7 release + +* Mon Apr 25 2005 Fernando Nasser - 0:0.9.1-1jpp +- Upgrade to 0.9.1 +- Disable attempt to include external jars + +* Mon Apr 25 2005 Fernando Nasser - 0:0.8.1-3jpp +- Changes to use locally installed DTDs +- Do not try and access sun site for linking javadoc + +* Sun Aug 23 2004 Randy Watler - 0:0.8.1-2jpp +- Rebuild with ant-1.6.2 + +* Mon Jan 26 2004 David Walluck 0:0.8.1-1jpp +- release