[sequence-library] importing package into SCM
Ismael Olea
olea at fedoraproject.org
Thu Nov 15 21:04:42 UTC 2012
commit 55403279028c4d0524aeafe46644f977501b4727
Author: Ismael Olea <ismael at olea.org>
Date: Thu Nov 15 22:04:16 2012 +0100
importing package into SCM
.gitignore | 1 +
sequence-library-1.0.2.pom | 35 ++++++++++++++++
sequence-library-build.xml | 56 +++++++++++++++++++++++++
sequence-library.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
5 files changed, 189 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2675cc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sequence-library-1.0.2.tar.gz
diff --git a/sequence-library-1.0.2.pom b/sequence-library-1.0.2.pom
new file mode 100644
index 0000000..65a132b
--- /dev/null
+++ b/sequence-library-1.0.2.pom
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>de.regnis.q.sequence</groupId>
+ <artifactId>sequence-library</artifactId>
+ <version>1.0.2</version>
+ <name>Sequence Library</name>
+ <description>Textual Diff and Merge Library</description>
+ <url>http://svn.svnkit.com/repos/3rdparty/de.regnigs.q.sequence</url>
+ <licenses>
+ <license>
+ <name>Sequence Library License</name>
+ <url>http://www.svnkit.com/SEQUENCE-LICENSE.txt</url>
+ </license>
+ </licenses>
+ <developers>
+ <developer>
+ <id>syntevo</id>
+ <name>SyntEvo GmbH</name>
+ </developer>
+ </developers>
+ <scm>
+ <connection>scm:svn:http://svn.svnkit.com/repos/3rdparty/de.regnigs.q.sequence</connection>
+ <url>http://svn.svnkit.com/repos/3rdparty/de.regnigs.q.sequence</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/sequence-library-build.xml b/sequence-library-build.xml
new file mode 100644
index 0000000..623fec6
--- /dev/null
+++ b/sequence-library-build.xml
@@ -0,0 +1,56 @@
+<!--
+build.xml for sequence-library without any use of gradle.
+This file it's adjusted for Fedora'
+By Ismael Olea <ismael at olea.org>, public domain.
+-->
+
+<project name="sequence-library" >
+ <description>
+ The de.regnis.q.sequence package for textual diff and merge
+ </description>
+
+ <target name="all" depends=" build, javadoc" description="build all jars" />
+
+ <target name="init">
+ <property file="sequence-library.build.properties"/>
+ </target>
+
+ <target name="clean" description="clean up" >
+ <delete dir="build/"/>
+ <delete dir="docs/"/>
+ </target>
+
+ <target name="javadoc" description="Generation of javadocs documentation">
+ <javadoc packagenames="de.regnis.q.sequence.*"
+ sourcepath="src/main/java/"
+ classpath="build/classes,/usr/share/java/junit.jar"
+ destdir="docs/api"/>
+ </target>
+
+<target name="build" depends="init" description="builds sequence-library.jar">
+ <mkdir dir="build"/>
+ <mkdir dir="build/classes"/>
+
+ <javac srcdir="src/" destdir="build/classes" verbose="no">
+ <classpath>
+ <pathelement path="${classpath}"/>
+ <pathelement location="/usr/share/java/junit.jar" />
+ </classpath>
+ </javac>
+
+ <mkdir dir="build/libs"/>
+
+ <copy todir="build/classes/META-INF/" >
+ <fileset dir="./">
+ <include name="LICENSE.txt" />
+ </fileset>
+ </copy>
+
+ <jar jarfile="build/libs/sequence-library-${version}.jar"
+ basedir="build/classes/"
+ manifest="manifest.mf"
+ />
+</target>
+
+ </project>
+
diff --git a/sequence-library.spec b/sequence-library.spec
new file mode 100644
index 0000000..06ca8ce
--- /dev/null
+++ b/sequence-library.spec
@@ -0,0 +1,96 @@
+Name: sequence-library
+Version: 1.0.2
+Release: 2%{?dist}
+Summary: Textual diff and merge library
+
+License: Sequence
+URL: http://svn.svnkit.com/repos/3rdparty/de.regnis.q.sequence/
+
+# generated with:
+# svn checkout http://svn.svnkit.com/repos/3rdparty/de.regnis.q.sequence/tags/1.0.2/
+Source0: %{name}-%{version}.tar.gz
+#Source1: http://search.maven.org/remotecontent?filepath=de/regnis/q/sequence/%{name}/%{version}/%{name}-%{version}.pom
+Source1: %{name}-%{version}.pom
+Source2: %{name}-build.xml
+BuildArch: noarch
+
+BuildRequires: java-devel
+BuildRequires: junit
+BuildRequires: jpackage-utils
+BuildRequires: ant
+Requires: java
+Requires: jpackage-utils
+
+%description
+A textual diff and merge library.
+
+%package javadoc
+Summary: Javadocs for %{name}
+Group: Documentation
+Requires: jpackage-utils
+%description javadoc
+This package contains the API documentation for %{name}.
+
+
+%prep
+%setup -q
+
+# removing gradle build stuff
+rm -rf gradle gradlew gradlew.bat
+
+find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \;
+
+cp %{SOURCE2} build.xml
+
+cat > sequence-library.build.properties <<EOF
+version=%{versionr}
+build.number=${versionr}
+EOF
+
+cat > manifest.mf <<EOF
+Build-Version: %{versionr}
+EOF
+
+
+%build
+ant all
+
+
+%install
+
+install -d -m 755 %{buildroot}%{_javadir}
+install -m 644 build/libs/%{name}-%{versionr}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# pom
+install -Dpm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap
+
+# javadocs
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -rp docs/api/ %{buildroot}%{_javadocdir}/%{name}
+
+
+%files
+%{_javadir}/*
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/%{name}
+%doc LICENSE.txt
+
+%files javadoc
+%{_javadocdir}/*
+%doc LICENSE.txt
+
+
+%changelog
+* Fri Nov 9 2012 Ismael Olea <ismael at olea.org> - 1.0.2-2
+- review changes: https://bugzilla.redhat.com/show_bug.cgi?id=873738#c7
+
+* Thu Nov 8 2012 Ismael Olea <ismael at olea.org> - 1.0.2-1
+- review changes: https://bugzilla.redhat.com/show_bug.cgi?id=873738#c2
+- review changes: https://bugzilla.redhat.com/show_bug.cgi?id=873738#c3
+
+* Tue Oct 9 2012 Ismael Olea <ismael at olea.org> - 1.0.2.20121003svn-2
+- spec tuning
+
+* Wed Oct 3 2012 Ismael Olea <ismael at olea.org> - 1.0.2.20121003svn-1
+- first package
diff --git a/sources b/sources
index e69de29..5abefd5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ca6d3efe62248ab4e028c87ec58beeb7 sequence-library-1.0.2.tar.gz
More information about the scm-commits
mailing list