|
|
3216db |
%{?scl:%scl_package jline}
|
|
|
3216db |
%{!?scl:%global pkg_name %{name}}
|
|
|
3216db |
%{?java_common_find_provides_and_requires}
|
|
|
3216db |
|
|
|
3216db |
%global baserelease 5
|
|
|
3216db |
|
|
|
3216db |
Name: %{?scl_prefix}jline
|
|
|
3216db |
Version: 2.13
|
|
|
3216db |
Release: 4.%{baserelease}%{?dist}
|
|
|
3216db |
Summary: JLine is a Java library for handling console input
|
|
|
3216db |
License: BSD
|
|
|
3216db |
URL: https://github.com/jline/jline2
|
|
|
3216db |
|
|
|
3216db |
# git clone git://github.com/jline/jline2.git
|
|
|
3216db |
# cd jline2/ && git archive --format=tar --prefix=jline-2.13/ jline-2.13 | xz > jline-2.13.tar.xz
|
|
|
3216db |
Source0: jline-%{version}.tar.xz
|
|
|
3216db |
|
|
|
3216db |
BuildArch: noarch
|
|
|
3216db |
|
|
|
3216db |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
3216db |
BuildRequires: %{?scl_prefix_maven}maven-site-plugin
|
|
|
3216db |
BuildRequires: %{?scl_prefix}jansi
|
|
|
3216db |
BuildRequires: %{?scl_prefix_maven}fusesource-pom
|
|
|
3216db |
|
|
|
3216db |
%description
|
|
|
3216db |
JLine is a Java library for handling console input. It is similar
|
|
|
3216db |
in functionality to BSD editline and GNU readline. People familiar
|
|
|
3216db |
with the readline/editline capabilities for modern shells (such as
|
|
|
3216db |
bash and tcsh) will find most of the command editing features of
|
|
|
3216db |
JLine to be familiar.
|
|
|
3216db |
|
|
|
3216db |
%package javadoc
|
|
|
3216db |
Summary: Javadocs for %{pkg_name}
|
|
|
3216db |
|
|
|
3216db |
%description javadoc
|
|
|
3216db |
This package contains the API documentation for %{pkg_name}.
|
|
|
3216db |
|
|
|
3216db |
%prep
|
|
|
3216db |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
3216db |
set -e -x
|
|
|
3216db |
%setup -q -n jline-%{version}
|
|
|
3216db |
|
|
|
3216db |
# Remove maven-shade-plugin usage
|
|
|
3216db |
%pom_remove_plugin "org.apache.maven.plugins:maven-shade-plugin"
|
|
|
3216db |
# Remove animal sniffer plugin in order to reduce deps
|
|
|
3216db |
%pom_remove_plugin "org.codehaus.mojo:animal-sniffer-maven-plugin"
|
|
|
3216db |
|
|
|
3216db |
# Remove unavailable and unneeded deps
|
|
|
3216db |
%pom_xpath_remove "pom:build/pom:extensions"
|
|
|
3216db |
%pom_xpath_remove "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId = 'maven-site-plugin']"
|
|
|
3216db |
|
|
|
3216db |
# Do not import non-existing internal package
|
|
|
3216db |
%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"
|
|
|
3216db |
%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions" "<Import-Package>javax.swing;resolution:=optional,org.fusesource.jansi,!org.fusesource.jansi.internal</Import-Package>"
|
|
|
3216db |
|
|
|
3216db |
# Be sure to export jline.internal, but not org.fusesource.jansi.
|
|
|
3216db |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1317551
|
|
|
3216db |
%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Export-Package" "jline.*;-noimport:=true"
|
|
|
3216db |
|
|
|
3216db |
# For some reason these directories do not exist, failing compilation due to -Werror
|
|
|
3216db |
mkdir -p target/generated-sources/annotations
|
|
|
3216db |
mkdir -p target/generated-test-sources/test-annotations
|
|
|
3216db |
%{?scl:EOF}
|
|
|
3216db |
|
|
|
3216db |
|
|
|
3216db |
%build
|
|
|
3216db |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
3216db |
set -e -x
|
|
|
3216db |
%mvn_build -f
|
|
|
3216db |
%{?scl:EOF}
|
|
|
3216db |
|
|
|
3216db |
|
|
|
3216db |
%install
|
|
|
3216db |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
3216db |
set -e -x
|
|
|
3216db |
%mvn_install
|
|
|
3216db |
%{?scl:EOF}
|
|
|
3216db |
|
|
|
3216db |
|
|
|
3216db |
%files -f .mfiles
|
|
|
3216db |
%dir %{_javadir}/jline
|
|
|
3216db |
%dir %{_mavenpomdir}/jline
|
|
|
3216db |
|
|
|
3216db |
%files javadoc -f .mfiles-javadoc
|
|
|
3216db |
|
|
|
3216db |
%changelog
|
|
|
3216db |
* Thu Feb 16 2017 Michael Simacek <msimacek@redhat.com> - 2.13-4.5
|
|
|
3216db |
- Fix incorrect license tag
|
|
|
3216db |
- Resolves: rhbz#1422828
|
|
|
3216db |
|
|
|
3216db |
* Mon Jan 16 2017 Michael Simacek <msimacek@redhat.com> - 2.13-4.4
|
|
|
3216db |
- Fix dist tag
|
|
|
3216db |
|
|
|
3216db |
* Mon Jan 16 2017 Michael Simacek <msimacek@redhat.com> - 2.13-4.3
|
|
|
3216db |
- Rebuild to regenerate requires on java-headless
|
|
|
3216db |
- Resolves: rhbz#1413547
|
|
|
3216db |
|
|
|
3216db |
* Tue Jan 3 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.13-4.2
|
|
|
3216db |
- Build for rh-java-common
|
|
|
3216db |
- Resolves: rhbz#1401055
|
|
|
3216db |
|
|
|
3216db |
* Mon Jul 25 2016 Mat Booth <mat.booth@redhat.com> - 2.13-3.2
|
|
|
3216db |
- Don't build tests due to unavailable powermock library
|
|
|
3216db |
|
|
|
3216db |
* Mon Jul 25 2016 Mat Booth <mat.booth@redhat.com> - 2.13-3.1
|
|
|
3216db |
- Auto SCL-ise package for rh-eclipse46 collection
|
|
|
3216db |
|
|
|
3216db |
* Mon Mar 14 2016 Severin Gehwolf <sgehwolf@redhat.com> - 2.13-3
|
|
|
3216db |
- OSGi export jline.internal. Resolves RHBZ#1317551.
|
|
|
3216db |
|
|
|
3216db |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-2
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Wed Nov 25 2015 Severin Gehwolf <sgehwolf@redhat.com> - 2.13-1
|
|
|
3216db |
- Update to upstream 2.13 release.
|
|
|
3216db |
|
|
|
3216db |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.1-2
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Wed Feb 18 2015 Alexander Kurtakov <akurtako@redhat.com> 2.12.1-1
|
|
|
3216db |
- Update to upstream 2.12.1 release.
|
|
|
3216db |
|
|
|
3216db |
* Mon Jan 26 2015 Mat Booth <mat.booth@redhat.com> - 2.10-15
|
|
|
3216db |
- Fix FTBFS due to missing BR on site-plugin
|
|
|
3216db |
- Fix directory ownership
|
|
|
3216db |
- Fix bogus date in changelog
|
|
|
3216db |
|
|
|
3216db |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-14
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-13
|
|
|
3216db |
- Migrate BuildRequires from junit4 to junit
|
|
|
3216db |
|
|
|
3216db |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-12
|
|
|
3216db |
- Remove BuildRequires on maven-surefire-provider-junit4
|
|
|
3216db |
|
|
|
3216db |
* Tue Mar 11 2014 Michael Simacek <msimacek@redhat.com> - 2.10-11
|
|
|
3216db |
- Drop manual requires
|
|
|
3216db |
|
|
|
3216db |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.10-10
|
|
|
3216db |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
3216db |
|
|
|
3216db |
* Tue Oct 29 2013 Severin Gehwolf <sgehwolf@redhat.com> - 2.10-9
|
|
|
3216db |
- Package jline 2.x as jline. Resolves RHBZ#1022915.
|
|
|
3216db |
- Part of a large effort to make jline1 a compat package rather than jline2.
|
|
|
3216db |
See RHBZ#1022897.
|
|
|
3216db |
- Switch to xmvn.
|
|
|
3216db |
|
|
|
3216db |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-3
|
|
|
3216db |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
3216db |
- Replace maven BuildRequires with maven-local
|
|
|
3216db |
|
|
|
3216db |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Wed Feb 1 2012 Alexander Kurtakov <akurtako@redhat.com> 1.0-1
|
|
|
3216db |
- Update to 1.0.
|
|
|
3216db |
|
|
|
3216db |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.94-7
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Tue Dec 13 2011 Alexander Kurtakov <akurtako@redhat.com> 0.9.94-6
|
|
|
3216db |
- Build with maven 3.x.
|
|
|
3216db |
|
|
|
3216db |
* Sat Oct 15 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.9.94-5
|
|
|
3216db |
- BuildRequire maven2.
|
|
|
3216db |
|
|
|
3216db |
* Sat Oct 15 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.9.94-4
|
|
|
3216db |
- Patch delete to actually behave as delete instead of backspace, include
|
|
|
3216db |
keybindings.properties in docs (#720170).
|
|
|
3216db |
- Drop executable bit from jar.
|
|
|
3216db |
- Crosslink with local javadocs.
|
|
|
3216db |
- Include LICENSE.txt in -javadoc.
|
|
|
3216db |
|
|
|
3216db |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.94-3
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Sat Dec 18 2010 Mat Booth <fedora@matbooth.co.uk> - 0.9.94-2
|
|
|
3216db |
- Remove pre-built Windows-only binary artifacts.
|
|
|
3216db |
- Demo package was defined but never built for some reason.
|
|
|
3216db |
- Don't also package jar in the javadoc package!
|
|
|
3216db |
- Drop versioned java and javadocs.
|
|
|
3216db |
|
|
|
3216db |
* Sat Dec 18 2010 Mat Booth <fedora@matbooth.co.uk> - 0.9.94-1
|
|
|
3216db |
- Remove bundled jars in %%prep phase.
|
|
|
3216db |
- Tidy up spec file, fix some rpmlint warnings.
|
|
|
3216db |
- Add pom and depmaps.
|
|
|
3216db |
|
|
|
3216db |
* Mon Mar 8 2010 Peter Lemenkov <lemenkov@gmail.com> - 0:0.9.94-0.6
|
|
|
3216db |
- Added missing Requires: jpackage-utils (%%{_javadir} and %%{_javadocdir})
|
|
|
3216db |
|
|
|
3216db |
* Tue Jan 12 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.9.94-0.5
|
|
|
3216db |
- Fix BRs.
|
|
|
3216db |
- Drop gcj_support.
|
|
|
3216db |
|
|
|
3216db |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.9.94-0.4
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.9.94-0.3
|
|
|
3216db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3216db |
|
|
|
3216db |
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:9.94-0.2
|
|
|
3216db |
- drop repotag
|
|
|
3216db |
|
|
|
3216db |
* Mon Mar 24 2008 Matt Wringe <mwringe@redhat.com> - 0:9.94-0jpp.1
|
|
|
3216db |
- Update to 0.9.94 (BZ #436204)
|
|
|
3216db |
|
|
|
3216db |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:0.9.9-2jpp.1
|
|
|
3216db |
- Autorebuild for GCC 4.3
|
|
|
3216db |
|
|
|
3216db |
* Tue Mar 06 2007 Matt Wringe <mwringe@redhat.com> - 0:0.9.9-1jpp.1
|
|
|
3216db |
- Add option to build with ant.
|
|
|
3216db |
- Fix various rpmlint issues
|
|
|
3216db |
- Specify proper license
|
|
|
3216db |
|
|
|
3216db |
* Thu May 04 2006 Alexander Kurtakov <akurtkov at gmail.com> - 0:0.9.9-1jpp
|
|
|
3216db |
- Upgrade to 0.9.9
|
|
|
3216db |
|
|
|
3216db |
* Thu May 04 2006 Ralph Apel <r.apel at r-apel.de> - 0:0.9.5-1jpp
|
|
|
3216db |
- Upgrade to 0.9.5
|
|
|
3216db |
- First JPP-1.7 release
|
|
|
3216db |
|
|
|
3216db |
* Mon Apr 25 2005 Fernando Nasser <fnasser@redhat.com> - 0:0.9.1-1jpp
|
|
|
3216db |
- Upgrade to 0.9.1
|
|
|
3216db |
- Disable attempt to include external jars
|
|
|
3216db |
|
|
|
3216db |
* Mon Apr 25 2005 Fernando Nasser <fnasser@redhat.com> - 0:0.8.1-3jpp
|
|
|
3216db |
- Changes to use locally installed DTDs
|
|
|
3216db |
- Do not try and access sun site for linking javadoc
|
|
|
3216db |
|
|
|
3216db |
* Mon Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:0.8.1-2jpp
|
|
|
3216db |
- Rebuild with ant-1.6.2
|
|
|
3216db |
|
|
|
3216db |
* Mon Jan 26 2004 David Walluck <david@anti-microsoft.org> 0:0.8.1-1jpp
|
|
|
3216db |
- release
|