[pkg-java] r11290 - trunk/jmdns/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Mon Dec 14 14:29:45 UTC 2009


Author: malat-guest
Date: 2009-12-14 14:29:45 +0000 (Mon, 14 Dec 2009)
New Revision: 11290

Modified:
   trunk/jmdns/debian/rules
Log:
Upstream changed filename convention from tar.gz to tgz. Use zip file instead.

Modified: trunk/jmdns/debian/rules
===================================================================
--- trunk/jmdns/debian/rules	2009-12-14 14:23:46 UTC (rev 11289)
+++ trunk/jmdns/debian/rules	2009-12-14 14:29:45 UTC (rev 11290)
@@ -11,8 +11,8 @@
 
 export JAVA_HOME=/usr/lib/jvm/default-java
 
-VER_MAJOR = 2
-VER_MINOR = 1
+VER_MAJOR = 3
+VER_MINOR = 0
 
 VER_FULL = $(VER_MAJOR).$(VER_MINOR)
 
@@ -73,22 +73,13 @@
 
 #get-orig-source:
 #	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
-$(UPSTREAM_SRC).tar.gz:
+$(UPSTREAM_SRC).zip:
 	wget http://voxel.dl.sourceforge.net/sourceforge/jmdns/$@
 
-get-orig-source: $(UPSTREAM_SRC).tar.gz
-	tar xzf $(UPSTREAM_SRC).tar.gz
+get-orig-source: $(UPSTREAM_SRC).zip
+	unzip -q $(UPSTREAM_SRC).zip
 	# Also remove pre-generated Javadoc
 	rm -rf $(UPSTREAM_SRC)/docs/
-	rm $(UPSTREAM_SRC)/src/samples/ListServices.java
-	rm $(UPSTREAM_SRC)/src/samples/DiscoverServiceTypes.java
-	rm $(UPSTREAM_SRC)/src/samples/DiscoverServices.java
-	rm $(UPSTREAM_SRC)/src/samples/OpenJmDNS.java
-	rm $(UPSTREAM_SRC)/src/samples/RegisterService.java
-	rm $(UPSTREAM_SRC)/src/com/strangeberry/jmdns/tools/Browser.java
-	rm $(UPSTREAM_SRC)/src/com/strangeberry/jmdns/tools/Responder.java
-	rm $(UPSTREAM_SRC)/src/com/strangeberry/jmdns/tools/Main.java
-	#mv $(UPSTREAM_SRC) $(DEBIAN_SRC_DIR)
 	GZIP=-9 tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
 	rm -rf $(UPSTREAM_SRC)
 




More information about the pkg-java-commits mailing list