re-debianize
svn: r21761
This commit is contained in:
parent
cd6a2b70c4
commit
ba5a42eb3f
4
debian/control
vendored
4
debian/control
vendored
@ -3,10 +3,10 @@ Maintainer: Gramps Development Team <benny.malengier@gmail.com>
|
|||||||
Section: python
|
Section: python
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Build-Depends-Indep: libxml-parser-perl, gettext, intltool
|
Build-Depends-Indep: libxml-parser-perl, gettext, intltool
|
||||||
Build-Depends: debhelper (>= 7), python-support (>= 0.8.4), python-gobject-dev (>= 3.3.2)
|
Build-Depends: debhelper (>= 7), python-support (>= 0.8.4)
|
||||||
Standards-Version: 3.8.4
|
Standards-Version: 3.8.4
|
||||||
Homepage: http://www.gramps-project.org/
|
Homepage: http://www.gramps-project.org/
|
||||||
XS-Python-Version: >=2.7
|
XS-Python-Version: current
|
||||||
|
|
||||||
Package: python-gramps
|
Package: python-gramps
|
||||||
Architecture: all
|
Architecture: all
|
||||||
|
81
debian/rules
vendored
81
debian/rules
vendored
@ -1,73 +1,22 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
build: build-stamp
|
# This file was automatically generated by stdeb 0.6.0 at
|
||||||
build-stamp:
|
# Wed, 27 Mar 2013 14:11:45 +0100
|
||||||
dh_testdir
|
|
||||||
|
|
||||||
#./autogen.sh --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc
|
# Unset the environment variables set by dpkg-buildpackage. (This is
|
||||||
./configure --enable-packager-mode --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc
|
# necessary because distutils is brittle with compiler/linker flags
|
||||||
# ./configure --prefix=`pwd`/debian/tmp/usr --mandir=\$${prefix}/share/man
|
# set. Specifically, packages using f2py will break without this.)
|
||||||
$(MAKE)
|
unexport CPPFLAGS
|
||||||
# $(MAKE) html
|
unexport CFLAGS
|
||||||
|
unexport CXXFLAGS
|
||||||
|
unexport FFLAGS
|
||||||
|
unexport LDFLAGS
|
||||||
|
|
||||||
touch build-stamp
|
#exports specified using stdeb Setup-Env-Vars:
|
||||||
|
export DH_OPTIONS=--buildsystem=python_distutils
|
||||||
clean:
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
|
|
||||||
# [ ! -f Makefile ] || $(MAKE) distclean
|
|
||||||
# -rm -f src/*.pyo src/*/*.pyo
|
|
||||||
# -rm -f config.status config.log
|
|
||||||
|
|
||||||
dh_auto_clean
|
|
||||||
dh_clean
|
|
||||||
|
|
||||||
install: build
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_prep
|
|
||||||
dh_installdirs
|
|
||||||
|
|
||||||
# Add here commands to install the package into debian/tmp.
|
|
||||||
# GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
||||||
$(MAKE) install DESTDIR=`pwd`/debian/gramps
|
|
||||||
-rm -f debian/gramps/usr/share/gramps/COPYING
|
|
||||||
ln -s /usr/share/common-licenses/GPL-2 debian/gramps/usr/share/gramps/COPYING
|
|
||||||
-rm -rf debian/gramps/usr/var
|
|
||||||
# cp src/data/gramps.xml debian/gramps/usr/share/mime/packages
|
|
||||||
-find debian/gramps/usr/share/ -name "*.pyo" -exec rm -f '{}' ';'
|
|
||||||
|
|
||||||
cp debian/gramps.xpm debian/gramps/usr/share/pixmaps/
|
|
||||||
# cp src/gramps.xpm debian/tmp/usr/share/pixmaps/
|
|
||||||
# cp src/images/gramps.svg debian/gramps/usr/share/pixmaps/
|
|
||||||
# chmod 644 debian/gramps/usr/share/pixmaps/gramps.svg
|
|
||||||
|
|
||||||
# Build architecture-independent files here.
|
|
||||||
binary-indep: build install
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_installdocs FAQ
|
|
||||||
dh_installmenu
|
|
||||||
# dh_installman
|
|
||||||
dh_installmime -i
|
|
||||||
# dh_installchangelogs ChangeLog
|
|
||||||
dh_installchangelogs
|
|
||||||
dh_icons
|
|
||||||
# dh_movefiles -i
|
|
||||||
# dh_gconf -i
|
|
||||||
dh_link -i
|
|
||||||
dh_compress -i
|
|
||||||
dh_fixperms -i
|
|
||||||
dh_pycentral -i
|
|
||||||
dh_installdeb -i
|
|
||||||
dh_gencontrol -i
|
|
||||||
dh_md5sums -i
|
|
||||||
dh_builddeb -i
|
|
||||||
|
|
||||||
|
|
||||||
# Build architecture-dependent files here.
|
%:
|
||||||
binary-arch: build install
|
dh $@
|
||||||
|
|
||||||
|
|
||||||
binary: binary-indep binary-arch
|
|
||||||
.PHONY: build clean binary-indep binary-arch binary install
|
|
||||||
|
Loading…
Reference in New Issue
Block a user