|
|
935ff1 |
%global bits 32
|
|
|
935ff1 |
%global debug_package %{nil}
|
|
|
935ff1 |
|
|
|
935ff1 |
%ifarch x86_64 ppc64 s390x sparc64 aarch64 ppc64le
|
|
|
935ff1 |
%global bits 64
|
|
|
935ff1 |
%endif
|
|
|
935ff1 |
|
|
|
935ff1 |
Name: jansi-native
|
|
|
935ff1 |
Version: 1.4
|
|
|
935ff1 |
Release: 11%{?dist}
|
|
|
935ff1 |
Summary: Jansi Native implements the JNI Libraries used by the Jansi project
|
|
|
935ff1 |
Group: Development/Libraries
|
|
|
935ff1 |
License: ASL 2.0
|
|
|
935ff1 |
URL: http://jansi.fusesource.org/
|
|
|
935ff1 |
|
|
|
935ff1 |
# git clone git://github.com/fusesource/jansi-native.git
|
|
|
935ff1 |
# cd jansi-native && git archive --format=tar --prefix=jansi-native-1.4/ jansi-native-1.4 | xz > jansi-native-1.4.tar.xz
|
|
|
935ff1 |
Source0: jansi-native-%{version}.tar.xz
|
|
|
935ff1 |
|
|
|
935ff1 |
Patch0: 0001-Fixing-archiver-requires-AM_PROG_AR-in-configure.ac-.patch
|
|
|
935ff1 |
|
|
|
935ff1 |
BuildRequires: jpackage-utils
|
|
|
935ff1 |
BuildRequires: java-devel
|
|
|
935ff1 |
BuildRequires: maven-local
|
|
|
935ff1 |
BuildRequires: maven-compiler-plugin
|
|
|
935ff1 |
BuildRequires: maven-javadoc-plugin
|
|
|
935ff1 |
BuildRequires: maven-surefire-plugin
|
|
|
935ff1 |
BuildRequires: maven-surefire-report-plugin
|
|
|
935ff1 |
BuildRequires: maven-project-info-reports-plugin
|
|
|
935ff1 |
BuildRequires: maven-clean-plugin
|
|
|
935ff1 |
BuildRequires: maven-plugin-bundle
|
|
|
935ff1 |
BuildRequires: maven-plugin-jxr
|
|
|
935ff1 |
BuildRequires: junit4
|
|
|
935ff1 |
BuildRequires: hawtjni
|
|
|
935ff1 |
BuildRequires: autoconf
|
|
|
935ff1 |
BuildRequires: automake
|
|
|
935ff1 |
BuildRequires: libtool
|
|
|
935ff1 |
BuildRequires: make
|
|
|
935ff1 |
BuildRequires: fusesource-pom
|
|
|
935ff1 |
BuildRequires: maven-surefire-provider-junit4
|
|
|
935ff1 |
BuildRequires: maven-hawtjni-plugin
|
|
|
935ff1 |
BuildRequires: maven-resources-plugin
|
|
|
935ff1 |
BuildRequires: felix-parent
|
|
|
935ff1 |
|
|
|
935ff1 |
%description
|
|
|
935ff1 |
Jansi is a small java library that allows you to use ANSI escape sequences
|
|
|
935ff1 |
in your Java console applications. It implements ANSI support on platforms
|
|
|
935ff1 |
which don't support it like Windows and provides graceful degradation for
|
|
|
935ff1 |
when output is being sent to output devices which cannot support ANSI sequences.
|
|
|
935ff1 |
|
|
|
935ff1 |
%package javadoc
|
|
|
935ff1 |
Summary: Javadocs for %{name}
|
|
|
935ff1 |
Group: Documentation
|
|
|
935ff1 |
|
|
|
935ff1 |
%description javadoc
|
|
|
935ff1 |
This package contains the API documentation for %{name}.
|
|
|
935ff1 |
|
|
|
935ff1 |
%prep
|
|
|
935ff1 |
%setup -q
|
|
|
935ff1 |
%patch0 -p1
|
|
|
935ff1 |
|
|
|
935ff1 |
%mvn_file :jansi-native %{name}
|
|
|
935ff1 |
%mvn_package :::linux%{bits}: __default
|
|
|
935ff1 |
|
|
|
935ff1 |
%build
|
|
|
935ff1 |
%mvn_build
|
|
|
935ff1 |
|
|
|
935ff1 |
%install
|
|
|
935ff1 |
%mvn_install
|
|
|
935ff1 |
|
|
|
935ff1 |
# JAR
|
|
|
935ff1 |
mkdir -p $RPM_BUILD_ROOT%{_jnidir}
|
|
|
935ff1 |
cp -p target/%{name}-%{version}-linux%{bits}.jar $RPM_BUILD_ROOT%{_jnidir}/%{name}-linux.jar
|
|
|
935ff1 |
|
|
|
935ff1 |
%files -f .mfiles
|
|
|
935ff1 |
%{_jnidir}/%{name}-linux.jar
|
|
|
935ff1 |
%doc readme.md license.txt changelog.md
|
|
|
935ff1 |
|
|
|
935ff1 |
%files javadoc -f .mfiles-javadoc
|
|
|
935ff1 |
%doc license.txt
|
|
|
935ff1 |
|
|
|
935ff1 |
%changelog
|
|
|
935ff1 |
* Fri Aug 1 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-11
|
|
|
935ff1 |
- Recognise ppc64le as 64-bit architecture
|
|
|
935ff1 |
|
|
|
935ff1 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4-10
|
|
|
935ff1 |
- Mass rebuild 2014-01-24
|
|
|
935ff1 |
|
|
|
935ff1 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4-9
|
|
|
935ff1 |
- Mass rebuild 2013-12-27
|
|
|
935ff1 |
|
|
|
935ff1 |
* Mon Nov 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-8
|
|
|
935ff1 |
- Install attached artifacts for proper classifier provides
|
|
|
935ff1 |
- Enable aarch64 support
|
|
|
935ff1 |
- Resolves: rhbz#1028551
|
|
|
935ff1 |
|
|
|
935ff1 |
* Tue Aug 27 2013 Michal Srb <msrb@redhat.com> - 1.4-7
|
|
|
935ff1 |
- Migrate away from mvn-rpmbuild (Resolves: #997522)
|
|
|
935ff1 |
|
|
|
935ff1 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-6
|
|
|
935ff1 |
- Rebuild to regenerate API documentation
|
|
|
935ff1 |
- Resolves: CVE-2013-1571
|
|
|
935ff1 |
|
|
|
935ff1 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
|
|
935ff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
935ff1 |
|
|
|
935ff1 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4-4
|
|
|
935ff1 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
935ff1 |
- Replace maven BuildRequires with maven-local
|
|
|
935ff1 |
|
|
|
935ff1 |
* Wed Dec 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-3
|
|
|
935ff1 |
- revbump after jnidir change
|
|
|
935ff1 |
|
|
|
935ff1 |
* Wed Dec 12 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-2
|
|
|
935ff1 |
- Move normal jar from javajnidir to javadir
|
|
|
935ff1 |
|
|
|
935ff1 |
* Wed Sep 19 2012 Marek Goldmann <mgoldman@redhat.com> - 1.4-1
|
|
|
935ff1 |
- Upstream release 1.4
|
|
|
935ff1 |
- Fixing "archiver requires 'AM_PROG_AR' in 'configure.ac'" error
|
|
|
935ff1 |
- FTBFS: config.status: error: cannot find input file: `Makefile.in' RHBZ#858377
|
|
|
935ff1 |
|
|
|
935ff1 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
|
|
|
935ff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
935ff1 |
|
|
|
935ff1 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
|
935ff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
935ff1 |
|
|
|
935ff1 |
* Wed Oct 26 2011 Dan HorĂ¡k <dan[at]danny.cz> 1.2-2
|
|
|
935ff1 |
- fix build on non-x86 64-bit arches
|
|
|
935ff1 |
|
|
|
935ff1 |
* Thu Jul 28 2011 Marek Goldmann <mgoldman@redhat.com> 1.2-1
|
|
|
935ff1 |
- Upstream release 1.2
|
|
|
935ff1 |
- Using new jnidir
|
|
|
935ff1 |
|
|
|
935ff1 |
* Tue May 31 2011 Marek Goldmann <mgoldman@redhat.com> 1.1-2
|
|
|
935ff1 |
- Updated summary
|
|
|
935ff1 |
- Removed debuginfo package
|
|
|
935ff1 |
- Added license to javadoc package
|
|
|
935ff1 |
- Fixed dependency on maven-hawtjni-plugin
|
|
|
935ff1 |
|
|
|
935ff1 |
* Fri May 27 2011 Marek Goldmann <mgoldman@redhat.com> 1.1-1
|
|
|
935ff1 |
- Initial packaging
|
|
|
935ff1 |
|