Hello community,

here is the log from the commit of package joda-convert for openSUSE:Leap:15.2 
checked in at 2020-02-05 07:26:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/joda-convert (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.joda-convert.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "joda-convert"

Wed Feb  5 07:26:00 2020 rev:1 rq:763094 version:1.9.2

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.joda-convert.new.26092/joda-convert.changes   
2020-02-05 07:26:01.618660998 +0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Wed Feb  6 12:04:24 UTC 2019 - Fridrich Strba <fst...@suse.com>
+
+- Initial package of java-convert 1.9.2
+- Add build.xml file to allow build with ant

New:
----
  joda-convert-1.9.2.tar.gz
  joda-convert-build.xml
  joda-convert.changes
  joda-convert.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ joda-convert.spec ++++++
#
# spec file for package joda-convert
#
# 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/
#


Name:           joda-convert
Version:        1.9.2
Release:        0
Summary:        Java library for conversion to and from standard string formats
License:        Apache-2.0
Group:          Development/Libraries/Java
URL:            https://github.com/JodaOrg/joda-convert/
Source0:        
https://github.com/JodaOrg/joda-convert/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1:        %{name}-build.xml
BuildRequires:  ant
BuildRequires:  dos2unix
BuildRequires:  fdupes
BuildRequires:  guava20
BuildRequires:  javapackages-local
BuildArch:      noarch

%description
Java library to enable conversion to and from standard string formats.

%package javadoc
Summary:        API documentation for %{name}
Group:          Documentation/HTML

%description javadoc
This package contains the API documentation for %{name}.

%prep
%setup -q
cp %{SOURCE1} build.xml
dos2unix *.txt

%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin

%build
%{ant} \
  -Dguava20.jar=%{_javadir}/guava20/guava-20.0.jar \
  clean jar javadoc

%install
# jar
install -dm 0755 %{buildroot}%{_javadir}
install -pm 0644 target/%{name}-%{version}.jar 
%{buildroot}%{_javadir}/%{name}.jar
# pom
install -dm 0755 %{buildroot}%{_mavenpomdir}
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar
# javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
%fdupes -s %{buildroot}%{_javadocdir}

%files -f .mfiles
%license LICENSE.txt NOTICE.txt
%doc RELEASE-NOTES.txt

%files javadoc
%license LICENSE.txt NOTICE.txt
%{_javadocdir}/%{name}

%changelog
++++++ joda-convert-build.xml ++++++
<?xml version="1.0" encoding="UTF-8"?>

<project name="joda-convert" default="package" basedir=".">

  <!-- ====================================================================== 
-->
  <!-- Build environment properties                                           
-->
  <!-- ====================================================================== 
-->

  <property file="build.properties"/>
  
  <property name="project.name" value="Joda-Convert"/>
  <property name="project.artifactId" value="joda-convert"/>
  <property name="project.groupId" value="org.joda"/>
  <property name="project.version" value="1.9.2"/>
  <property name="project.description" value="Library to convert Objects to and 
from String"/>
  <property name="project.url" value="http://www.joda.org/joda-convert/"/>
  <property name="project.organization.name" value="Joda.org"/>
  
  <property name="spec.version" value="1.9"/>

  <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.resourceDir.1" value="."/>

  <property name="reporting.outputDirectory" value="${build.dir}/site"/>

  <property name="compiler.source" value="1.6"/>
  <property name="compiler.target" value="${compiler.source}"/>
  
  <property name="guava20.jar" value="lib/guava20.jar"/>

  <!-- ====================================================================== 
-->
  <!-- Defining classpaths                                                    
-->
  <!-- ====================================================================== 
-->

  <path id="build.classpath">
    <pathelement location="${guava20.jar}"/>
  </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}" 
           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>
    <mkdir dir="${build.outputDir}/META-INF"/>
    <copy todir="${build.outputDir}/META-INF">
      <fileset dir="${build.resourceDir.1}">
        <include name="LICENSE.txt"/>
        <include name="NOTICE.txt"/>
      </fileset>
    </copy>
  </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" 
             verbose="false" 
             version="true" 
             use="true" 
             author="true" 
             splitindex="false" 
             nodeprecated="false" 
             nodeprecatedlist="false" 
             notree="false" 
             noindex="false" 
             nohelp="false" 
             nonavbar="false" 
             serialwarn="false" 
             source="${compiler.source}" 
             linksource="false" 
             breakiterator="false">
      <classpath refid="build.classpath"/>
    </javadoc> 
  </target>

  <!-- ====================================================================== 
-->
  <!-- Package target                                                         
-->
  <!-- ====================================================================== 
-->

  <target name="package" depends="compile" description="Package the 
application">
    <jar jarfile="${build.dir}/${build.finalName}.jar" 
         compress="true" 
         index="false" 
         basedir="${build.outputDir}" 
         excludes="**/package.html">
      <manifest>
                <attribute name="Bundle-Description" 
value="${project.description}"/>
                <attribute name="Bundle-DocURL" value="${project.url}"/>
                <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.joda.convert"/>
                <attribute name="Bundle-Vendor" 
value="${project.organization.name}"/>
                <attribute name="Bundle-Version" value="${project.version}"/>
                <attribute name="Export-Package" 
value="org.joda.convert;version=&quot;${project.version}&quot;,org.joda.convert.factory;uses:=&quot;org.joda.convert&quot;;version=&quot;${project.version}&quot;"/>
                <attribute name="Implementation-Title" value="${project.name}"/>
                <attribute name="Implementation-URL" value="${project.url}"/>
                <attribute name="Implementation-Vendor" 
value="${project.organization.name}"/>
                <attribute name="Implementation-Vendor-Id" 
value="${project.groupId}"/>
                <attribute name="Implementation-Version" 
value="${project.version}"/>
                <attribute name="Import-Package" 
value="com.google.common.collect;version=&quot;[20.0,21)&quot;;resolution:=optional,com.google.common.reflect;version=&quot;[20.0,21)&quot;;resolution:=optional,org.joda.convert,org.joda.convert.factory"/>
                <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:=&quot;(&amp;(osgi.ee=JavaSE)(version=${compiler.target}))&quot;"/>
                <attribute name="Specification-Title" value="${project.name}"/>
                <attribute name="Specification-Vendor" 
value="${project.organization.name}"/>
                <attribute name="Specification-Version" 
value="${spec.version}"/>
      </manifest>
    </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"/>

</project>

Reply via email to