Hello community, here is the log from the commit of package jansi-native for openSUSE:Leap:15.2 checked in at 2020-02-05 07:22:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/jansi-native (Old) and /work/SRC/openSUSE:Leap:15.2/.jansi-native.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jansi-native" Wed Feb 5 07:22:53 2020 rev:1 rq:762692 version:1.7 Changes: -------- New Changes file: --- /dev/null 2019-12-19 10:12:34.003146842 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.jansi-native.new.26092/jansi-native.changes 2020-02-05 07:22:54.574582234 +0100 @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Tue Apr 9 15:49:08 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Remove reference to the parent pom since we are not building + using Maven. + +------------------------------------------------------------------- +Thu Feb 7 10:40:20 UTC 2019 - Jan Engelhardt <jeng...@inai.de> + +- Avoid name repetition in summary, and use noun phrasing. +- Avoid double-shipping documentation. + +------------------------------------------------------------------- +Mon Feb 4 10:40:31 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Initial package of jansi-native 1.7 +- Add jansi-native-build.xml for ant build New: ---- jansi-native-1.7.tar.gz jansi-native-build.xml jansi-native.changes jansi-native.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jansi-native.spec ++++++ # # spec file for package jansi-native # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global bits %{__isa_bits} %global debug_package %{nil} Name: jansi-native Version: 1.7 Release: 0 Summary: Jansi project JNI library implementation License: Apache-2.0 Group: Development/Libraries/Java URL: http://jansi.fusesource.org/ Source0: https://github.com/fusesource/jansi-native/archive/jansi-native-%{version}.tar.gz Source1: %{name}-build.xml BuildRequires: ant BuildRequires: fdupes BuildRequires: gcc BuildRequires: hawtjni BuildRequires: javapackages-local Requires: mvn(org.fusesource.hawtjni:hawtjni-runtime) %description Jansi is a Java library that allows you to use ANSI escape sequences in 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/HTML BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n jansi-native-jansi-native-%{version} cp %{SOURCE1} . %pom_xpath_remove pom:profiles cp pom.xml pom-linux%{bits}.xml %pom_xpath_set pom:project/pom:artifactId %{name} pom.xml %pom_xpath_set pom:project/pom:artifactId jansi-linux%{bits} pom-linux%{bits}.xml %pom_remove_parent . %build mkdir -p lib build-jar-repository -s lib hawtjni/hawtjni-runtime %{ant} -f %{name}-build.xml jar javadoc # Create a manifest-only jar %{ant} -f %{name}-build.xml -Dproject.platform=linux%{bits} manifest-jar # generate the C files for native library mkdir -p target/native-build hawtjni-generator \ -n jansi \ -o target/native-build \ -p org.fusesource.jansi.internal \ -v \ target/%{name}-%{version}.jar # build the native library mkdir -p target/native-build/META-INF/native/linux%{bits} gcc -shared \ -o target/native-build/META-INF/native/linux%{bits}/libjansi.so \ -I %{_jvmlibdir}/java/include/ -I %{_jvmlibdir}/java/include/linux/ \ -I src/main/native-package/src -I target/native-build \ -fPIC target/native-build/*.c src/main/native-package/src/*.c jar uf target/jansi-linux%{bits}-%{version}.jar -C target/native-build META-INF %install # jar install -dm 0755 %{buildroot}%{_jnidir}/%{name} install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_jnidir}/%{name}/%{name}.jar install -pm 0644 target/jansi-linux%{bits}-%{version}.jar %{buildroot}%{_jnidir}/%{name}/jansi-linux%{bits}.jar ln -sf jansi-linux%{bits}.jar %{buildroot}%{_jnidir}/%{name}/jansi-linux.jar # pom install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom %add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar install -pm 0644 pom-linux%{bits}.xml %{buildroot}%{_mavenpomdir}/%{name}/jansi-linux%{bits}.pom %add_maven_depmap %{name}/jansi-linux%{bits}.pom %{name}/jansi-linux%{bits}.jar -a org.fusesource.jansi:jansi-linux # javadoc install -dm 0755 %{buildroot}%{_javadocdir}/%{name} cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name} %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %{_jnidir}/%{name} %doc readme.md changelog.md %license license.txt %files javadoc %{_javadocdir}/%{name} %changelog ++++++ jansi-native-build.xml ++++++ <?xml version="1.0" encoding="UTF-8"?> <project name="jansi-native" default="package" basedir="."> <!-- ====================================================================== --> <!-- Build environment properties --> <!-- ====================================================================== --> <property file="build.properties"/> <property name="project.platform" value="native"/> <property name="project.artifactId" value="jansi-${project.platform}"/> <property name="project.groupId" value="org.fusesource.jansi"/> <property name="project.name" value="${project.artifactId}"/> <property name="project.version" value="1.7"/> <property name="project.description" value="Jansi is a java library for generating and interpreting ANSI escape sequences."/> <property name="build.finalName" value="${project.artifactId}-${project.version}"/> <property name="build.dir" value="target"/> <property name="build.outputDir" value="${build.dir}/classes"/> <property name="build.srcDir.0" value="src/main/java"/> <property name="build.resourceDir.0" value="src/main/resources"/> <property name="build.nativeDir" value="${build.dir}/native-build"/> <property name="compiler.source" value="1.6"/> <property name="compiler.target" value="${compiler.source}"/> <property name="reporting.outputDirectory" value="${build.dir}/site"/> <property name="java.home" value="${env.JAVA_HOME}"/> <!-- ====================================================================== --> <!-- Defining classpaths --> <!-- ====================================================================== --> <path id="build.classpath"> <fileset dir="lib"> <include name="**/*.jar"/> </fileset> </path> <!-- ====================================================================== --> <!-- Cleaning up target --> <!-- ====================================================================== --> <target name="clean" description="Clean the output directory"> <delete dir="${build.dir}"/> </target> <!-- ====================================================================== --> <!-- Compilation target --> <!-- ====================================================================== --> <target name="compile" description="Compile the code"> <mkdir dir="${build.outputDir}"/> <javac destdir="${build.outputDir}" encoding="UTF-8" nowarn="false" debug="true" optimize="false" deprecation="true" target="${compiler.target}" verbose="false" fork="false" source="${compiler.source}"> <src> <pathelement location="${build.srcDir.0}"/> </src> <classpath refid="build.classpath"/> </javac> </target> <!-- ====================================================================== --> <!-- Javadoc target --> <!-- ====================================================================== --> <target name="javadoc" description="Generates the Javadoc of the application"> <javadoc sourcepath="${build.srcDir.0}" packagenames="*" destdir="${reporting.outputDirectory}/apidocs" access="protected" source="${compiler.source}" verbose="false" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" encoding="UTF-8" linksource="true" breakiterator="false"> <classpath refid="build.classpath"/> </javadoc> </target> <!-- ====================================================================== --> <!-- Package target --> <!-- ====================================================================== --> <target name="package" depends="compile,manifest-jar" description="Package the application"> <jar jarfile="${build.dir}/${build.finalName}.jar" update="true" compress="true" index="false" basedir="${build.outputDir}" excludes="**/package.html"> </jar> </target> <!-- ====================================================================== --> <!-- A dummy target for the package named after the type it creates --> <!-- ====================================================================== --> <target name="jar" depends="package" description="Builds the jar for the application"/> <target name="manifest-jar" description="Generate skeleton for the native jar"> <mkdir dir="${build.dir}"/> <jar jarfile="${build.dir}/${build.finalName}.jar" compress="true"> <manifest> <attribute name="Bundle-Description" value="${project.description}"/> <attribute name="Bundle-DocURL" value="http://fusesource.com/"/> <attribute name="Bundle-License" value="http://www.apache.org/licenses/LICENSE-2.0.txt"/> <attribute name="Bundle-ManifestVersion" value="2"/> <attribute name="Bundle-Name" value="${project.name}"/> <attribute name="Bundle-SymbolicName" value="org.fusesource.jansi.${project.platform}"/> <attribute name="Bundle-Vendor" value="FuseSource, Corp."/> <attribute name="Bundle-Version" value="${project.version}.0"/> <attribute name="Implementation-Title" value="${project.name}"/> <attribute name="Implementation-URL" value="http://jansi.fusesource.org"/> <attribute name="Implementation-Vendor" value="FuseSource, Corp."/> <attribute name="Implementation-Vendor-Id" value="${project.groupId}"/> <attribute name="Implementation-Version" value="${project.version}"/> <attribute name="Import-Package" value="sun.reflect;resolution:=optional"/> <attribute name="JavaPackages-ArtifactId" value="${project.artifactId}"/> <attribute name="JavaPackages-GroupId" value="${project.groupId}"/> <attribute name="JavaPackages-Version" value="${project.version}"/> <attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/> <attribute name="Specification-Title" value="${project.name}"/> <attribute name="Specification-Vendor" value="FuseSource, Corp."/> <attribute name="Specification-Version" value="${project.version}"/> </manifest> </jar> </target> </project>