diff --git a/.devtoolset-4-jline.metadata b/.devtoolset-4-jline.metadata new file mode 100644 index 0000000..387022b --- /dev/null +++ b/.devtoolset-4-jline.metadata @@ -0,0 +1 @@ +46b1731f6b48befc79418e1db32bbd7873d9c3a1 SOURCES/jline-2.12.1.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ec2f1a5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jline-2.12.1.tar.xz 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/SPECS/jline.spec b/SPECS/jline.spec new file mode 100644 index 0000000..1f70849 --- /dev/null +++ b/SPECS/jline.spec @@ -0,0 +1,206 @@ +%{?scl:%scl_package jline} +%{!?scl:%global pkg_name %{name}} +%{?java_common_find_provides_and_requires} + +Name: %{?scl_prefix}jline +Version: 2.12.1 +Release: 2.1%{?dist} +Summary: JLine is a Java library for handling console input +License: BSD and ASL 2.0 +URL: https://github.com/jline/jline2 + +# git clone git://github.com/jline/jline2.git +# cd jline2/ && git archive --format=tar --prefix=jline-2.12.1/ jline-2.12.1 | xz > jline-2.12.1.tar.xz +Source0: jline-%{version}.tar.xz + +BuildArch: noarch + +BuildRequires: %{?scl_prefix_java_common}jpackage-utils + +BuildRequires: %{?scl_prefix_java_common}maven-local +BuildRequires: %{?scl_prefix_maven}maven-site-plugin +BuildRequires: %{?scl_prefix_java_common}jansi +BuildRequires: %{?scl_prefix_maven}fusesource-pom + +%description +JLine is a Java library for handling console input. It is similar +in functionality to BSD editline and GNU readline. People familiar +with the readline/editline capabilities for modern shells (such as +bash and tcsh) will find most of the command editing features of +JLine to be familiar. + +%package javadoc +Summary: Javadocs for %{pkg_name} + +%description javadoc +This package contains the API documentation for %{pkg_name}. + +%prep +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%setup -q -n jline-%{version} + +# Remove maven-shade-plugin usage +%pom_remove_plugin "org.apache.maven.plugins:maven-shade-plugin" +# Remove animal sniffer plugin in order to reduce deps +%pom_remove_plugin "org.codehaus.mojo:animal-sniffer-maven-plugin" + +# Remove unavailable and unneeded deps +%pom_xpath_remove "pom:build/pom:extensions" +%pom_xpath_remove "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId = 'maven-site-plugin']" + +# Do not import non-existing internal package +%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Import-Package" +%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions" "javax.swing;resolution:=optional,!org.fusesource.jansi.internal" + +# Let maven bundle plugin figure out the exports. +%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Export-Package" +%{?scl:EOF} + + +%build +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_build +%{?scl:EOF} + + +%install +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_install +%{?scl:EOF} + + +%files -f .mfiles +%dir %{_javadir}/jline +%dir %{_mavenpomdir}/jline + +%files javadoc -f .mfiles-javadoc + +%changelog +* Tue Jun 30 2015 Mat Booth - 2.12.1-2.1 +- Import latest from Fedora + +* Wed Jun 17 2015 Fedora Release Engineering - 2.12.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Feb 18 2015 Alexander Kurtakov 2.12.1-1 +- Update to upstream 2.12.1 release. + +* Mon Jan 26 2015 Mat Booth - 2.10-15 +- Fix FTBFS due to missing BR on site-plugin +- Fix directory ownership +- Fix bogus date in changelog + +* Sun Jun 08 2014 Fedora Release Engineering - 2.10-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon May 26 2014 Mikolaj Izdebski - 2.10-13 +- Migrate BuildRequires from junit4 to junit + +* Mon May 26 2014 Mikolaj Izdebski - 2.10-12 +- Remove BuildRequires on maven-surefire-provider-junit4 + +* Tue Mar 11 2014 Michael Simacek - 2.10-11 +- Drop manual requires + +* Tue Mar 04 2014 Stanislav Ochotnicky - 2.10-10 +- Use Requires: java-headless rebuild (#1067528) + +* Tue Oct 29 2013 Severin Gehwolf - 2.10-9 +- Package jline 2.x as jline. Resolves RHBZ#1022915. +- Part of a large effort to make jline1 a compat package rather than jline2. + See RHBZ#1022897. +- Switch to xmvn. + +* Sat Aug 03 2013 Fedora Release Engineering - 1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* 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 + +* Mon 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