--- ufc-1.1.2.orig/debian/python-ufc.install +++ ufc-1.1.2/debian/python-ufc.install @@ -0,0 +1,4 @@ +usr/lib/python*/site-packages/ufc.py +usr/lib/python*/site-packages/_ufc.so +usr/lib/python*/site-packages/ufc_utils +usr/include/swig/ufc.i --- ufc-1.1.2.orig/debian/ufc-doc.docs +++ ufc-1.1.2/debian/ufc-doc.docs @@ -0,0 +1 @@ +doc/manual/ufc-user-manual.pdf --- ufc-1.1.2.orig/debian/copyright +++ ufc-1.1.2/debian/copyright @@ -0,0 +1,55 @@ +This package was debianized by Johannes Ring on +Mon, 15 Sep 2008 12:43:05 +0200. + +It was downloaded from http://www.fenics.org + +Upstream Authors: + + Martin Sandve Alnaes + Anders Logg + Kent-Andre Mardal + Hans Petter Langtangen + +Contributors: + + See the AUTHORS file for a complete list of contributors. + +License: + + The UFC specification is released into the public domain. + +The Debian packaging is (C) 2008, Johannes Ring and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +Files or directories which have a different copyright/license attached: + +Files: src/utils/python/ufc/build.py +Copyright: (C) 2009 Johan Hake +License: LGPL-2.1 + +Files: src/utils/misc/makedist +Copyright: (C) 2004-2009 Anders Logg +License: GPL-3+ + +Files: doc/manual/code/Poisson.form +Copyright: (C) 2004-2007 Anders Logg +License: GPL-2 + +Files: doc/manual/fenicsmanual.cls +Copyright: (C) 2005-2007 Anders Logg +License: GPL-2 + +Files: doc/manual/algorithm.sty +Copyright: (C) 1994 Peter Williams +License: LGPL-2+ + +Files: debian/cdbs/1/class/scons*.mk +Copyright: (C) 2005 Matthew A. Nicholson +License: GPL-2+ + +Files: doc/manual/eps/insertion.eps +Copyright: (C) 2004 artofcode LLC, Benicia, CA. +License: PD + This file was drawn with Inkscape by Anders Logg and is released into + the public domain. --- ufc-1.1.2.orig/debian/watch +++ ufc-1.1.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.fenics.org/pub/software/ufc/v([\d.]+)/ufc-([\d.]+)\.tar\.gz --- ufc-1.1.2.orig/debian/compat +++ ufc-1.1.2/debian/compat @@ -0,0 +1 @@ +5 --- ufc-1.1.2.orig/debian/changelog +++ ufc-1.1.2/debian/changelog @@ -0,0 +1,6 @@ +ufc (1.1.2-1) unstable; urgency=low + + * Initial release (Closes: #503072) + + -- Johannes Ring Mon, 15 Sep 2008 12:43:05 +0200 + --- ufc-1.1.2.orig/debian/ufc.install +++ ufc-1.1.2/debian/ufc.install @@ -0,0 +1,2 @@ +usr/include/ufc.h +usr/lib/pkgconfig/ufc-1.pc --- ufc-1.1.2.orig/debian/rules +++ ufc-1.1.2/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +include debian/cdbs/1/class/scons.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +DEB_COMPRESS_EXCLUDE := .pdf +DEB_INSTALL_DOCS_ALL += README AUTHORS TODO +DEB_SCONS_OPTIONS = prefix=/usr +DEB_DH_INSTALL_SOURCEDIR = debian/tmp +DEB_SCONS_INSTALL_OPTIONS = DESTDIR=$(CURDIR)/debian/tmp +USCAN_DESTDIR := $(CURDIR) + +clean:: + rm -f config.log + rm -f options.cache + rm -f src/ufc/_ufc.so + rm -f src/ufc/ufc.py + rm -f src/ufc/ufc_wrap.cc + rm -f src/ufc/ufc_wrap.cxx + rm -f src/ufc/ufc_wrap.os + rm -f swig_config.pyc + rm -f ufc-1.pc + +binary-install/python-ufc:: + dh_pycentral -p$(cdbs_curpkg) + +get-orig-source: + uscan --force-download --verbose --destdir $(USCAN_DESTDIR) --- ufc-1.1.2.orig/debian/control +++ ufc-1.1.2/debian/control @@ -0,0 +1,57 @@ +Source: ufc +Section: math +Priority: extra +Maintainer: Debian Scientific Computing Team +Uploaders: Christophe Prud'homme , Johannes Ring +Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5), python-all-dev, python-central (>= 0.6.0), scons, swig (>= 1.3.35), libboost-dev +Standards-Version: 3.8.0 +XS-Python-Version: current +Homepage: http://www.fenics.org/wiki/UFC +Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/fenics/ufc/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/fenics/ufc/ + +Package: ufc +Section: devel +Architecture: all +Depends: ${misc:Depends} +Suggests: ufc-doc +Description: unified code generation interface for form-compilers + UFC (Unified Form-assembly Code) is a unified framework for finite element + assembly. More precisely, it defines a fixed interface for communicating low + level routines (functions) for evaluating and assembling finite element + variational forms. The UFC interface consists of a single header file ufc.h + that specifies a C++ interface that must be implemented by code that complies + with the UFC specification. Examples of form compilers that support the UFC + interface are FFC and SyFi. + +Package: python-ufc +Section: python +Architecture: any +XB-Python-Version: ${python:Versions} +Depends: ufc (= ${source:Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: unified code generation interface for form-compilers + UFC (Unified Form-assembly Code) is a unified framework for finite element + assembly. More precisely, it defines a fixed interface for communicating low + level routines (functions) for evaluating and assembling finite element + variational forms. The UFC interface consists of a single header file ufc.h + that specifies a C++ interface that must be implemented by code that complies + with the UFC specification. Examples of form compilers that support the UFC + interface are FFC and SyFi. + . + This package contains the Python bindings for UFC. + +Package: ufc-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: ufc, python-ufc +Description: unified code generation interface for form-compilers + UFC (Unified Form-assembly Code) is a unified framework for finite element + assembly. More precisely, it defines a fixed interface for communicating low + level routines (functions) for evaluating and assembling finite element + variational forms. The UFC interface consists of a single header file ufc.h + that specifies a C++ interface that must be implemented by code that complies + with the UFC specification. Examples of form compilers that support the UFC + interface are FFC and SyFi. + . + This package contains documentation for UFC. --- ufc-1.1.2.orig/debian/cdbs/1/class/scons-vars.mk +++ ufc-1.1.2/debian/cdbs/1/class/scons-vars.mk @@ -0,0 +1,52 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005 Matthew A. Nicholson +# Description: Defines useful variables for packages which have a SConstruct +# file +# +# This program 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, or (at +# your option) any later version. +# +# This program 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, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + + +ifndef _cdbs_bootstrap +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class +endif + +ifndef _cdbs_class_scons_vars +_cdbs_class_scons_vars := 1 + +include $(_cdbs_class_path)/langcore.mk$(_cdbs_makefile_suffix) + +DEB_SCONS_ENVVARS = +DEB_SCONS_INVOKE = $(DEB_SCONS_ENVVARS) scons --directory="$(DEB_BUILDDIR)" CC="$(CC)" CFLAGS="$(if $(CFLAGS_$(cdbs_curpkg)),$(CFLAGS_$(cdbs_curpkg)),$(CFLAGS))" CXX="$(CXX)" CXXFLAGS="$(if $(CXXFLAGS_$(cdbs_curpkg)),$(CXXFLAGS_$(cdbs_curpkg)),$(CXXFLAGS))" + +# general options (passed on all scons commands) +DEB_SCONS_OPTIONS = + +# build target and options (only passed on build) +DEB_SCONS_BUILD_TARGET = +DEB_SCONS_BUILD_OPTIONS = + +# install target and options (only passed on install) +DEB_SCONS_INSTALL_TARGET = install +DEB_SCONS_INSTALL_OPTIONS = + +# clean target +DEB_SCONS_CLEAN_TARGET = . + +DEB_SCONS_CHECK_TARGET = + +endif --- ufc-1.1.2.orig/debian/cdbs/1/class/scons.mk +++ ufc-1.1.2/debian/cdbs/1/class/scons.mk @@ -0,0 +1,70 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005 Matthew A. Nicholson +# Description: Builds and cleans packages which have a SConstruct file +# +# This program 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, or (at +# your option) any later version. +# +# This program 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, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + + +ifndef _cdbs_bootstrap +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class +endif + +ifndef _cdbs_class_scons +_cdbs_class_scons := 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) +#include $(_cdbs_class_path)/scons-vars.mk$(_cdbs_makefile_suffix) +include debian/cdbs/1/class/scons-vars.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), scons + +DEB_PHONY_RULES += scons-clean + +common-build-arch common-build-indep:: debian/stamp-scons-build +debian/stamp-scons-build: + $(DEB_SCONS_INVOKE) $(DEB_SCONS_BUILD_TARGET) $(DEB_SCONS_OPTIONS) $(DEB_SCONS_BUILD_OPTIONS) + touch debian/stamp-scons-build + +clean:: scons-clean +scons-clean:: + $(DEB_SCONS_INVOKE) $(DEB_SCONS_CLEAN_TARGET) $(DEB_SCONS_OPTIONS) --keep-going --clean || true + rm -f debian/stamp-scons-build + rm -rf .sconf_temp/ + rm -f .sconsign.dblite config.log + +common-install-arch common-install-indep:: common-install-impl +common-install-impl:: + @if test -n "$(DEB_SCONS_INSTALL_TARGET)"; then \ + echo $(DEB_SCONS_INVOKE) $(DEB_SCONS_INSTALL_TARGET) $(DEB_SCONS_OPTIONS) $(DEB_SCONS_INSTALL_OPTIONS); \ + $(DEB_SCONS_INVOKE) $(DEB_SCONS_INSTALL_TARGET) $(DEB_SCONS_OPTIONS) $(DEB_SCONS_INSTALL_OPTIONS); \ + else \ + echo "DEB_SCONS_INSTALL_TARGET unset, skipping default scons.mk common-install target"; \ + fi + +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) +common-post-build-arch common-post-build-indep:: common-post-build-impl +common-post-build-impl:: + @if test -n "$(DEB_SCONS_CHECK_TARGET)"; then \ + echo $(DEB_SCONS_INVOKE) $(DEB_SCONS_CHECK_TARGET); \ + $(DEB_SCONS_INVOKE) $(DEB_SCONS_CHECK_TARGET) $(DEB_SCONS_OPTIONS); \ + else \ + echo "DEB_SCONS_CHECK_TARGET unset, not running checks"; \ + fi +endif + +endif