Severin Gehwolf 19cb1f5
Name:             jline
Severin Gehwolf 829c232
Version:          2.13
74089a1
Release:          2%{?dist}
Severin Gehwolf 19cb1f5
Summary:          JLine is a Java library for handling console input
Severin Gehwolf 19cb1f5
License:          BSD and ASL 2.0
Severin Gehwolf 19cb1f5
URL:              https://github.com/jline/jline2
Severin Gehwolf 19cb1f5
Severin Gehwolf 19cb1f5
# git clone git://github.com/jline/jline2.git
Severin Gehwolf 829c232
# cd jline2/ && git archive --format=tar --prefix=jline-2.13/ jline-2.13 | xz > jline-2.13.tar.xz
Severin Gehwolf 19cb1f5
Source0:          jline-%{version}.tar.xz
Severin Gehwolf 19cb1f5
Severin Gehwolf 19cb1f5
BuildArch:        noarch
Severin Gehwolf 19cb1f5
Severin Gehwolf 19cb1f5
BuildRequires:    jpackage-utils
Severin Gehwolf 19cb1f5
BuildRequires:    java-devel
Severin Gehwolf 19cb1f5
BuildRequires:    maven-local
8d1de3b
BuildRequires:    maven-site-plugin
Severin Gehwolf 19cb1f5
BuildRequires:    jansi
Severin Gehwolf 19cb1f5
BuildRequires:    fusesource-pom
Severin Gehwolf 829c232
BuildRequires:    mvn(org.powermock:powermock-module-junit4)
Severin Gehwolf 829c232
BuildRequires:    mvn(org.powermock:powermock-api-easymock)
Severin Gehwolf 829c232
BuildRequires:    mvn(org.easymock:easymock)
Severin Gehwolf 19cb1f5
Severin Gehwolf 19cb1f5
Obsoletes: jline2 < %{version}-%{release}
Severin Gehwolf 19cb1f5
Provides: jline2 = %{version}-%{release}
Matt Wringe 228dfec
Matt Wringe 228dfec
%description
Severin Gehwolf 19cb1f5
JLine is a Java library for handling console input. It is similar
Severin Gehwolf 19cb1f5
in functionality to BSD editline and GNU readline. People familiar
Severin Gehwolf 19cb1f5
with the readline/editline capabilities for modern shells (such as
Severin Gehwolf 19cb1f5
bash and tcsh) will find most of the command editing features of
Severin Gehwolf 19cb1f5
JLine to be familiar. 
Severin Gehwolf 19cb1f5
Severin Gehwolf 19cb1f5
%package javadoc
Severin Gehwolf 19cb1f5
Summary:          Javadocs for %{name}
Severin Gehwolf 19cb1f5
Obsoletes: jline2-javadoc < %{version}-%{release}
Severin Gehwolf 19cb1f5
Provides: jline2-javadoc = %{version}-%{release}
Severin Gehwolf 19cb1f5
Severin Gehwolf 19cb1f5
%description javadoc
Severin Gehwolf 19cb1f5
This package contains the API documentation for %{name}.
Matt Wringe 228dfec
Matt Wringe 228dfec
%prep
Severin Gehwolf 19cb1f5
%setup -q -n jline-%{version}
Matt Wringe 228dfec
Severin Gehwolf 19cb1f5
# Remove maven-shade-plugin usage
Severin Gehwolf 19cb1f5
%pom_remove_plugin "org.apache.maven.plugins:maven-shade-plugin"
Severin Gehwolf 19cb1f5
# Remove animal sniffer plugin in order to reduce deps
Severin Gehwolf 19cb1f5
%pom_remove_plugin "org.codehaus.mojo:animal-sniffer-maven-plugin"
Matt Wringe 228dfec
Severin Gehwolf 19cb1f5
# Remove unavailable and unneeded deps
Severin Gehwolf 19cb1f5
%pom_xpath_remove "pom:build/pom:extensions"
Severin Gehwolf 19cb1f5
%pom_xpath_remove "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId = 'maven-site-plugin']"
mbooth 9c8d958
Severin Gehwolf 19cb1f5
# Do not import non-existing internal package
Severin Gehwolf 19cb1f5
%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"
Severin Gehwolf 829c232
%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>"
Matt Wringe 228dfec
Severin Gehwolf 19cb1f5
# Let maven bundle plugin figure out the exports.
Severin Gehwolf 19cb1f5
%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"
Matt Wringe 228dfec
Severin Gehwolf 829c232
# For some reason these directories do not exist, failing compilation due to -Werror
Severin Gehwolf 829c232
mkdir -p target/generated-sources/annotations
Severin Gehwolf 829c232
mkdir -p target/generated-test-sources/test-annotations
Severin Gehwolf 829c232
Severin Gehwolf 19cb1f5
%build
Severin Gehwolf 19cb1f5
%mvn_build
Matt Wringe 228dfec
Matt Wringe 228dfec
%install
Severin Gehwolf 19cb1f5
%mvn_install
Matt Wringe 228dfec
Severin Gehwolf 19cb1f5
%files -f .mfiles
8d1de3b
%dir %{_javadir}/jline
8d1de3b
%dir %{_mavenpomdir}/jline
mbooth 9c8d958
Severin Gehwolf 19cb1f5
%files javadoc -f .mfiles-javadoc
Matt Wringe 228dfec
Matt Wringe 228dfec
%changelog
74089a1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-2
74089a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
74089a1
Severin Gehwolf 829c232
* Wed Nov 25 2015 Severin Gehwolf <sgehwolf@redhat.com> - 2.13-1
Severin Gehwolf 829c232
- Update to upstream 2.13 release.
Severin Gehwolf 829c232
aaea9a9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.1-2
aaea9a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
aaea9a9
d2415d7
* Wed Feb 18 2015 Alexander Kurtakov <akurtako@redhat.com> 2.12.1-1
d2415d7
- Update to upstream 2.12.1 release.
d2415d7
8d1de3b
* Mon Jan 26 2015 Mat Booth <mat.booth@redhat.com> - 2.10-15
8d1de3b
- Fix FTBFS due to missing BR on site-plugin
8d1de3b
- Fix directory ownership
8d1de3b
- Fix bogus date in changelog
8d1de3b
0cba880
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-14
0cba880
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0cba880
c60a432
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-13
c60a432
- Migrate BuildRequires from junit4 to junit
c60a432
61ebd70
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10-12
61ebd70
- Remove BuildRequires on maven-surefire-provider-junit4
61ebd70
a62c2c1
* Tue Mar 11 2014 Michael Simacek <msimacek@redhat.com> - 2.10-11
a62c2c1
- Drop manual requires
a62c2c1
Stanislav Ochotnicky 1469244
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.10-10
Stanislav Ochotnicky 1469244
- Use Requires: java-headless rebuild (#1067528)
Stanislav Ochotnicky 1469244
Severin Gehwolf 19cb1f5
* Tue Oct 29 2013 Severin Gehwolf <sgehwolf@redhat.com> - 2.10-9
Severin Gehwolf 19cb1f5
- Package jline 2.x as jline. Resolves RHBZ#1022915.
Severin Gehwolf 19cb1f5
- Part of a large effort to make jline1 a compat package rather than jline2.
Severin Gehwolf 19cb1f5
  See RHBZ#1022897.
Severin Gehwolf 19cb1f5
- Switch to xmvn.
Severin Gehwolf 19cb1f5
874962f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
874962f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
874962f
864da7b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
864da7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
864da7b
Stanislav Ochotnicky d610093
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-3
Stanislav Ochotnicky d610093
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky d610093
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky d610093
63deb34
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
63deb34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
63deb34
bde7d0a
* Wed Feb 1 2012 Alexander Kurtakov <akurtako@redhat.com> 1.0-1
bde7d0a
- Update to 1.0.
bde7d0a
c5d77d4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.94-7
c5d77d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c5d77d4
5904c80
* Tue Dec 13 2011 Alexander Kurtakov <akurtako@redhat.com> 0.9.94-6
5904c80
- Build with maven 3.x.
5904c80
bc37b69
* Sat Oct 15 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.9.94-5
bc37b69
- BuildRequire maven2.
bc37b69
1a81b69
* Sat Oct 15 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.9.94-4
1a81b69
- Patch delete to actually behave as delete instead of backspace, include
1a81b69
  keybindings.properties in docs (#720170).
1a81b69
- Drop executable bit from jar.
0f74cf1
- Crosslink with local javadocs.
0f74cf1
- Include LICENSE.txt in -javadoc.
ddf7240
5661825
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.94-3
5661825
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5661825
mbooth 9c8d958
* Sat Dec 18 2010 Mat Booth <fedora@matbooth.co.uk> - 0.9.94-2
mbooth 9c8d958
- Remove pre-built Windows-only binary artifacts.
mbooth 9c8d958
- Demo package was defined but never built for some reason.
mbooth 9c8d958
- Don't also package jar in the javadoc package!
mbooth 9c8d958
- Drop versioned java and javadocs.
mbooth 9c8d958
mbooth 7d957f6
* Sat Dec 18 2010 Mat Booth <fedora@matbooth.co.uk> - 0.9.94-1
mbooth 7d957f6
- Remove bundled jars in %%prep phase.
mbooth 7d957f6
- Tidy up spec file, fix some rpmlint warnings.
mbooth 7d957f6
- Add pom and depmaps.
mbooth 7d957f6
8b7b1c0
* Mon Mar  8 2010 Peter Lemenkov <lemenkov@gmail.com> - 0:0.9.94-0.6
8b7b1c0
- Added missing Requires: jpackage-utils (%%{_javadir} and %%{_javadocdir})
8b7b1c0
0fb2c70
* Tue Jan 12 2010 Alexander Kurtakov <akurtako@redhat.com> 0:0.9.94-0.5
0fb2c70
- Fix BRs.
0fb2c70
- Drop gcj_support.
0fb2c70
f12e2f2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.9.94-0.4
f12e2f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f12e2f2
e2f31c0
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.9.94-0.3
e2f31c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e2f31c0
c7b5293
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:9.94-0.2
c7b5293
- drop repotag
c7b5293
Matt Wringe 445c398
* Mon Mar 24 2008 Matt Wringe <mwringe@redhat.com> - 0:9.94-0jpp.1
Matt Wringe 445c398
- Update to 0.9.94 (BZ #436204)
Matt Wringe 445c398
fe116e8
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:0.9.9-2jpp.1
fe116e8
- Autorebuild for GCC 4.3
fe116e8
Matt Wringe 228dfec
* Tue Mar 06 2007 Matt Wringe <mwringe@redhat.com> - 0:0.9.9-1jpp.1
Matt Wringe 228dfec
- Add option to build with ant.
Matt Wringe 228dfec
- Fix various rpmlint issues
Matt Wringe 228dfec
- Specify proper license
Matt Wringe 228dfec
Matt Wringe 228dfec
* Thu May 04 2006 Alexander Kurtakov <akurtkov at gmail.com> - 0:0.9.9-1jpp
Matt Wringe 228dfec
- Upgrade to 0.9.9
Matt Wringe 228dfec
Matt Wringe 228dfec
* Thu May 04 2006 Ralph Apel <r.apel at r-apel.de> - 0:0.9.5-1jpp
Matt Wringe 228dfec
- Upgrade to 0.9.5
Matt Wringe 228dfec
- First JPP-1.7 release
Matt Wringe 228dfec
Matt Wringe 228dfec
* Mon Apr 25 2005 Fernando Nasser <fnasser@redhat.com> - 0:0.9.1-1jpp
Matt Wringe 228dfec
- Upgrade to 0.9.1
Matt Wringe 228dfec
- Disable attempt to include external jars
Matt Wringe 228dfec
Matt Wringe 228dfec
* Mon Apr 25 2005 Fernando Nasser <fnasser@redhat.com> - 0:0.8.1-3jpp
Matt Wringe 228dfec
- Changes to use locally installed DTDs
Matt Wringe 228dfec
- Do not try and access sun site for linking javadoc
Matt Wringe 228dfec
8d1de3b
* Mon Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:0.8.1-2jpp
Matt Wringe 228dfec
- Rebuild with ant-1.6.2
Matt Wringe 228dfec
Matt Wringe 228dfec
* Mon Jan 26 2004 David Walluck <david@anti-microsoft.org> 0:0.8.1-1jpp
Matt Wringe 228dfec
- release