public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jansi-native] epel10: Initial import.
@ 2026-08-20 12:13 Marek Goldmann
0 siblings, 0 replies; only message in thread
From: Marek Goldmann @ 2026-08-20 12:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jansi-native
Branch : epel10
Commit : f4050615f07fe5701b4cc9367c159092ba179a36
Author : Marek Goldmann <goldmann@fedoraproject.org>
Date : 2011-07-28T10:08:24-04:00
Stats : +111/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/jansi-native/c/f4050615f07fe5701b4cc9367c159092ba179a36?branch=epel10
Log:
Initial import.
---
diff --git a/.gitignore b/.gitignore
index e69de29..01cf1e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jansi-native-1.2.tar.xz
diff --git a/jansi-native.spec b/jansi-native.spec
new file mode 100644
index 0000000..8a7f247
--- /dev/null
+++ b/jansi-native.spec
@@ -0,0 +1,109 @@
+%global bits 32
+%global debug_package %{nil}
+
+%ifarch x86_64
+ %global bits 64
+%endif
+
+Name: jansi-native
+Version: 1.2
+Release: 1%{?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.2/ jansi-native-1.2 | xz > jansi-native-1.2.tar.xz
+Source0: %{name}-%{version}.tar.xz
+
+BuildRequires: jpackage-utils
+BuildRequires: java-devel
+BuildRequires: maven
+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
+
+Requires: hawtjni
+Requires: java
+Requires: jpackage-utils
+
+%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
+Requires: jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q
+
+%build
+mvn-rpmbuild install javadoc:aggregate
+
+%install
+# JAR
+mkdir -p $RPM_BUILD_ROOT%{_jnidir}
+mkdir -p $RPM_BUILD_ROOT%{_javajnidir}
+
+cp -p target/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javajnidir}/%{name}.jar
+cp -p target/%{name}-%{version}-linux%{bits}.jar $RPM_BUILD_ROOT%{_jnidir}/%{name}-linux.jar
+
+# JAVADOC
+mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+# POM
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
+
+# DEPMAP
+%add_to_maven_depmap org.fusesource.jansi jansi-native %{version} JPP %{name}
+%add_to_maven_depmap org.fusesource.jansi jansi-native-linux%{bits} %{version} JPP %{name}-linux
+
+%files
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+%{_jnidir}/*
+%{_javajnidir}/*
+%doc readme.md license.txt changelog.md
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc license.txt
+
+%changelog
+* Thu Jul 28 2011 Marek Goldmann <mgoldman@redhat.com> 1.2-1
+- Upstream release 1.2
+- Using new jnidir
+
+* Tue May 31 2011 Marek Goldmann <mgoldman@redhat.com> 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 <mgoldman@redhat.com> 1.1-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..f537ea4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+081e9d245b86ef327fae9b99debde9b8 jansi-native-1.2.tar.xz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-20 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 12:13 [rpms/jansi-native] epel10: Initial import Marek Goldmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox