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