-Ce dépôt rassemble les développements de modèles AuF pour OpenOffice.org.
+Ce dépôt rassemble les développements de modèles pour LibreOffice.
--- /dev/null
+PACKAGE = $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
+DIST = $(shell dpkg-parsechangelog | sed -n 's/^Distribution: //p')
+
+all: build
+
+build:
+
+install:
+ install -m 0755 -d $(DESTDIR)/usr/share/$(PACKAGE)
+ install -m 0644 modeles/* $(DESTDIR)/usr/share/$(PACKAGE)/
+ install -m 0755 -d $(DESTDIR)/usr/lib/libreoffice/share/template/fr/AUF
+ install -m 0755 -d $(DESTDIR)/usr/lib/libreoffice/share/template/fr/presnt
+ cd modeles ; for f in * ; do \
+ if expr match '$$f' '.*\.otp$$' >/dev/null ; then \
+ ln -s ../../../../../../share/$(PACKAGE)/$$f $(DESTDIR)/usr/lib/libreoffice/share/template/fr/presnt/ ; \
+ else \
+ ln -s ../../../../../../share/$(PACKAGE)/$$f $(DESTDIR)/usr/lib/libreoffice/share/template/fr/AUF/ ; \
+ fi ; \
+ done
+
+clean:
+
+deb:
+ debuild -I.git -I*.ex -us -uc -b && \
+ echo -e "\n\n==> Lancer \"sudo debi\" pour tester l'installation.\n"
+
+release:
+ debuild -I.git -I*.ex -us -uc -tc -sa && debrelease --dput $(DIST)-test
+
--- /dev/null
+auf-libreoffice-modeles (1204.1) precise; urgency=low
+
+ * Nouvelle version pour Precise.
+
+ -- Progfou <jean-christophe.andre@auf.org> Thu, 23 Jan 2014 14:22:42 -0500
+
+auf-modeles-openoffice (1004.2) lucid; urgency=low
+
+ * Correction d'un bogue lors de l'absence de dossier pour modèles Impress
+
+ -- Progfou <jean-christophe.andre@auf.org> Thu, 16 Aug 2012 17:34:00 -0400
+
+auf-modeles-openoffice (1004.1) lucid; urgency=low
+
+ * Correction du bogue dans l'installation et la suppression des liens
+
+ -- Progfou <jean-christophe.andre@auf.org> Fri, 04 Mar 2011 05:50:00 +0700
+
+auf-modeles-openoffice (1.1) jaunty; urgency=low
+
+ * Ajout de liens pour rendre les modèles Impress visibles plus directement
+
+ -- Progfou <jean-christophe.andre@auf.org> Wed, 31 Mar 2010 16:59:04 +0700
+
+auf-modeles-openoffice (1.0) jaunty; urgency=low
+
+ * Version initiale
+
+ -- Progfou <jean-christophe.andre@auf.org> Wed, 31 Mar 2010 00:23:12 +0700
--- /dev/null
+Source: auf-libreoffice-modeles
+Section: editors
+Priority: optional
+Maintainer: Progfou <jean-christophe.andre@auf.org>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.9.3
+
+Package: auf-libreoffice-modeles
+Architecture: all
+Depends: ${misc:Depends}, libreoffice-core (>= 1:3.3~)
+Description: modèles AUF pour LibreOffice
+ Ce paquet fournit des modèles de documents AUF pour LibreOffice.
+ .
+ Ces modèles viennent du projet « Modèles pour OpenOffice.org » sur
+ https://redmine.auf.org/projects/modeles-openoffice/
+Homepage: https://redmine.auf.org/projects/modeles-openoffice/
--- /dev/null
+This package was debianized by Progfou <jean-christophe.andre@auf.org> on
+Wed, 31 Mar 2010 00:30:29 +0700.
+
+It was downloaded from http://git.auf.org/?p=modeles-openoffice.git
+
+Upstream Author:
+
+ Progfou <jean-christophe.andre@auf.org>
+
+Copyright Holder:
+
+ Copyright (C) 2010-2014 AUF -- www.auf.org
+
+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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2010-2014, Progfou <jean-christophe.andre@auf.org>
+and is licensed under the GPL, see above.
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+#export DH_OPTIONS
+
+%:
+ dh $@
+++ /dev/null
-.download_stamp
-downloads
+++ /dev/null
-VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
-DIST = $(shell dpkg-parsechangelog | sed -n 's/^Distribution: //p')
-
-REDMINE = https://redmine.auf.org
-PROJECT = modeles-openoffice
-HEADERS =
-#HEADERS = --header='Pragma: no-cache'
-
-all: build
-
-.download_stamp:
- mkdir -p downloads
- cd downloads ; \
- wget -O- $(HEADERS) $(REDMINE)/projects/$(PROJECT)/files \
- | sed -n '/class="filename"/s/^.*href="\([^"]*\)".*$$/\1/p' \
- | while read path ; do wget -N $(HEADERS) $(REDMINE)$$path ; done
- touch .download_stamp
-
-build: .download_stamp
-
-install:
- cd downloads ; for file in * ; do \
- install -m 0644 $$file $(DESTDIR)/usr/share/modeles-openoffice/AuF/ \
- ; done
-
-clean:
-
-mrproper:
- rm -rf .download_stamp downloads
-
-deb:
- debuild -I.git -I*.ex -b -us -uc && sudo debi
-
-release:
- debuild -I.git -I*.ex -tc && debrelease --dput $(DIST)-test
-
+++ /dev/null
-auf-modeles-openoffice (1004.2) lucid; urgency=low
-
- * Correction d'un bogue lors de l'absence de dossier pour modèles Impress
-
- -- Progfou <jean-christophe.andre@auf.org> Thu, 16 Aug 2012 17:34:00 -0400
-
-auf-modeles-openoffice (1004.1) lucid; urgency=low
-
- * Correction du bogue dans l'installation et la suppression des liens
-
- -- Progfou <jean-christophe.andre@auf.org> Fri, 04 Mar 2011 05:50:00 +0700
-
-auf-modeles-openoffice (1.1) jaunty; urgency=low
-
- * Ajout de liens pour rendre les modèles Impress visibles plus directement
-
- -- Progfou <jean-christophe.andre@auf.org> Wed, 31 Mar 2010 16:59:04 +0700
-
-auf-modeles-openoffice (1.0) jaunty; urgency=low
-
- * Version initiale
-
- -- Progfou <jean-christophe.andre@auf.org> Wed, 31 Mar 2010 00:23:12 +0700
+++ /dev/null
-Source: auf-modeles-openoffice
-Section: text
-Priority: optional
-Maintainer: Progfou <jean-christophe.andre@auf.org>
-Build-Depends: debhelper (>= 5), wget
-Standards-Version: 3.7.2
-
-Package: auf-modeles-openoffice
-Architecture: all
-Depends: openoffice.org-common (>= 1:3.1.1) | openoffice.org3 (>= 3.2.0)
-Description: modèles AuF pour OpenOffice.org
- Ce paquet fournit des modèles de documents AuF pour OpenOffice.org.
- .
- Ces modèles viennent du projet « Modèles pour OpenOffice.org » sur
- https://redmine.auf.org/projects/modeles-openoffice/
-Homepage: https://redmine.auf.org/projects/modeles-openoffice/
-
+++ /dev/null
-This package was debianized by Progfou <jean-christophe.andre@auf.org> on
-Wed, 31 Mar 2010 00:30:29 +0700.
-
-It was downloaded from http://git.auf.org/?p=modeles-openoffice.git
-
-Upstream Author:
-
- Progfou <jean-christophe.andre@auf.org>
-
-Copyright Holder:
-
- Copyright (C) 2010 Agence universitaire de la Francophonie
- http://www.auf.org/
-
-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 package; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
-
-The Debian packaging is (C) 2010, Progfou <jean-christophe.andre@auf.org>
-and is licensed under the GPL, see above.
-
+++ /dev/null
-usr/share/modeles-openoffice/AuF
+++ /dev/null
-#!/bin/sh
-
-set -e
-
-TEMPLATEDIR="/usr/share/modeles-openoffice/AuF"
-
-if [ "$1" = "configure" -o "$1" = "upgrade" ]; then
- cd "$TEMPLATEDIR"
- for dir in \
- /usr/lib/openoffice/basis* \
- /opt/openoffice.org/basis*
- do
- test -d $dir || continue
- dir=$dir/share/template/fr
- mkdir -p $dir/AuF
- for file in *
- do
- test -L $dir/AuF/$file || ln -s $TEMPLATEDIR/$file $dir/AuF/
- done
- test -d $dir/presnt || continue
- for file in *.otp
- do
- test -L $dir/presnt/$file || ln -s $TEMPLATEDIR/$file $dir/presnt/
- done
- done
-fi
-
-#DEBHELPER#
-
-exit 0
+++ /dev/null
-#!/bin/sh
-
-set -e
-
-TEMPLATEDIR="/usr/share/modeles-openoffice/AuF"
-
-if [ "$1" = "remove" -o "$1" = "purge" ] ; then
- cd "$TEMPLATEDIR"
- for dir in \
- /usr/lib/openoffice/basis* \
- /opt/openoffice.org/basis*
- do
- test -d $dir || continue
- dir=$dir/share/template/fr
- for file in *.otp
- do
- test -L $dir/presnt/$file && rm $dir/presnt/$file
- done
- for file in *
- do
- test -L $dir/AuF/$file && rm $dir/AuF/$file
- done
- rmdir $dir/AuF >/dev/null 2>&1 || true
- done
-fi
-
-#DEBHELPER#
-
-exit 0
+++ /dev/null
-#!/usr/bin/make -f
-# -*- makefile -*-
-
-#export DH_VERBOSE=1
-
-configure:
-
-build:
- dh_testdir
- $(MAKE)
-
-clean:
- dh_testdir
- dh_testroot
- $(MAKE) clean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) DESTDIR=$(CURDIR)/debian/auf-modeles-openoffice install
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
-# dh_installexamples
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installmime
-# dh_installman
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: configure build clean install binary binary-indep binary-arch