[pkg-java] r7870 - in trunk: . libstevesoft-regex-java libstevesoft-regex-java/debian

fourmond at alioth.debian.org fourmond at alioth.debian.org
Sun Jan 25 00:06:30 UTC 2009


Author: fourmond
Date: 2009-01-25 00:06:23 +0000 (Sun, 25 Jan 2009)
New Revision: 7870

Added:
   trunk/libstevesoft-regex-java/
   trunk/libstevesoft-regex-java/debian/build.xml
   trunk/libstevesoft-regex-java/debian/changelog
   trunk/libstevesoft-regex-java/debian/control
   trunk/libstevesoft-regex-java/debian/copyright
   trunk/libstevesoft-regex-java/debian/new-upstream
   trunk/libstevesoft-regex-java/debian/rules
   trunk/libstevesoft-regex-java/debian/watch
Removed:
   trunk/lib-com-stevesoft-regex-java/
   trunk/libstevesoft-regex-java/debian/changelog
   trunk/libstevesoft-regex-java/debian/control
   trunk/libstevesoft-regex-java/debian/copyright
   trunk/libstevesoft-regex-java/debian/rules
   trunk/libstevesoft-regex-java/debian/watch
Log:
Renaming lib-com-stevesoft-regex-java to libstevesoft-regex-java

Copied: trunk/libstevesoft-regex-java (from rev 7866, trunk/lib-com-stevesoft-regex-java)


Property changes on: trunk/libstevesoft-regex-java
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: trunk/libstevesoft-regex-java/debian/build.xml (from rev 7869, trunk/lib-com-stevesoft-regex-java/debian/build.xml)
===================================================================
--- trunk/libstevesoft-regex-java/debian/build.xml	                        (rev 0)
+++ trunk/libstevesoft-regex-java/debian/build.xml	2009-01-25 00:06:23 UTC (rev 7870)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?> 
+<!-- Ant build file for the libstevesoft-regex-java debian package -->
+<!-- Copyright 2009 by Vincent Fourmond -->
+<project name="test" default="build" basedir="..">
+  <property name="srcdir" value="src" />
+  <property name="builddir" value="build" />
+  <property name="jardir" value="dist" />
+  <property name="jarname" value="${jardir}/regex-${PACKAGE_VERSION}.jar" />
+
+  <target name="init">
+    <mkdir dir="${builddir}" />
+    <mkdir dir="${jardir}" />
+  </target>
+
+  <target name="clean">
+    <delete dir="${builddir}" />
+    <delete dir="${jardir}" />
+  </target>
+  
+  <target name="compile" depends="init">
+    <javac srcdir="${srcdir}" destdir="${builddir}" />
+  </target>
+
+  <target name="build" depends="compile">
+    <jar basedir="${builddir}" destfile="${jarname}" />
+  </target>
+</project>
\ No newline at end of file

