commit 2ab86853234329e8c8a55e3c58e80eef8a6d4583 Author: Jaromir Capik jcapik@redhat.com Date: Tue Feb 21 14:03:22 2012 +0100
Initial import (#787658).
.gitignore | 1 + jgoodies-animation-1.3.0.pom | 56 ++++++++++++++++++++++++++++ jgoodies-animation.spec | 84 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 142 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..c8b5e4a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/jgoodies-animation-1_3_0.zip diff --git a/jgoodies-animation-1.3.0.pom b/jgoodies-animation-1.3.0.pom new file mode 100644 index 0000000..1ba57b8 --- /dev/null +++ b/jgoodies-animation-1.3.0.pom @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>com.jgoodies</groupId> + <artifactId>animation</artifactId> + <version>1.3.0</version> + <packaging>jar</packaging> + <name>JGoodies Animation</name> + <url>https://animation.dev.java.net/</url> + <description>The JGoodies Animation framework enables you to produce sophisticated + time-based real-time animations in Java. It has been designed + for a seemless, flexible and powerful integration with Java, + ease-of-use and a small library size. + </description> + <licenses> + <license> + <name>The BSD License</name> + <url>http://www.opensource.org/licenses/bsd-license.html</url> + </license> + </licenses> + <developers> + <developer> + <id>Karsten</id> + <name>Karsten Lentzsch</name> + </developer> + </developers> + <scm> + <connection>scm:cvs:pserver:guest@cvs.dev.java.net:/cvs:animation</connection> + <tag>head</tag> + <url>https://animation.dev.java.net/source/browse/animation/</url> + </scm> + <dependencies> + <dependency> + <groupId>com.jgoodies</groupId> + <artifactId>jgoodies-common</artifactId> + <version>1.2.1</version> + </dependency> + </dependencies> + <build> + <directory>${basedir}/build</directory> + <sourceDirectory>${basedir}/src/core</sourceDirectory> + <testSourceDirectory>${basedir}/src/test</testSourceDirectory> + <outputDirectory>${basedir}/build/classes</outputDirectory> + <testOutputDirectory>${basedir}/build/test-classes</testOutputDirectory> + <resources> + <resource> + <directory>.</directory> + <includes> + <include>LICENSE.txt</include> + <include>README.html</include> + <include>RELEASE-NOTES.txt</include> + </includes> + </resource> + </resources> + </build> +</project> \ No newline at end of file diff --git a/jgoodies-animation.spec b/jgoodies-animation.spec new file mode 100644 index 0000000..ff3937a --- /dev/null +++ b/jgoodies-animation.spec @@ -0,0 +1,84 @@ +Name: jgoodies-animation +Version: 1.3.0 +Release: 1%{?dist} +Summary: Framework for time-based real-time animations in Java +Group: Development/Java +License: BSD +#Alt. URL: http://java.net/projects/animation +URL: http://www.jgoodies.com/freeware/animation/index.html + +Source0: http://www.jgoodies.com/download/libraries/animation/%%7Bname%7D-%(tr "." "_" <<<%{version}).zip +Source1: %{name}-%{version}.pom + +BuildArch: noarch + +BuildRequires: java-devel +BuildRequires: ant +BuildRequires: jpackage-utils +BuildRequires: jgoodies-common + +Requires: java +Requires: jpackage-utils +Requires: jgoodies-common + + +%description +The JGoodies Animation framework enables you to produce time-based real-time +animations in Java. It uses concepts and notions as described by the W3C +specification for the Synchronized Multimedia Integration Language (SMIL). + +This animation framework has been designed for a seemless, flexible +and powerful integration with Java, ease-of-use and a small library size. +Unlike SMIL we use Java to describe the animations – not XML. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation +Requires: %{name} = %{version}-%{release} +Requires: jpackage-utils + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q + +# Delete prebuilt JARs +find -name "*.jar" -delete + +# Remove DOS line endings +for file in LICENSE.txt RELEASE-NOTES.txt; do + sed 's|\r||g' $file > $file.new && \ + touch -r $file $file.new && \ + mv $file.new $file +done + +%build +mkdir -p lib +pushd lib +ln -sf $(build-classpath jgoodies-common) jgoodies-common-1.2.1.jar +popd +%ant jar javadoc + +%install +install -Dpm 0644 build/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar + +mkdir -p %{buildroot}%{_javadocdir}/%{name}/ +cp -a build/docs/api/* %{buildroot}%{_javadocdir}/%{name}/ + +install -Dm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom +%add_maven_depmap JPP-%{name}.pom %{name}.jar + +%files +%doc LICENSE.txt README.html RELEASE-NOTES.txt +%{_javadir}/%{name}.jar +%{_mavenpomdir}/JPP-%{name}.pom +%{_mavendepmapfragdir}/%{name} + +%files javadoc +%doc LICENSE.txt +%{_javadocdir}/%{name} + +%changelog +* Thu Feb 02 2012 Jaromir Capik jcapik@redhat.com - 1.3.0-1 +- Initial version diff --git a/sources b/sources index e69de29..3c3a049 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a258108dd199b57ce535a2455963b6c0 jgoodies-animation-1_3_0.zip