From 0b2aa78ef64eb45320b983dfc1b228b2af556909 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 05 2015 19:17:33 +0000 Subject: import jansi-native-1.4-11.ael7b --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e124e94 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jansi-native-1.4.tar.xz diff --git a/.jansi-native.metadata b/.jansi-native.metadata new file mode 100644 index 0000000..da78390 --- /dev/null +++ b/.jansi-native.metadata @@ -0,0 +1 @@ +1f107fb61a02702021c55069bc6738356089f31d SOURCES/jansi-native-1.4.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/0001-Fixing-archiver-requires-AM_PROG_AR-in-configure.ac-.patch b/SOURCES/0001-Fixing-archiver-requires-AM_PROG_AR-in-configure.ac-.patch new file mode 100644 index 0000000..b14aeb0 --- /dev/null +++ b/SOURCES/0001-Fixing-archiver-requires-AM_PROG_AR-in-configure.ac-.patch @@ -0,0 +1,25 @@ +From 324f6f20451942d228ddcc4a2153fd8d9487bddb Mon Sep 17 00:00:00 2001 +From: Marek Goldmann +Date: Tue, 24 Jul 2012 11:39:56 +0200 +Subject: [PATCH] Fixing "archiver requires 'AM_PROG_AR' in 'configure.ac'" + error + +--- + src/main/native-package/m4/custom.m4 | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/main/native-package/m4/custom.m4 b/src/main/native-package/m4/custom.m4 +index 3b5e92e..75cbdec 100644 +--- a/src/main/native-package/m4/custom.m4 ++++ b/src/main/native-package/m4/custom.m4 +@@ -18,4 +18,5 @@ dnl --------------------------------------------------------------------------- + AC_DEFUN([CUSTOM_M4_SETUP], + [ + AC_CHECK_LIB([c], [isatty],[AC_DEFINE([HAVE_ISATTY], [1], [Define to 1 if you have the isatty function.])]) +-]) +\ No newline at end of file ++ AM_PROG_AR ++]) +-- +1.7.11.2 + diff --git a/SPECS/jansi-native.spec b/SPECS/jansi-native.spec new file mode 100644 index 0000000..d8e1d1a --- /dev/null +++ b/SPECS/jansi-native.spec @@ -0,0 +1,143 @@ +%global bits 32 +%global debug_package %{nil} + +%ifarch x86_64 ppc64 s390x sparc64 aarch64 ppc64le + %global bits 64 +%endif + +Name: jansi-native +Version: 1.4 +Release: 11%{?dist} +Summary: Jansi Native implements the JNI Libraries used by the Jansi project +Group: Development/Libraries +License: ASL 2.0 +URL: http://jansi.fusesource.org/ + +# git clone git://github.com/fusesource/jansi-native.git +# cd jansi-native && git archive --format=tar --prefix=jansi-native-1.4/ jansi-native-1.4 | xz > jansi-native-1.4.tar.xz +Source0: jansi-native-%{version}.tar.xz + +Patch0: 0001-Fixing-archiver-requires-AM_PROG_AR-in-configure.ac-.patch + +BuildRequires: jpackage-utils +BuildRequires: java-devel +BuildRequires: maven-local +BuildRequires: maven-compiler-plugin +BuildRequires: maven-javadoc-plugin +BuildRequires: maven-surefire-plugin +BuildRequires: maven-surefire-report-plugin +BuildRequires: maven-project-info-reports-plugin +BuildRequires: maven-clean-plugin +BuildRequires: maven-plugin-bundle +BuildRequires: maven-plugin-jxr +BuildRequires: junit4 +BuildRequires: hawtjni +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: make +BuildRequires: fusesource-pom +BuildRequires: maven-surefire-provider-junit4 +BuildRequires: maven-hawtjni-plugin +BuildRequires: maven-resources-plugin +BuildRequires: felix-parent + +%description +Jansi is a small java library that allows you to use ANSI escape sequences +in your Java console applications. It implements ANSI support on platforms +which don't support it like Windows and provides graceful degradation for +when output is being sent to output devices which cannot support ANSI sequences. + +%package javadoc +Summary: Javadocs for %{name} +Group: Documentation + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q +%patch0 -p1 + +%mvn_file :jansi-native %{name} +%mvn_package :::linux%{bits}: __default + +%build +%mvn_build + +%install +%mvn_install + +# JAR +mkdir -p $RPM_BUILD_ROOT%{_jnidir} +cp -p target/%{name}-%{version}-linux%{bits}.jar $RPM_BUILD_ROOT%{_jnidir}/%{name}-linux.jar + +%files -f .mfiles +%{_jnidir}/%{name}-linux.jar +%doc readme.md license.txt changelog.md + +%files javadoc -f .mfiles-javadoc +%doc license.txt + +%changelog +* Fri Aug 1 2014 Mikolaj Izdebski - 1.4-11 +- Recognise ppc64le as 64-bit architecture + +* Fri Jan 24 2014 Daniel Mach - 1.4-10 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.4-9 +- Mass rebuild 2013-12-27 + +* Mon Nov 11 2013 Stanislav Ochotnicky - 1.4-8 +- Install attached artifacts for proper classifier provides +- Enable aarch64 support +- Resolves: rhbz#1028551 + +* Tue Aug 27 2013 Michal Srb - 1.4-7 +- Migrate away from mvn-rpmbuild (Resolves: #997522) + +* Fri Jun 28 2013 Mikolaj Izdebski - 1.4-6 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.4-4 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Wed Dec 19 2012 Stanislav Ochotnicky - 1.4-3 +- revbump after jnidir change + +* Wed Dec 12 2012 Stanislav Ochotnicky - 1.4-2 +- Move normal jar from javajnidir to javadir + +* Wed Sep 19 2012 Marek Goldmann - 1.4-1 +- Upstream release 1.4 +- Fixing "archiver requires 'AM_PROG_AR' in 'configure.ac'" error +- FTBFS: config.status: error: cannot find input file: `Makefile.in' RHBZ#858377 + +* Thu Jul 19 2012 Fedora Release Engineering - 1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Oct 26 2011 Dan HorĂ¡k 1.2-2 +- fix build on non-x86 64-bit arches + +* Thu Jul 28 2011 Marek Goldmann 1.2-1 +- Upstream release 1.2 +- Using new jnidir + +* Tue May 31 2011 Marek Goldmann 1.1-2 +- Updated summary +- Removed debuginfo package +- Added license to javadoc package +- Fixed dependency on maven-hawtjni-plugin + +* Fri May 27 2011 Marek Goldmann 1.1-1 +- Initial packaging +