Marcin Juszkiewicz f6eca4c
%global bits %{__isa_bits}
f405061
%global debug_package %{nil}
f405061
71014b2
Name:           jansi-native
287c323
Version:        1.7
316ca99
Release:        9%{?dist}
71014b2
Summary:        Jansi Native implements the JNI Libraries used by the Jansi project
71014b2
License:        ASL 2.0
71014b2
URL:            http://jansi.fusesource.org/
287c323
Source0:        https://github.com/fusesource/jansi-native/archive/jansi-native-%{version}.tar.gz
f405061
71014b2
BuildRequires:  maven-local
71014b2
BuildRequires:  mvn(junit:junit)
71014b2
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
71014b2
BuildRequires:  mvn(org.fusesource:fusesource-pom:pom:)
71014b2
BuildRequires:  mvn(org.fusesource.hawtjni:hawtjni-runtime) >= 1.9-2
71014b2
BuildRequires:  mvn(org.fusesource.hawtjni:maven-hawtjni-plugin) >= 1.9-2
f405061
f405061
%description
f405061
Jansi is a small java library that allows you to use ANSI escape sequences
f405061
in your Java console applications. It implements ANSI support on platforms
f405061
which don't support it like Windows and provides graceful degradation for
287c323
when output is being sent to output devices which cannot support ANSI sequences.
f405061
f405061
%package javadoc
f405061
Summary:          Javadocs for %{name}
Marek Goldmann c199668
BuildArch:        noarch
Marek Goldmann c199668
f405061
%description javadoc
f405061
This package contains the API documentation for %{name}.
f405061
f405061
%prep
Marek Goldmann 2634570
%setup -q -n jansi-native-jansi-native-%{version}
661a427
661a427
%mvn_alias :jansi-linux%{bits} :jansi-linux
661a427
%mvn_file :jansi-linux%{bits} %{name}/jansi-linux%{bits} %{name}/jansi-linux
f405061
f405061
%build
Marek Goldmann 4384a0c
%mvn_build
661a427
%mvn_build -- -Dplatform=linux%{bits}
f405061
f405061
%install
Marek Goldmann 4384a0c
%mvn_install
Marek Goldmann 4384a0c
Marek Goldmann 4384a0c
%files -f .mfiles
287c323
%doc readme.md changelog.md
287c323
%license license.txt
f405061
Marek Goldmann 4384a0c
%files javadoc -f .mfiles-javadoc
287c323
%license license.txt
f405061
f405061
%changelog
316ca99
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-9
316ca99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
316ca99
d9082e8
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-8
d9082e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d9082e8
661a427
* Thu Jul 26 2018 Michael Simacek <msimacek@redhat.com> - 1.7-7
661a427
- Build missing native lib
661a427
8d71d8d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-6
8d71d8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8d71d8d
544b397
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.7-5
544b397
- Escape macros in %%changelog
544b397
6c9f141
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-4
6c9f141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6c9f141
64dcfcf
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-3
64dcfcf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
64dcfcf
5791aaf
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-2
5791aaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5791aaf
287c323
* Wed Jun 14 2017 Michael Simacek <msimacek@redhat.com> - 1.7-1
287c323
- Update to upstream version 1.7
287c323
73cb844
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-11
73cb844
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
73cb844
0eb3186
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-10
0eb3186
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0eb3186
fffb23c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-9
fffb23c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fffb23c
1317700
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
1317700
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1317700
7779fd7
* Sun Aug 03 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 1.5-7
7779fd7
- Fix FTBFS due to XMvn changes in F21 (#1106820)
7779fd7
035b1e4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-6
035b1e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
035b1e4
71014b2
* Fri May 23 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-5
71014b2
- Cleanup BuildRequires
71014b2
0961125
* Thu Mar  6 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-4
0961125
- Require hawtjni >= 1.9-2
0961125
Stanislav Ochotnicky e9331ed
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.5-4
Stanislav Ochotnicky e9331ed
- Use Requires: java-headless rebuild (#1067528)
Stanislav Ochotnicky e9331ed
154bb69
* Fri Jan 10 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-4
154bb69
- Install attached artifacts
154bb69
- Resolves: rhbz#1028550
154bb69
Marek Goldmann c199668
* Tue Nov 26 2013 Marek Goldmann <mgoldman@redhat.com> - 1.5-3
Marek Goldmann c199668
- Mark javadoc subpackage as noarch
Marek Goldmann c199668
Marcin Juszkiewicz f6eca4c
* Mon Nov 25 2013 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.5-2
544b397
- Use %%__isa_bits macro to support all architectures
Marcin Juszkiewicz f6eca4c
Marek Goldmann 2634570
* Wed Sep 11 2013 Marek Goldmann <mgoldman@redhat.com> - 1.5-1
Marek Goldmann 2634570
- Upstream release 1.5
Marek Goldmann 2634570
Marek Goldmann 4384a0c
* Tue Aug 06 2013 Marek Goldmann <mgoldman@redhat.com> - 1.4-7
Marek Goldmann 4384a0c
- New guidelines
Marek Goldmann 4384a0c
35ab876
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
35ab876
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
35ab876
ab8ac7f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
ab8ac7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ab8ac7f
Stanislav Ochotnicky 9f6e92e
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4-4
Stanislav Ochotnicky 9f6e92e
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 9f6e92e
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 9f6e92e
Stanislav Ochotnicky ec50e3f
* Wed Dec 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-3
Stanislav Ochotnicky ec50e3f
- revbump after jnidir change
Stanislav Ochotnicky ec50e3f
Stanislav Ochotnicky b9c26b9
* Wed Dec 12 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-2
Stanislav Ochotnicky b9c26b9
- Move normal jar from javajnidir to javadir
Stanislav Ochotnicky b9c26b9
37795a0
* Wed Sep 19 2012 Marek Goldmann <mgoldman@redhat.com> - 1.4-1
37795a0
- Upstream release 1.4
37795a0
- Fixing "archiver requires 'AM_PROG_AR' in 'configure.ac'" error
37795a0
- FTBFS: config.status: error: cannot find input file: `Makefile.in' RHBZ#858377
37795a0
56d7ae9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
56d7ae9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
56d7ae9
f9ce0af
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
f9ce0af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f9ce0af
8e2b400
* Wed Oct 26 2011 Dan HorĂ¡k <dan[at]danny.cz> 1.2-2
8e2b400
- fix build on non-x86 64-bit arches
8e2b400
f405061
* Thu Jul 28 2011 Marek Goldmann <mgoldman@redhat.com> 1.2-1
f405061
- Upstream release 1.2
f405061
- Using new jnidir
f405061
f405061
* Tue May 31 2011 Marek Goldmann <mgoldman@redhat.com> 1.1-2
f405061
- Updated summary
f405061
- Removed debuginfo package
f405061
- Added license to javadoc package
f405061
- Fixed dependency on maven-hawtjni-plugin
f405061
f405061
* Fri May 27 2011 Marek Goldmann <mgoldman@redhat.com> 1.1-1
f405061
- Initial packaging
f405061