Name: jansi Version: 1.11 Release: %mkrel 12 Group: Development/Java Summary: Jansi is a java library for generating and interpreting ANSI escape sequences License: ASL 2.0 URL: http://jansi.fusesource.org/ # git clone git://github.com/fusesource/jansi.git # cd jansi && git archive --format=tar --prefix=jansi-1.11/ jansi-project-1.11 | xz > jansi-1.11.tar.xz Source0: jansi-%{version}.tar.xz BuildArch: noarch BuildRequires: maven-local BuildRequires: jansi-native BuildRequires: maven-plugin-bundle BuildRequires: maven-site-plugin BuildRequires: fusesource-pom %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} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q %pom_disable_module jansi-website %pom_xpath_remove "pom:build/pom:extensions" # No org.fusesource.mvnplugins:fuse-javadoc-skin available %pom_remove_plugin "org.apache.maven.plugins:maven-dependency-plugin" # No maven-uberize-plugin %pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-uberize-plugin']" jansi/pom.xml # Remove unnecessary deps for jansi-native builds %pom_xpath_remove "pom:dependencies/pom:dependency[pom:artifactId = 'jansi-native' and pom:classifier != '']" jansi/pom.xml # javadoc generation fails due to strict doclint in JDK 8 %pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-javadoc-plugin jansi %build %mvn_build %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %dir %{_mavenpomdir}/%{name} %doc readme.md license.txt changelog.md %files javadoc -f .mfiles-javadoc %doc license.txt %changelog * Wed Mar 02 2016 neoclust <neoclust> 1.11-12.mga6 + Revision: 982612 - Second rebuild of the java stack * Thu Feb 25 2016 daviddavid <daviddavid> 1.11-11.mga6 + Revision: 978950 - rebuild to regenerate Provides list * Tue Feb 23 2016 neoclust <neoclust> 1.11-10.mga6 + Revision: 976562 - First rebuild of the java stack - sync package jansi with fedora + umeabot <umeabot> - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1.11-5.mga5 + Revision: 744214 - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild * Mon Dec 16 2013 dmorgan <dmorgan> 1.11-3.mga4 + Revision: 557558 - Rebuild against current java stack * Tue Oct 22 2013 umeabot <umeabot> 1.11-2.mga4 + Revision: 541717 - Mageia 4 Mass Rebuild * Sun Oct 13 2013 dmorgan <dmorgan> 1.11-1.mga4 + Revision: 496390 - New version * Sat Jan 12 2013 umeabot <umeabot> 1.6-2.mga3 + Revision: 354745 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Nov 07 2011 dmorgan <dmorgan> 1.6-1.mga2 + Revision: 164821 - Remove dot in summary - Clean spec file + gil <gil> - update to 1.6 - imported package jansi * Fri May 27 2011 Marek Goldmann <mgoldman@redhat.com> 1.5-1 - Initial packaging