Création paquet PPA Ubuntu: Difference between revisions
From hugovil.com
Jump to navigationJump to search
No edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 18: | Line 18: | ||
==Modification de debian/control== | ==Modification de debian/control== | ||
<source lang=" | <source lang="text"> | ||
Source: wmnotify | Source: wmnotify | ||
Section: x11 | Section: x11 | ||
| Line 48: | Line 48: | ||
==Modification de debian/copyright== | ==Modification de debian/copyright== | ||
<source lang=" | <source lang="text"> | ||
This work was packaged for Debian by: | This work was packaged for Debian by: | ||
| Line 96: | Line 96: | ||
==Modification de debian/changelog== | ==Modification de debian/changelog== | ||
<source lang=" | <source lang="text"> | ||
wmnotify (1.0.0-1) maverick; urgency=low | wmnotify (1.0.0-1) maverick; urgency=low | ||
| Line 103: | Line 103: | ||
-- Hugo Villeneuve <hugo@hugovil.com> Thu, 17 Mar 2011 00:00:53 -0400 | -- Hugo Villeneuve <hugo@hugovil.com> Thu, 17 Mar 2011 00:00:53 -0400 | ||
</source> | </source> | ||
==Finalisation== | |||
$> rm -f *.ex *.EX | |||
$> cd .. | |||
$> debuild -S | |||
$> cd .. | |||
$> lintian -Ivi *.dsc | |||
==Envoi du fichier vers Launchpad== | |||
$> dput ppa:hugovil.com/wmnotify wmnotify_1.0.0-1_source.changes | |||
en cas d'erreur (si le serveur Launchpad accepte le fichier mais qu'il vous retourne un email si il a détecté un problème), effacer le fichier suivant de log: | |||
$> rm wmnotify_1.0.0-1_amd64.ppa.upload | |||
Latest revision as of 01:52, 26 March 2011
Exemple avec wmnotify (http://www.hugovil.com/wmnotify)
Préparation des variables d'environnement
export DEBEMAIL=hugo@hugovil.com export DEBFULLNAME="Hugo Villeneuve"
Création structure
$> mkdir ubuntu $> cd ubuntu $> wget http://www.hugovil.com/repository/wmnotify/wmnotify-1.0.0.tar.gz $> tar -zxvf wmnotify-1.0.0.tar.gz $> cd wmnotify-1.0.0 $> dh_make --copyright=gpl2 --single -f ../wmnotify-1.0.0.tar.gz $> cd debian
Modification de debian/control
Source: wmnotify
Section: x11
Priority: optional
Maintainer: Hugo Villeneuve <hugo@hugovil.com>
Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libx11-dev, libxpm-dev, libxext-dev, libgtk2.0-dev, libglib2.0-dev, libssl-dev, libsndfile-dev
Standards-Version: 3.9.1
Homepage: http://www.hugovil.com/wmnotify/
Package: wmnotify
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Dockable mail notification application.
wmnotify is a "DockApp" application, running under WindowMaker, to
periodically check a POP3 or IMAP4 email account for new messages. It also
supports SSL encryption. When new messages are detected, the mailbox image is
animated to give a visual indication that new mail has arrived. Additionnally,
if desired, a sound can be produced from a WAV or AU audio file, or from the
console bell.
.
For simplicity reasons, wmnotify doesn't support multiple POP3 accounts. But
by starting a new instance of wmnotify and specifying an alternate
configuration file on the command line, you can effectively check multiple
POP3 accounts.
.
wmnotify is an "Open-Source" project written in C.
Modification de debian/copyright
This work was packaged for Debian by:
Hugo Villeneuve <hugo@hugovil.com> on Thu, 17 Mar 2011 00:00:53 -0400
It was downloaded from:
http://www.hugovil.com/wmnotify
Upstream Author(s):
Hugo Villeneuve <hugo@hugovil.com>
Copyright:
Copyright (C) 2010 Hugo Villeneuve <hugo@hugovil.com>
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 with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
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 <http://www.gnu.org/licenses/>
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
The Debian packaging is:
Copyright (C) 2011 Hugo Villeneuve <hugo@hugovil.com>
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.
Modification de debian/changelog
wmnotify (1.0.0-1) maverick; urgency=low
* Initial release
-- Hugo Villeneuve <hugo@hugovil.com> Thu, 17 Mar 2011 00:00:53 -0400
Finalisation
$> rm -f *.ex *.EX $> cd .. $> debuild -S $> cd .. $> lintian -Ivi *.dsc
Envoi du fichier vers Launchpad
$> dput ppa:hugovil.com/wmnotify wmnotify_1.0.0-1_source.changes
en cas d'erreur (si le serveur Launchpad accepte le fichier mais qu'il vous retourne un email si il a détecté un problème), effacer le fichier suivant de log:
$> rm wmnotify_1.0.0-1_amd64.ppa.upload