From 1eb7d3bd9e6beb6fe71692ee39ca6db16d24de8f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 10 Feb 2011 06:11:16 +0000 Subject: debian package spec [#26007] Debian spec by Dan Eicher (dna) --- build_files/package_spec/debian/changelog | 5 ++ build_files/package_spec/debian/compat | 1 + build_files/package_spec/debian/control | 22 +++++++ build_files/package_spec/debian/copyright | 92 +++++++++++++++++++++++++++ build_files/package_spec/debian/docs | 1 + build_files/package_spec/debian/menu | 4 ++ build_files/package_spec/debian/rules | 17 +++++ build_files/package_spec/debian/source/format | 1 + build_files/package_spec/debian/watch | 2 + 9 files changed, 145 insertions(+) create mode 100644 build_files/package_spec/debian/changelog create mode 100644 build_files/package_spec/debian/compat create mode 100644 build_files/package_spec/debian/control create mode 100644 build_files/package_spec/debian/copyright create mode 100644 build_files/package_spec/debian/docs create mode 100644 build_files/package_spec/debian/menu create mode 100755 build_files/package_spec/debian/rules create mode 100644 build_files/package_spec/debian/source/format create mode 100644 build_files/package_spec/debian/watch diff --git a/build_files/package_spec/debian/changelog b/build_files/package_spec/debian/changelog new file mode 100644 index 00000000000..0559bb0c4d8 --- /dev/null +++ b/build_files/package_spec/debian/changelog @@ -0,0 +1,5 @@ +blender (2.56+svn34749-bf) unstable; urgency=low + + * New upstream SVN snapshot. + + -- Dan Eicher 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 index 00000000000..7f8f011eb73 --- /dev/null +++ b/build_files/package_spec/debian/compat @@ -0,0 +1 @@ +7 diff --git a/build_files/package_spec/debian/control b/build_files/package_spec/debian/control new file mode 100644 index 00000000000..d07db427af6 --- /dev/null +++ b/build_files/package_spec/debian/control @@ -0,0 +1,22 @@ +Source: blender +Section: graphics +Priority: extra +Maintainer: Dan Eicher +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 index 00000000000..5758dc3a086 --- /dev/null +++ b/build_files/package_spec/debian/copyright @@ -0,0 +1,92 @@ +This work was packaged for Debian by: + + Dan Eicher 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 + +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 + +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 index 00000000000..2cefea03ad4 --- /dev/null +++ b/build_files/package_spec/debian/docs @@ -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 index 00000000000..b30788d55b5 --- /dev/null +++ b/build_files/package_spec/debian/menu @@ -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 index 00000000000..1e067a27826 --- /dev/null +++ b/build_files/package_spec/debian/rules @@ -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 index 00000000000..163aaf8d82b --- /dev/null +++ b/build_files/package_spec/debian/source/format @@ -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 index 00000000000..25e0a6ddccc --- /dev/null +++ b/build_files/package_spec/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.blender.org/source/blender-([0-9.]+[a-z]?)\.tar\.gz -- cgit v1.2.3