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