[fftw] 01/16: Imported Debian patch 1.2.1-4
Mattia Rizzolo
mattia at debian.org
Fri Feb 12 22:42:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository fftw.
commit 26612b5c8adf8ade65f73f412e68cb9d2bf7a5de
Author: James A. Treacy <treacy at debian.org>
Date: Mon Feb 16 23:15:16 1998 -0500
Imported Debian patch 1.2.1-4
---
debian/README.debian | 8 +++++
debian/changelog | 28 +++++++++++++++
debian/control | 24 +++++++++++++
debian/copyright | 37 ++++++++++++++++++++
debian/rules | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/shlibs | 1 +
tests/Makefile | 2 +-
7 files changed, 198 insertions(+), 1 deletion(-)
diff --git a/debian/README.debian b/debian/README.debian
new file mode 100644
index 0000000..1409528
--- /dev/null
+++ b/debian/README.debian
@@ -0,0 +1,8 @@
+fftw for DEBIAN
+----------------------
+
+If anyone is interested in a threaded version of fftw, send me
+mail and I will create fftw1-t-dev, which would include a threaded
+static library. It would conflict with fftw1-dev.
+
+James A. Treacy <treacy at debian.org>, Fri, 12 Feb 1998 21:42:20 -0500
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d94fcea
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,28 @@
+fftw (1.2.1-4) unstable; urgency=low
+
+ * made -dev package depend on specific version of fftw1
+
+ -- James A. Treacy <treacy at debian.org> Mon, 16 Feb 1998 23:15:16 -0500
+
+fftw (1.2.1-3) unstable; urgency=low
+
+ * Got rid of lintian bugs.
+
+ -- James A. Treacy <treacy at debian.org> Thu, 12 Feb 1998 15:03:14 -0500
+
+fftw (1.2.1-2) unstable; urgency=low
+
+ * Added missing copyright file
+
+ -- James A. Treacy <treacy at debian.org> Mon, 2 Feb 1998 15:34:33 -0500
+
+fftw (1.2.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- James A. Treacy <treacy at debian.org> Fri, 9 Jan 1998 11:42:20 -0500
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address: "treacy at debian.org"
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..daaf47b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: fftw
+Section: non-free/devel
+Priority: optional
+Maintainer: James A. Treacy <treacy at debian.org>
+Standards-Version: 2.3.0.1
+
+Package: fftw1
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: fftw1-dev
+Conflicts: fftw1-shared, fftw1-static
+Description: docs for fftw
+ This library computes FFTs in one or more dimensions. It
+ is extremely fast. This is the base package for fftw.
+ It contains the docs and the shared version of the fftw
+ libraries. To get the static library you need to install fftw1-dev.
+
+Package: fftw1-dev
+Architecture: any
+Depends: fftw1 (= ${Source-Version}), ${shlibs:Depends}
+Description: library for computing fast fourier transforms
+ This library computes FFTs in one or more dimensions. It
+ is extremely fast.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9c0439a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by James A. Treacy treacy at debian.org on
+Fri, 9 Jan 1998 11:42:20 -0500.
+
+It was downloaded from ftp://theory.lcs.mit.edu/pub/fftw/fftw-1.2.1.tar.gz
+
+The homepage for fftw is at http://theory.lcs.mit.edu/~fftw/
+
+Copyright:
+
+/*
+ * Copyright (c) 1997 Massachusetts Institute of Technology
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to use, copy, modify, and distribute the Software without
+ * restriction, provided the Software, including any modified copies made
+ * under this license, is not distributed for a fee, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE MASSACHUSETTS INSTITUTE OF TECHNOLOGY BE LIABLE
+ * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * Except as contained in this notice, the name of the Massachusetts
+ * Institute of Technology shall not be used in advertising or otherwise
+ * to promote the sale, use or other dealings in this Software without
+ * prior written authorization from the Massachusetts Institute of
+ * Technology.
+ *
+ */
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5b0debb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# Made with the aid of debmake, by Christoph Lameter,
+# based on the sample debian/rules file for GNU hello by Ian Jackson.
+
+package=fftw
+lib=libfftw
+
+INSTALL_DIR = install -m755 -o root -g root -d
+INSTALL_DATA = install -m644 -o root -g root
+INSTALL_LIB = install -m644 -o root -g root
+INSTALL_BIN = install -m755 -o root -g root
+
+
+version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
+version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
+
+build:
+ $(checkdir)
+
+ -mkdir lib.shared lib.static
+ #
+ # First build the static library
+ #
+ cd src ; \
+ $(MAKE) CFLAGS="-pipe -pedantic -ansi -O6 -fomit-frame-pointer -Wall -I." ; \
+ mv *.o lib*.a ../lib.static
+ #
+ # Build the shared library
+ #
+ cd src ; \
+ $(MAKE) CFLAGS="-fPIC -pedantic -ansi -O6 -fomit-frame-pointer -Wall -I." \
+ LDFLAGS="-s" ; \
+ gcc -shared -Wl,-soname,$(lib).so.$(version_major) -o $(lib).so.$(version) -lc *.o ; \
+ mv *.o lib* ../lib.shared
+ touch build
+
+clean:
+ $(checkdir)
+ -rm -rf lib.static lib.shared
+ -rm -f build
+ -make clean
+ -rm -f `find . -name "*~"`
+ -rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core
+ -rm -f debian/*substvars
+
+binary-indep: checkroot build
+ $(checkdir)
+
+binary-arch: checkroot build
+ $(checkdir)
+ rm -rf debian/tmp
+ $(INSTALL_DIR) debian/tmp
+ $(INSTALL_DIR) debian/tmp/DEBIAN debian/tmp/usr/lib
+ cd debian/tmp ; $(INSTALL_DIR) DEBIAN usr/doc/fftw1/html
+ $(INSTALL_DATA) README README.hacks TODO debian/tmp/usr/doc/fftw1
+ $(INSTALL_DATA) COPYRIGHT debian/tmp/usr/doc/fftw1/copyright
+ $(INSTALL_DATA) RELEASE-NOTES debian/tmp/usr/doc/fftw1/changelog
+ $(INSTALL_DATA) debian/changelog debian/tmp/usr/doc/fftw1/changelog.Debian
+ gzip -9 debian/tmp/usr/doc/fftw1/changelog*
+ $(INSTALL_DATA) debian/README.debian debian/tmp/usr/doc/fftw1
+ $(INSTALL_DATA) doc/*.html debian/tmp/usr/doc/fftw1/html
+ $(INSTALL_DIR) debian/tmp/usr/doc/fftw1/FAQ
+ $(INSTALL_DATA) FAQ/fftw-faq.html/* debian/tmp/usr/doc/fftw1/FAQ
+ $(INSTALL_DIR) debian/tmp/usr/doc/fftw1/tests
+ $(INSTALL_DATA) tests/* debian/tmp/usr/doc/fftw1/tests
+ gzip -9 debian/tmp/usr/doc/fftw1/tests/*
+#
+ $(INSTALL_DATA) debian/shlibs debian/tmp/DEBIAN
+ strip --strip-unneeded lib.shared/$(lib).so.$(version)
+ $(INSTALL_LIB) lib.shared/$(lib).so.$(version) debian/tmp/usr/lib
+ ln -s $(lib).so.$(version) debian/tmp/usr/lib/$(lib).so.$(version_major)
+#
+ dpkg-shlibdeps lib.shared/$(lib).so.$(version)
+ dpkg-gencontrol -isp -pfftw1 -Pdebian/tmp
+ dpkg --build debian/tmp ..
+#
+ -rm -rf debian/tmp-dev
+ $(INSTALL_DIR) debian/tmp-dev
+ ( cd debian/tmp-dev && $(INSTALL_DIR) DEBIAN usr/lib usr/doc usr/include )
+ ln -s fftw1 debian/tmp-dev/usr/doc/fftw1-dev
+ strip --strip-debug lib.static/$(lib).a
+ $(INSTALL_LIB) lib.static/$(lib).a debian/tmp-dev/usr/lib/
+ ln -s $(lib).so.$(version_major) debian/tmp-dev/usr/lib/$(lib).so
+ $(INSTALL_DATA) src/fftw.h debian/tmp-dev/usr/include
+
+ dpkg-gencontrol -isp -pfftw1-dev -Pdebian/tmp-dev
+ dpkg --build debian/tmp-dev ..
+
+define checkdir
+ test -f debian/rules
+endef
+
+binary: binary-indep binary-arch
+
+checkroot:
+ $(checkdir)
+ test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot
diff --git a/debian/shlibs b/debian/shlibs
new file mode 100644
index 0000000..bb4af7e
--- /dev/null
+++ b/debian/shlibs
@@ -0,0 +1 @@
+libfftw 1 fftw1 (>= 1.2.1)
diff --git a/tests/Makefile b/tests/Makefile
index bfc1c28..a9d9f71 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,7 +1,7 @@
# $Id: Makefile,v 1.10 1997/07/07 15:25:07 fftw Exp $
FFTWDIR=../src
-LIBFFT = $(FFTWDIR)/libfftw.a
+LIBFFT = -lfftw
HEADERS = $(FFTWDIR)/fftw.h
INCLUDE = -I$(FFTWDIR)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/fftw.git
More information about the debian-science-commits
mailing list