debian package spec [#26007] Debian spec
authorCampbell Barton <ideasman42@gmail.com>
Thu, 10 Feb 2011 06:11:16 +0000 (06:11 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 10 Feb 2011 06:11:16 +0000 (06:11 +0000)
by Dan Eicher (dna)

build_files/package_spec/debian/changelog [new file with mode: 0644]
build_files/package_spec/debian/compat [new file with mode: 0644]
build_files/package_spec/debian/control [new file with mode: 0644]
build_files/package_spec/debian/copyright [new file with mode: 0644]
build_files/package_spec/debian/docs [new file with mode: 0644]
build_files/package_spec/debian/menu [new file with mode: 0644]
build_files/package_spec/debian/rules [new file with mode: 0755]
build_files/package_spec/debian/source/format [new file with mode: 0644]
build_files/package_spec/debian/watch [new file with mode: 0644]

diff --git a/build_files/package_spec/debian/changelog b/build_files/package_spec/debian/changelog
new file mode 100644 (file)
index 0000000..0559bb0
--- /dev/null
@@ -0,0 +1,5 @@
+blender (2.56+svn34749-bf) unstable; urgency=low
+
+  * New upstream SVN snapshot.
+
+ -- Dan Eicher <dan@trollwerks.org>  Wed, 09 Feb 2011 18:55:24 -0700
diff --git a/build_files/package_spec/debian/compat b/build_files/package_spec/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/build_files/package_spec/debian/control b/build_files/package_spec/debian/control
new file mode 100644 (file)
index 0000000..d07db42
--- /dev/null
@@ -0,0 +1,22 @@
+Source: blender
+Section: graphics
+Priority: extra
+Maintainer: Dan Eicher <dan@trollwerks.org>
+Build-Depends: debhelper (>= 7.0.50~), cdbs, cmake, python-support, libfreetype6-dev, libglu1-mesa-dev, libilmbase-dev, libopenexr-dev, libjpeg62-dev, libopenal-dev, libpng12-dev, libsamplerate0-dev, libsdl-dev, libtiff4-dev, libx11-dev, libxi-dev, zlib1g-dev, python3.1-dev [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386]
+Standards-Version: 3.9.1
+Homepage: http://blender.org/
+Vcs-Browser: http://github.com/eponymous/blender
+Vcs-Git: git://github.com/eponymous/blender.git
+
+Package: blender
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Very fast and versatile 3D modeller/renderer
+ Blender is an integrated 3d suite for modelling, animation, rendering,
+ post-production, interactive creation and playback (games). Blender has its
+ own particular user interface, which is implemented entirely in OpenGL and
+ designed with speed in mind. Python bindings are available for scripting;
+ import/export features for popular file formats like 3D Studio and Wavefront
+ Obj are implemented as scripts by the community. Stills, animations, models
+ for games or other third party engines and interactive content in the form of
+ a standalone binary and/or a web plug-in are common products of Blender use.
diff --git a/build_files/package_spec/debian/copyright b/build_files/package_spec/debian/copyright
new file mode 100644 (file)
index 0000000..5758dc3
--- /dev/null
@@ -0,0 +1,92 @@
+This work was packaged for Debian by:
+
+    Dan Eicher <dan@trollwerks.org> on Tue, 08 Feb 2011 21:59:32 -0700
+
+It was downloaded from:
+
+    http://blender.org
+
+Copyright: 
+
+    Copyright (C) 2002-2011 Blender Foundation
+
+License:
+
+    This package is free software; you can redistribute it and/or modify
+    it under the terms of the GNU 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 General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program. If not, see <http://www.gnu.org/licenses/>
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+Python:
+
+   PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
+   --------------------------------------------
+
+   1. This LICENSE AGREEMENT is between the Python Software Foundation
+   ("PSF"), and the Individual or Organization ("Licensee") accessing and
+   otherwise using this software ("Python") in source or binary form and
+   its associated documentation.
+
+   2. Subject to the terms and conditions of this License Agreement, PSF
+   hereby grants Licensee a nonexclusive, royalty-free, world-wide
+   license to reproduce, analyze, test, perform and/or display publicly,
+   prepare derivative works, distribute, and otherwise use Python
+   alone or in any derivative version, provided, however, that PSF's
+   License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
+   2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights
+   Reserved" are retained in Python alone or in any derivative version 
+   prepared by Licensee.
+
+   3. In the event Licensee prepares a derivative work that is based on
+   or incorporates Python or any part thereof, and wants to make
+   the derivative work available to others as provided herein, then
+   Licensee hereby agrees to include in any such work a brief summary of
+   the changes made to Python.
+
+   4. PSF is making Python available to Licensee on an "AS IS"
+   basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+   IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+   DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+   FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+   INFRINGE ANY THIRD PARTY RIGHTS.
+
+   5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+   FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+   A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+   OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+   6. This License Agreement will automatically terminate upon a material
+   breach of its terms and conditions.
+
+   7. Nothing in this License Agreement shall be deemed to create any
+   relationship of agency, partnership, or joint venture between PSF and
+   Licensee.  This License Agreement does not grant permission to use PSF
+   trademarks or trade name in a trademark sense to endorse or promote
+   products or services of Licensee, or any third party.
+
+   8. By copying, installing or otherwise using Python, Licensee
+   agrees to be bound by the terms and conditions of this License
+   Agreement.
+
+The Debian packaging is:
+
+    Copyright (C) 2011 Dan Eicher <dan@trollwerks.org>
+
+you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+
diff --git a/build_files/package_spec/debian/docs b/build_files/package_spec/debian/docs
new file mode 100644 (file)
index 0000000..2cefea0
--- /dev/null
@@ -0,0 +1 @@
+release/text/readme.html
diff --git a/build_files/package_spec/debian/menu b/build_files/package_spec/debian/menu
new file mode 100644 (file)
index 0000000..b30788d
--- /dev/null
@@ -0,0 +1,4 @@
+?package(blender):needs="X11" section="Applications/Graphics"\
+  longtitle="Blender 3D modeler / renderer"\
+  icon="/usr/share/pixmaps/blender.svg"\
+  title="blender" command="/usr/bin/blender"
diff --git a/build_files/package_spec/debian/rules b/build_files/package_spec/debian/rules
new file mode 100755 (executable)
index 0000000..1e067a2
--- /dev/null
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+
+SVN_URL := https://svn.blender.org/svnroot/bf-blender/trunk/blender
+REV := $(shell dpkg-parsechangelog | sed -rne 's,^Version: .*[+~]svn([0-9]+).*,\1,p')
+VER := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+TARBALL = blender_$(VER).orig.tar.gz
+
+get-orig-source:
+       rm -rf get-orig-source $(TARBALL)
+       mkdir get-orig-source
+       svn -q export -r $(REV) $(SVN_URL) get-orig-source/blender-$(VER)
+       GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source blender-$(VER)
+       rm -rf get-orig-source
+       echo "  "$(TARBALL)" created; move it to the right destination to build the package"
diff --git a/build_files/package_spec/debian/source/format b/build_files/package_spec/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/build_files/package_spec/debian/watch b/build_files/package_spec/debian/watch
new file mode 100644 (file)
index 0000000..25e0a6d
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+http://download.blender.org/source/blender-([0-9.]+[a-z]?)\.tar\.gz