Deleted: trunk/libstevesoft-regex-java/debian/changelog
===================================================================
--- trunk/lib-com-stevesoft-regex-java/debian/changelog	2009-01-24 22:24:30 UTC (rev 7866)
+++ trunk/libstevesoft-regex-java/debian/changelog	2009-01-25 00:06:23 UTC (rev 7870)
@@ -1,5 +0,0 @@
-lib-com-stevesoft-regex-java (1.5.3-1) experimental; urgency=low
-
-  * Initial release (Closes: #512353)
-
- -- Vincent Fourmond <fourmond at debian.org>  Sat, 24 Jan 2009 23:23:02 +0100

Copied: trunk/libstevesoft-regex-java/debian/changelog (from rev 7869, trunk/lib-com-stevesoft-regex-java/debian/changelog)
===================================================================
--- trunk/libstevesoft-regex-java/debian/changelog	                        (rev 0)
+++ trunk/libstevesoft-regex-java/debian/changelog	2009-01-25 00:06:23 UTC (rev 7870)
@@ -0,0 +1,8 @@
+libstevesoft-regex-java (1.5.3-1) experimental; urgency=low
+
+  * Initial release (Closes: #512353)
+  * Adding a watchfile and a small debian/new-upstream script to
+    repackage from jar to tarball.
+  * Writing a debian/build.xml ant task file to compile the project
+
+ -- Vincent Fourmond <fourmond at debian.org>  Sun, 25 Jan 2009 00:46:36 +0100

Deleted: trunk/libstevesoft-regex-java/debian/control
===================================================================
--- trunk/lib-com-stevesoft-regex-java/debian/control	2009-01-24 22:24:30 UTC (rev 7866)
+++ trunk/libstevesoft-regex-java/debian/control	2009-01-25 00:06:23 UTC (rev 7870)
@@ -1,15 +0,0 @@
-Source: lib-com-stevesoft-regex-java
-Section: libs
-Priority: optional
-Maintainer: Vincent Fourmond <fourmond at debian.org>
-Build-Depends: cdbs, debhelper (>= 7)
-Standards-Version: 3.8.0
-Homepage: http://www.javaregex.com/home.html 
-
-Package: lib-com-stevesoft-regex-java
-Architecture: all
-Depends: ${misc:Depends}
-Description: regular expression library for Java
- This is a regular expression for Java. It is needed for the jalview
- program.
-

Copied: trunk/libstevesoft-regex-java/debian/control (from rev 7869, trunk/lib-com-stevesoft-regex-java/debian/control)
===================================================================
--- trunk/libstevesoft-regex-java/debian/control	                        (rev 0)
+++ trunk/libstevesoft-regex-java/debian/control	2009-01-25 00:06:23 UTC (rev 7870)
@@ -0,0 +1,15 @@
+Source: libstevesoft-regex-java
+Section: libs
+Priority: optional
+Maintainer: Vincent Fourmond <fourmond at debian.org>
+Build-Depends: cdbs, debhelper (>= 7), ant, default-jdk-builddep
+Standards-Version: 3.8.0
+Homepage: http://www.javaregex.com/home.html 
+
+Package: libstevesoft-regex-java
+Architecture: all
+Depends: ${misc:Depends}
+Description: regular expression library for Java
+ This is a regular expression for Java. It is needed for the jalview
+ program.
+

Deleted: trunk/libstevesoft-regex-java/debian/copyright
===================================================================
--- trunk/lib-com-stevesoft-regex-java/debian/copyright	2009-01-24 22:24:30 UTC (rev 7866)
+++ trunk/libstevesoft-regex-java/debian/copyright	2009-01-25 00:06:23 UTC (rev 7870)
@@ -1,36 +0,0 @@
-This package was debianized by Vincent Fourmond <fourmond at debian.org> on
-Sat, 24 Jan 2009 23:02:07 +0100.
-
-It was downloaded from <http://www.javaregex.com/download.html>
-
-Upstream Author(s):
-
-    Steven R. Brandt <questions at stevenrbrandt.com>
-
-Copyright:
-	
-    Copyright 2001 by Steven R. Brandt
-
-License:
-
-    This package is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Lesser General Public License
-    as published by the Free Software Foundation; either version 2 of
-    the License, or (at your option) any later version.
-
-    This package is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this package; if not, write to the Free
-    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-    02110-1301 USA
-
-On Debian systems, the complete text of the GNU Lesser General
-Public License can be found in `/usr/share/common-licenses/LGPL'.
-
-The Debian packaging is copyright 2009, Vincent Fourmond
-<fourmond at debian.org> and is licensed under the GPL, see
-`/usr/share/common-licenses/GPL'.

Copied: trunk/libstevesoft-regex-java/debian/copyright (from rev 7869, trunk/lib-com-stevesoft-regex-java/debian/copyright)
===================================================================
--- trunk/libstevesoft-regex-java/debian/copyright	                        (rev 0)
+++ trunk/libstevesoft-regex-java/debian/copyright	2009-01-25 00:06:23 UTC (rev 7870)
@@ -0,0 +1,36 @@
+This package was debianized by Vincent Fourmond <fourmond at debian.org> on
+Sat, 24 Jan 2009 23:02:07 +0100.
+
+It was downloaded from <http://www.javaregex.com/download.html>
+
+Upstream Author:
+
+    Steven R. Brandt <questions at stevenrbrandt.com>
+
+Copyright:
+	
+    Copyright 2001 by Steven R. Brandt
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public License
+    as published by the Free Software Foundation; either version 2 of
+    the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+    02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is copyright 2009, Vincent Fourmond
+<fourmond at debian.org> and is licensed under the GPL, see
+`/usr/share/common-licenses/GPL'.

Copied: trunk/libstevesoft-regex-java/debian/new-upstream (from rev 7869, trunk/lib-com-stevesoft-regex-java/debian/new-upstream)
===================================================================
--- trunk/libstevesoft-regex-java/debian/new-upstream	                        (rev 0)
+++ trunk/libstevesoft-regex-java/debian/new-upstream	2009-01-25 00:06:23 UTC (rev 7870)
@@ -0,0 +1,35 @@
+#!/bin/sh
+#
+# new-upstream: copyright 2009 by Vincent Fourmond.
+# This script simply repackages the original jarball into a real tarball.
+#
+# Called by uscan; from uscan(1):
+#
+# Finally,  if a third parameter (an action) is given in the watchfile
+# line, this is taken as the name of a command, and the command
+#  command --upstream-version version filename
+# 
+# is executed, using either the original file or the symlink name.
+#
+# Thanks to Sam Morris <sam at robots.org.uk> for giving me the idea
+#
+
+version=$2
+filename=$3
+
+dir=`mktemp -d`
+target_dir=$dir/libstevesoft-regex-java-$version/src
+
+# We repackage the upstream source zip file:
+mkdir -p $target_dir
+unzip "$filename" -d "$target_dir"
+origname=libstevesoft-regex-java_$version.orig.tar.gz
+
+# We repackage excluding the lib/ subdir
+cd $dir
+echo "Creating archive"
+tar cvz -f $origname lib*
+cd -
+# We remove any file already existing there: it might be a symlink.
+rm -f $orginame 
+mv $dir/$origname ..

Deleted: trunk/libstevesoft-regex-java/debian/rules
===================================================================
--- trunk/lib-com-stevesoft-regex-java/debian/rules	2009-01-24 22:24:30 UTC (rev 7866)
+++ trunk/libstevesoft-regex-java/debian/rules	2009-01-25 00:06:23 UTC (rev 7870)
@@ -1,30 +0,0 @@
-#!/usr/bin/make -f
-# debian/rules for lib-com-stevesoft-regex-java
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-VERSION = $(shell dpkg-parsechangelog | egrep '^Version' | \
-	sed -r 's/Version:\s*//' | sed -r 's/^[0-9]+://' | \
-	sed -r 's/(\.dfsg)?-[0-9.]+//')
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/ant.mk
-# include /usr/share/cdbs/1/rules/dpatch.mk
-
-JAVA_HOME_DIRS       := /usr/lib/jvm/java-gcj
-ANT_HOME             := /usr/share/ant
-DEB_ANT_COMPILER     := modern
-DEB_BUILDDIR         := .
-# DEB_ANT_BUILDFILE    := build.xml
-DEB_ANT_CLEAN_TARGET := clean
-
-print-version:
-	echo $(VERSION)
-
-# install/statsvn::
-# 	install -m 644 dist/statsvn.jar debian/statsvn/usr/share/java/statsvn-$(VERSION).jar
-# 	ln -s statsvn-$(VERSION).jar debian/statsvn/usr/share/java/statsvn.jar
-# 	install -m 755 -t debian/statsvn/usr/bin debian/wrappers/statsvn
-
-

Copied: trunk/libstevesoft-regex-java/debian/rules (from rev 7869, trunk/lib-com-stevesoft-regex-java/debian/rules)
===================================================================
--- trunk/libstevesoft-regex-java/debian/rules	                        (rev 0)
+++ trunk/libstevesoft-regex-java/debian/rules	2009-01-25 00:06:23 UTC (rev 7870)
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+# debian/rules for libstevesoft-regex-java
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+VERSION = $(shell dpkg-parsechangelog | egrep '^Version' | \
+	sed -r 's/Version:\s*//' | sed -r 's/^[0-9]+://' | \
+	sed -r 's/(\.dfsg)?-[0-9.]+//')
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+# include /usr/share/cdbs/1/rules/dpatch.mk
+
+JAVA_HOME_DIRS       := /usr/lib/jvm/java-gcj
+ANT_HOME             := /usr/share/ant
+DEB_ANT_COMPILER     := modern
+DEB_BUILDDIR         := .
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_CLEAN_TARGET := clean
+
+ANT_ARGS := -DPACKAGE_VERSION=$(VERSION)
+
+target_dir=debian/libstevesoft-regex-java/usr/share/java
+
+print-version:
+	echo $(VERSION)
+
+
+
+install/libstevesoft-regex-java::
+	install -m 644 dist/*.jar $(target_dir)/regex-$(VERSION).jar
+	ln -s regex-$(VERSION).jar $(target_dir)/regex.jar
+
+

Deleted: trunk/libstevesoft-regex-java/debian/watch
===================================================================
--- trunk/lib-com-stevesoft-regex-java/debian/watch	2009-01-24 22:24:30 UTC (rev 7866)
+++ trunk/libstevesoft-regex-java/debian/watch	2009-01-25 00:06:23 UTC (rev 7870)
@@ -1,6 +0,0 @@
-# Watchfile for lib-com-stevesoft-regex-java
-
-# Compulsory line, this is a version 3 file
-version=3
-
-http://www.javaregex.com/binaries/patsrcfree(.)(.)?(.)?.jar

Copied: trunk/libstevesoft-regex-java/debian/watch (from rev 7869, trunk/lib-com-stevesoft-regex-java/debian/watch)
===================================================================
--- trunk/libstevesoft-regex-java/debian/watch	                        (rev 0)
+++ trunk/libstevesoft-regex-java/debian/watch	2009-01-25 00:06:23 UTC (rev 7870)
@@ -0,0 +1,6 @@
+# Watchfile for libstevesoft-regex-java
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://www.javaregex.com/binaries/patsrcfree(.)(.)?(.)?.jar debian debian/new-upstream




More information about the pkg-java-commits mailing list