mbi / rpms / jansi

Forked from rpms/jansi 5 years ago
Clone
634aee7
Name:             jansi
Marek Goldmann 094eb1f
Version:          1.11
Marek Goldmann 4b72e92
Release:          3%{?dist}
634aee7
Summary:          Jansi is a java library for generating and interpreting ANSI escape sequences
634aee7
License:          ASL 2.0
634aee7
URL:              http://jansi.fusesource.org/
634aee7
634aee7
# git clone git://github.com/fusesource/jansi.git
Marek Goldmann 094eb1f
# cd jansi && git archive --format=tar --prefix=jansi-1.11/ jansi-project-1.11 | xz > jansi-1.11.tar.xz
f4bc0f1
Source0:          jansi-%{version}.tar.xz
634aee7
634aee7
BuildArch:        noarch
634aee7
Stanislav Ochotnicky 11d9a98
BuildRequires:    maven-local
634aee7
BuildRequires:    maven-compiler-plugin
634aee7
BuildRequires:    maven-install-plugin
634aee7
BuildRequires:    maven-jar-plugin
634aee7
BuildRequires:    maven-javadoc-plugin
634aee7
BuildRequires:    maven-release-plugin
634aee7
BuildRequires:    maven-surefire-plugin
634aee7
BuildRequires:    jansi-native
634aee7
BuildRequires:    maven-clean-plugin
634aee7
BuildRequires:    maven-plugin-bundle
634aee7
BuildRequires:    junit4
634aee7
BuildRequires:    fusesource-pom
634aee7
BuildRequires:    maven-surefire-provider-junit4
634aee7
634aee7
%description
634aee7
Jansi is a small java library that allows you to use ANSI escape sequences
634aee7
in your Java console applications. It implements ANSI support on platforms
634aee7
which don't support it like Windows and provides graceful degradation for
634aee7
when output is being sent to output devices which cannot support ANSI sequences. 
634aee7
634aee7
%package javadoc
634aee7
Summary:          Javadocs for %{name}
634aee7
634aee7
%description javadoc
634aee7
This package contains the API documentation for %{name}.
634aee7
634aee7
%prep
634aee7
%setup -q
f4bc0f1
f4bc0f1
%pom_disable_module jansi-website
f4bc0f1
%pom_xpath_remove "pom:build/pom:extensions"
f4bc0f1
f4bc0f1
# No org.fusesource.mvnplugins:fuse-javadoc-skin available
f4bc0f1
%pom_remove_plugin "org.apache.maven.plugins:maven-dependency-plugin"
f4bc0f1
f4bc0f1
# No maven-uberize-plugin
f4bc0f1
%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-uberize-plugin']" jansi/pom.xml
634aee7
Marek Goldmann 4b72e92
# Remove unnecessary deps for jansi-native builds
Marek Goldmann 4b72e92
%pom_xpath_remove "pom:dependencies/pom:dependency[pom:artifactId = 'jansi-native' and pom:classifier != '']" jansi/pom.xml
Marek Goldmann 4b72e92
634aee7
%build
Marek Goldmann 4b72e92
%mvn_build
634aee7
634aee7
%install
Marek Goldmann 4b72e92
%mvn_install
Marek Goldmann 4b72e92
Marek Goldmann 4b72e92
%files -f .mfiles
Marek Goldmann 4b72e92
%dir %{_javadir}/%{name}
634aee7
%doc readme.md license.txt changelog.md
634aee7
Marek Goldmann 4b72e92
%files javadoc -f .mfiles-javadoc
634aee7
%doc license.txt
634aee7
634aee7
%changelog
Marek Goldmann 4b72e92
* Wed Sep 11 2013 Marek Goldmann <mgoldman@redhat.com> - 1.11-3
Marek Goldmann 4b72e92
- Using xmvn
Marek Goldmann 4b72e92
- Remove the jboss-native deps with classifiers
Marek Goldmann 4b72e92
df5bbc9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
df5bbc9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
df5bbc9
Marek Goldmann 094eb1f
* Tue May 21 2013 Marek Goldmann <mgoldman@redhat.com> - 1.11-1
Marek Goldmann 094eb1f
- Upstream release 1.11 RHBZ#962761
Marek Goldmann 094eb1f
- CVE-2013-2035 HawtJNI: predictable temporary file name leading to local arbitrary code execution RHBZ#962614
Marek Goldmann 094eb1f
cecdebb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-3
cecdebb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cecdebb
Stanislav Ochotnicky 11d9a98
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.9-2
Stanislav Ochotnicky 11d9a98
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 11d9a98
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 11d9a98
f4bc0f1
* Tue Oct 09 2012 Marek Goldmann <mgoldman@redhat.com> - 1.9-1
f4bc0f1
- Upstream release 1.9, RHBZ#864490
f4bc0f1
e90dac4
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
e90dac4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e90dac4
e53df6b
* Fri May 04 2012 Tomas Radej <tradej@redhat.com> - 1.6-3
e53df6b
- Removed maven-license-plugin BR
e53df6b
97f6763
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
97f6763
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
97f6763
634aee7
* Thu Aug 25 2011 Marek Goldmann <mgoldman@redhat.com> 1.6-1
634aee7
- Upstream release 1.6
634aee7
- Spec file cleanup
634aee7
634aee7
* Fri May 27 2011 Marek Goldmann <mgoldman@redhat.com> 1.5-1
634aee7
- Initial packaging
634aee7