1
0
Quellcode durchsuchen

Import Debian version 0.0~svn5-1

Evgeni Golov vor 15 Jahren
Ursprung
Commit
53825fcf61
10 geänderte Dateien mit 111 neuen und 0 gelöschten Zeilen
  1. 7 0
      debian/README.source
  2. 5 0
      debian/changelog
  3. 1 0
      debian/compat
  4. 20 0
      debian/control
  5. 25 0
      debian/copyright
  6. 2 0
      debian/docs
  7. 47 0
      debian/rules
  8. 2 0
      debian/u3-tool.install
  9. 1 0
      debian/u3-tool.links
  10. 1 0
      debian/watch

+ 7 - 0
debian/README.source

@@ -0,0 +1,7 @@
+Upstream hasn't released any versions yet, so I package a SVN snapshot.
+It's basically checking out
+ http://u3-tool.svn.sourceforge.net/svnroot/u3-tool/trunk/
+and exporting it into a clean tarball.
+
+That all can be done with the get-orig-source target of debian/rules:
+ make -f debian/rules get-orig-source

+ 5 - 0
debian/changelog

@@ -0,0 +1,5 @@
+u3-tool (0.0~svn5-1) unstable; urgency=low
+
+  * Initial release. (Closes: #518756)
+
+ -- Evgeni Golov <evgeni@debian.org>  Thu, 30 Apr 2009 09:55:54 +0200

+ 1 - 0
debian/compat

@@ -0,0 +1 @@
+7

+ 20 - 0
debian/control

@@ -0,0 +1,20 @@
+Source: u3-tool
+Section: utils
+Priority: optional
+Maintainer: Evgeni Golov <evgeni@debian.org>
+Build-Depends: debhelper (>= 7), libusb-dev
+Standards-Version: 3.8.1
+Homepage: http://u3-tool.sourceforge.net/
+
+Package: u3-tool
+Architecture: alpha amd64 arm armel i386 ia64 mipsel kfreebsd-amd64 kfreebsd-i386 hurd-i386
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: tool for controlling the special features of a U3 USB flash disk
+ Tool for controlling USB flash devices that conform to the U3 specifications.
+ You can do the following with your U3 flash:
+  * Replace the CD image
+  * Change the size of the virtual CD or completely remove it
+  * Enable and disable security
+  * Unlock and change the password of secured U3 device
+  * Obtain various device information
+

+ 25 - 0
debian/copyright

@@ -0,0 +1,25 @@
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=420
+Upstream-Name: u3_tool
+Upstream-Maintainer: Daviedev <daviedev@users.sourceforge.net>
+Upstream-Source: http://u3-tool.svn.sourceforge.net/svnroot/u3-tool/trunk/
+
+Files: *
+Copyright: © 2007-2008 Daviedev <daviedev@users.sourceforge.net>
+License: GPL-2+
+
+Files: src/md5.{c,h}
+Copyright: © 2006-2007 Christophe Devine
+License: LGPL-2.1
+
+Files: debian/*
+Copyright: © 2009 Evgeni Golov <sargentd@die-welt.net>
+License: GPL-2+
+
+License: GPL-2+
+ On Debian systems the full text of the GNU General Public License can be found
+ in the `/usr/share/common-licenses/GPL' file.
+
+License: LGPL-2.1
+ On Debian systems the full text of the GNU Lesser General Public License can
+ be found in the `/usr/share/common-licenses/LGPL-2.1' file.

+ 2 - 0
debian/docs

@@ -0,0 +1,2 @@
+README
+doc/commands.txt

+ 47 - 0
debian/rules

@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+
+PACKAGE=u3-tool
+VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
+TARBALL=$(PACKAGE)_$(VERSION).orig.tar.gz
+SVN_ROOT=http://u3-tool.svn.sourceforge.net/svnroot/u3-tool/trunk/
+SVN_REV=$(shell echo $(VERSION) | sed 's/.*svn//' )
+
+build: build-stamp
+build-stamp:
+	dh build --before build
+	$(MAKE) -C src
+	dh build --after build
+	touch $@
+
+clean: 
+	dh clean
+	$(MAKE) -C src clean
+
+install: build
+	dh install --before dh_installman
+	install -D -m 0644 $(CURDIR)/doc/u3-tool.1 \
+		$(CURDIR)/debian/u3-tool/usr/share/man/man1/u3_tool.1
+	dh install --remaining
+
+binary-indep: install
+	dh binary-indep
+
+binary-arch: install
+	dh binary-arch
+
+binary: binary-indep binary-arch
+	dh binary
+
+get-orig-source:
+	@echo "Fetching $(PACKAGE) from $(SVN_ROOT) at revision $(SVN_REV)."
+	rm -rf get-orig-source $(TARBALL)
+	mkdir get-orig-source
+	svn co $(SVN_ROOT) get-orig-source/upstream
+	svn export -r $(SVN_REV) get-orig-source/upstream \
+		get-orig-source/$(PACKAGE)-$(VERSION).orig
+	GZIP=--best tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(VERSION).orig
+	rm -rf get-orig-source
+	@echo "Generated $(TARBALL)."
+
+
+.PHONY: build clean binary-indep binary-arch binary install get-orig-source

+ 2 - 0
debian/u3-tool.install

@@ -0,0 +1,2 @@
+src/u3_tool usr/sbin
+src/u3_tool_sg usr/sbin

+ 1 - 0
debian/u3-tool.links

@@ -0,0 +1 @@
+usr/share/man/man1/u3_tool.1.gz usr/share/man/man1/u3_tool_sg.1.gz

+ 1 - 0
debian/watch

@@ -0,0 +1 @@
+# This is a dummy watchfile. Upstream hasn't released any tarballs yet.