[Python-modules-commits] r1458 - in /packages/python-pysnmp4-mibs/trunk/debian: ./ doc/en/ doc/po/

arnau-guest at users.alioth.debian.org arnau-guest at users.alioth.debian.org
Thu Nov 2 19:26:00 CET 2006


Author: arnau-guest
Date: Thu Nov  2 19:26:00 2006
New Revision: 1458

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1458
Log:
Add docbook manpage

Added:
    packages/python-pysnmp4-mibs/trunk/debian/doc/en/rebuild-pysnmp-mibs.dbk
    packages/python-pysnmp4-mibs/trunk/debian/doc/po/
    packages/python-pysnmp4-mibs/trunk/debian/doc/po/po4a.cfg
    packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.add
    packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.po
    packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.pot
    packages/python-pysnmp4-mibs/trunk/debian/manpages
Removed:
    packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.manpages
    packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.postinst
    packages/python-pysnmp4-mibs/trunk/debian/python-pysnmp4-mibs.prerm
Modified:
    packages/python-pysnmp4-mibs/trunk/debian/changelog
    packages/python-pysnmp4-mibs/trunk/debian/control
    packages/python-pysnmp4-mibs/trunk/debian/control.in
    packages/python-pysnmp4-mibs/trunk/debian/rules

Modified: packages/python-pysnmp4-mibs/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/changelog?rev=1458&op=diff
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/changelog (original)
+++ packages/python-pysnmp4-mibs/trunk/debian/changelog Thu Nov  2 19:26:00 2006
@@ -1,4 +1,4 @@
-python-pysnmp4-mibs (0.0.4a-1) UNRELEASED; urgency=low
+python-pysnmp4-mibs (0.0.4a-1) unstable; urgency=low
 
   * Initial Release.
 

Modified: packages/python-pysnmp4-mibs/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/control?rev=1458&op=diff
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/control (original)
+++ packages/python-pysnmp4-mibs/trunk/debian/control Thu Nov  2 19:26:00 2006
@@ -3,12 +3,13 @@
 Priority: optional
 Maintainer: Jan Luebbe <jluebbe at lasnet.de>
 Uploaders: Arnaud Fontaine <arnaud at andesi.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-dev (>= 2.3.5-11), python-support (>= 0.3.2), debhelper (>= 4.2.0)
+Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-dev (>= 2.3.5-11), python-support (>= 0.3.2)
+Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml, po4a (>= 0.21)
 Standards-Version: 3.7.2
 
 Package: python-pysnmp4-mibs
 Architecture: all
-Depends: python, python-support (>= 0.3.2), python-pysnmp4
+Depends: ${python:Depends}, python-pysnmp4
 XB-Python-Version: ${python:Versions}
 Description: MIBs for the Python SNMP library
  This package contains MIBs compiled for PySNMP v4, which is written

Modified: packages/python-pysnmp4-mibs/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/control.in?rev=1458&op=diff
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/control.in (original)
+++ packages/python-pysnmp4-mibs/trunk/debian/control.in Thu Nov  2 19:26:00 2006
@@ -4,11 +4,12 @@
 Maintainer: Jan Luebbe <jluebbe at lasnet.de>
 Uploaders: Arnaud Fontaine <arnaud at andesi.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: @cdbs@
+Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml, po4a (>= 0.21)
 Standards-Version: 3.7.2
 
 Package: python-pysnmp4-mibs
 Architecture: all
-Depends: python, python-support (>= 0.3.2), python-pysnmp4
+Depends: ${python:Depends}, python-pysnmp4
 XB-Python-Version: ${python:Versions}
 Description: MIBs for the Python SNMP library
  This package contains MIBs compiled for PySNMP v4, which is written

Added: packages/python-pysnmp4-mibs/trunk/debian/doc/en/rebuild-pysnmp-mibs.dbk
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/doc/en/rebuild-pysnmp-mibs.dbk?rev=1458&op=file
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/doc/en/rebuild-pysnmp-mibs.dbk (added)
+++ packages/python-pysnmp4-mibs/trunk/debian/doc/en/rebuild-pysnmp-mibs.dbk Thu Nov  2 19:26:00 2006
@@ -1,0 +1,135 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'.  A manual page
+<package>.<section> will be generated.  You may view the
+manual page with: nroff -man <package>.<section> | less'.  A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+        $(XP) $(DB2MAN) $<
+
+The xsltproc binary is found in the xsltproc package.  The
+XSL files are in docbook-xsl.  Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Jan</firstname>">
+  <!ENTITY dhsurname   "<surname>Luebbe</surname>">
+
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>october 31, 2006</date>">
+
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>jluebbe at lasnet.de</email>">
+  <!ENTITY dhusername  "Jan Luebbe">
+  <!ENTITY dhucpackage "<refentrytitle>PYSNMP</refentrytitle>">
+  <!ENTITY dhpackage   "rebuild-pysnmp-mibs">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<!-- ====================================================================== -->
+<refentry lang="fr">
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    
+    <copyright>
+      <year>2006</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+
+    <!-- ============================================================ -->
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+
+  <!-- ============================================================ -->
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>Rebuilds the mib modules for pysnmp from the original
+       mib definitions.</refpurpose>
+  </refnamediv>
+
+  <!-- ============================================================ -->
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      <arg><option>-s mib-text-dir</option></arg>
+      <arg choice="plain"><replaceable>-d pysnmp-mib-rebuild-dir</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <!-- ============================================================ -->
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>
+      rebuild-pysnmp-mibs  is   used  to  compile   the  original  mib
+      definitions     into    the     format    used     by    pysnmp.
+      pysnmp-mib-rebuild-dir  must  contain   the  old  compiled  mibs
+      (i.e. IF-MIB.py). rebuild-pysnmp-mibs will  then try to find the
+      original  mib  definitions   and  recompile  them.   By  default
+      rebuild-pysnmp-mibs     searches    in    /usr/local/share/snmp,
+      /usr/local/share/mibs, /usr/share/snmp and /usr/share/mibs.
+    </para>
+
+    <para>
+      It is possible  to specify another source directory  with the -s
+      mib-text-dir  option.  This  directory  will  then  be  searched
+      instead.
+    </para>
+  </refsect1>
+
+  <!-- ============================================================ -->
+  <refsect1>
+    <title>AUTHORS</title>
+
+    <para>
+      This program was written by <personname>
+	<firstname>Ilya</firstname> <surname>Etingof</surname>
+	</personname><email>ilya at glas.net</email>
+    </para>
+
+    <para>
+      This manual  page was written by &dhusername;  &dhemail; for the
+      &debian;  system (but  may be  used by  others).   Permission is
+      granted to  copy, distribute  and/or modify this  document under
+      the terms  of the  &gnu; General Public  License, Version  2 any
+      later version published by the Free Software Foundation.
+    </para>
+
+    <para>
+      On Debian systems, the complete text of the &gnu;
+      General Public License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>
+
+
+

Added: packages/python-pysnmp4-mibs/trunk/debian/doc/po/po4a.cfg
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/doc/po/po4a.cfg?rev=1458&op=file
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/doc/po/po4a.cfg (added)
+++ packages/python-pysnmp4-mibs/trunk/debian/doc/po/po4a.cfg Thu Nov  2 19:26:00 2006
@@ -1,0 +1,6 @@
+[po4a_langs] fr
+[po4a_paths] rebuild-pysnmp-mibs.pot fr:rebuild-pysnmp-mibs.fr.po
+
+[type:docbook] ../en/rebuild-pysnmp-mibs.dbk \
+               fr:../fr/rebuild-pysnmp-mibs.fr.dbk add_fr:rebuild-pysnmp-mibs.fr.add \
+               opt:"-o inline=<option> -M UTF-8"

Added: packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.add
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.add?rev=1458&op=file
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.add (added)
+++ packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.add Thu Nov  2 19:26:00 2006
@@ -1,0 +1,3 @@
+PO4A-HEADER:position=AUTEURS;mode=after;beginboundary=</refsect1>
+
+    <para>Traduction française : &dhusername; &dhemail;.</para>

Added: packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.po
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.po?rev=1458&op=file
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.po (added)
+++ packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.fr.po Thu Nov  2 19:26:00 2006
@@ -1,0 +1,171 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>, 2006
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: python-mysnmp4-mibs 0.0.4a\n"
+"POT-Creation-Date: 2006-10-31  1:36+0100\n"
+"PO-Revision-Date: 2006-10-31 01:55+0100\n"
+"Last-Translator: Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>\n"
+"Language-Team: French <debian-l10n-french at lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit"
+
+# type: Content of the dhfirstname entity
+#: ../en/rebuild-pysnmp-mibs.dbk:30
+msgid "<firstname>Jan</firstname>"
+msgstr "<firstname>Jan</firstname>"
+
+# type: Content of the dhsurname entity
+#: ../en/rebuild-pysnmp-mibs.dbk:31
+msgid "<surname>Luebbe</surname>"
+msgstr "<surname>Luebbe</surname>"
+
+# type: Content of the dhdate entity
+#: ../en/rebuild-pysnmp-mibs.dbk:34
+msgid "<date>october 31, 2006</date>"
+msgstr "<date>31 octobre 2006</date>"
+
+# type: Content of the dhsection entity
+#: ../en/rebuild-pysnmp-mibs.dbk:38
+msgid "<manvolnum>1</manvolnum>"
+msgstr "<manvolnum>1</manvolnum>"
+
+# type: Content of the dhemail entity
+#: ../en/rebuild-pysnmp-mibs.dbk:39
+msgid "<email>jluebbe at lasnet.de</email>"
+msgstr "<email>jluebbe at lasnet.de</email>"
+
+# type: Content of the dhusername entity
+#: ../en/rebuild-pysnmp-mibs.dbk:40
+msgid "Jan Luebbe"
+msgstr "Jan Luebbe"
+
+# type: Content of the dhucpackage entity
+#: ../en/rebuild-pysnmp-mibs.dbk:41
+msgid "<refentrytitle>PYSNMP</refentrytitle>"
+msgstr "<refentrytitle>PYSNMP</refentrytitle>"
+
+# type: Content of the dhpackage entity
+#: ../en/rebuild-pysnmp-mibs.dbk:42
+msgid "rebuild-pysnmp-mibs"
+msgstr "rebuild-pysnmp-mibs"
+
+# type: Content of the debian entity
+#: ../en/rebuild-pysnmp-mibs.dbk:44
+msgid "<productname>Debian</productname>"
+msgstr "<productname>Debian</productname>"
+
+# type: Content of the gnu entity
+#: ../en/rebuild-pysnmp-mibs.dbk:45
+msgid "<acronym>GNU</acronym>"
+msgstr "<acronym>GNU</acronym>"
+
+# type: Content of the gpl entity
+#: ../en/rebuild-pysnmp-mibs.dbk:46
+msgid "&gnu; <acronym>GPL</acronym>"
+msgstr "&gnu; <acronym>GPL</acronym>"
+
+# type: Attribute 'lang' of: <refentry>
+#: ../en/rebuild-pysnmp-mibs.dbk:50
+msgid "fr"
+msgstr "fr"
+
+# type: Content of: <refentry><refentryinfo><copyright><holder>
+#: ../en/rebuild-pysnmp-mibs.dbk:58
+msgid "&dhusername;"
+msgstr "&dhusername;"
+
+# type: Content of: <refentry><refnamediv><refname>
+#: ../en/rebuild-pysnmp-mibs.dbk:72
+msgid "&dhpackage;"
+msgstr "&dhpackage;"
+
+# type: Content of: <refentry><refnamediv><refpurpose>
+#: ../en/rebuild-pysnmp-mibs.dbk:74
+msgid "Rebuilds the mib modules for pysnmp from the original mib definitions."
+msgstr ""
+"Reconstruit les modules mib pour pysnmp à partir des définitions mib "
+"initiales."
+
+# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
+#: ../en/rebuild-pysnmp-mibs.dbk:81
+msgid ""
+"<command>&dhpackage;</command> <arg><option>-s mib-text-dir</option></arg> "
+"<arg choice=\"plain\"><replaceable>-d pysnmp-mib-rebuild-dir</replaceable></"
+"arg>"
+msgstr ""
+"<command>&dhpackage;</command> <arg><option>-s mib-text-dir</option></arg> "
+"<arg choice=\"plain\"><replaceable>-d pysnmp-mib-rebuild-dir</replaceable></"
+"arg>"
+
+# type: Content of: <refentry><refsect1><title>
+#: ../en/rebuild-pysnmp-mibs.dbk:89
+msgid "DESCRIPTION"
+msgstr "DESCRIPTION"
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:92
+msgid ""
+"rebuild-pysnmp-mibs is used to compile the original mib definitions into the "
+"format used by pysnmp.  pysnmp-mib-rebuild-dir must contain the old compiled "
+"mibs (i.e. IF-MIB.py). rebuild-pysnmp-mibs will then try to find the "
+"original mib definitions and recompile them.  By default rebuild-pysnmp-mibs "
+"searches in /usr/local/share/snmp, /usr/local/share/mibs, /usr/share/snmp "
+"and /usr/share/mibs."
+msgstr ""
+"rebuild-pysnmp-mibs est utilisé pour compiler les définitions de MIB "
+"initiales dans le format utilisé par pysnmp. pysnmp-mib-rebuild-dir doit "
+"contenir les anciennes MIB compilées (i.e. IF-MIB.py). rebuild-pysnmp-mibs "
+"recherche alors les définitions initiales et les compile à nouveau. Par "
+"défaut, rebuild-pysnmp-mibs cherche dans /usr/local/share/snmp, /usr/local/"
+"share/mibs, /usr/share/snmp et /usr/share/mibs."
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:102
+msgid ""
+"It is possible to specify another source directory with the -s mib-text-dir "
+"option.  This directory will then be searched instead."
+msgstr ""
+"Il est possible d'indiquer un autre répertoire source avec l'option -s mib-"
+"text-dir. Seul ce répertoire sera alors utilisé."
+
+# type: Content of: <refentry><refsect1><title>
+#: ../en/rebuild-pysnmp-mibs.dbk:110
+msgid "AUTHORS"
+msgstr "AUTEURS"
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:113
+msgid ""
+"This program was written by <personname> <firstname>Ilya</firstname> "
+"<surname>Etingof</surname> </personname><email>ilya at glas.net</email>"
+msgstr ""
+"Ce programme a été écrit par <personname> <firstname>Ilya</firstname> "
+"<surname>Etingof</surname> </personname><email>ilya at glas.net</email>"
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:119
+msgid ""
+"This manual page was written by &dhusername; &dhemail; for the &debian; "
+"system (but may be used by others).  Permission is granted to copy, "
+"distribute and/or modify this document under the terms of the &gnu; General "
+"Public License, Version 2 any later version published by the Free Software "
+"Foundation."
+msgstr ""
+"Cette page de manuel a été écrite par &dhusername; &dhemail; pour le système "
+"&debian; (mais peut être utilisée par d'autres). Il est permis de copier, "
+"distribuer et/ou modifier ce document sous les termes de la Licence Publique "
+"Générale &gnu;, version 2 ou toute autre version supérieure publiée par la "
+"Free Software Foundation."
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:127
+msgid ""
+"On Debian systems, the complete text of the &gnu; General Public License can "
+"be found in <filename>/usr/share/common-licenses/GPL</filename>."
+msgstr ""
+"Sur les sytèmes Debian, le texte complet de la Licence Publique Générale GNU "
+"est disponible dans <filename>/usr/share/common-licenses/GPL</filename>."

Added: packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.pot
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.pot?rev=1458&op=file
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.pot (added)
+++ packages/python-pysnmp4-mibs/trunk/debian/doc/po/rebuild-pysnmp-mibs.pot Thu Nov  2 19:26:00 2006
@@ -1,0 +1,150 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+# 
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: python-pysnmp4-mibs 0.0.4a\n"
+"POT-Creation-Date: 2006-10-31  1:36+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: ENCODING"
+
+# type: Content of the dhfirstname entity
+#: ../en/rebuild-pysnmp-mibs.dbk:30
+msgid "<firstname>Jan</firstname>"
+msgstr ""
+
+# type: Content of the dhsurname entity
+#: ../en/rebuild-pysnmp-mibs.dbk:31
+msgid "<surname>Luebbe</surname>"
+msgstr ""
+
+# type: Content of the dhdate entity
+#: ../en/rebuild-pysnmp-mibs.dbk:34
+msgid "<date>october 31, 2006</date>"
+msgstr ""
+
+# type: Content of the dhsection entity
+#: ../en/rebuild-pysnmp-mibs.dbk:38
+msgid "<manvolnum>1</manvolnum>"
+msgstr ""
+
+# type: Content of the dhemail entity
+#: ../en/rebuild-pysnmp-mibs.dbk:39
+msgid "<email>jluebbe at lasnet.de</email>"
+msgstr ""
+
+# type: Content of the dhusername entity
+#: ../en/rebuild-pysnmp-mibs.dbk:40
+msgid "Jan Luebbe"
+msgstr ""
+
+# type: Content of the dhucpackage entity
+#: ../en/rebuild-pysnmp-mibs.dbk:41
+msgid "<refentrytitle>PYSNMP</refentrytitle>"
+msgstr ""
+
+# type: Content of the dhpackage entity
+#: ../en/rebuild-pysnmp-mibs.dbk:42
+msgid "rebuild-pysnmp-mibs"
+msgstr ""
+
+# type: Content of the debian entity
+#: ../en/rebuild-pysnmp-mibs.dbk:44
+msgid "<productname>Debian</productname>"
+msgstr ""
+
+# type: Content of the gnu entity
+#: ../en/rebuild-pysnmp-mibs.dbk:45
+msgid "<acronym>GNU</acronym>"
+msgstr ""
+
+# type: Content of the gpl entity
+#: ../en/rebuild-pysnmp-mibs.dbk:46
+msgid "&gnu; <acronym>GPL</acronym>"
+msgstr ""
+
+# type: Attribute 'lang' of: <refentry>
+#: ../en/rebuild-pysnmp-mibs.dbk:50
+msgid "fr"
+msgstr ""
+
+# type: Content of: <refentry><refentryinfo><copyright><holder>
+#: ../en/rebuild-pysnmp-mibs.dbk:58
+msgid "&dhusername;"
+msgstr ""
+
+# type: Content of: <refentry><refnamediv><refname>
+#: ../en/rebuild-pysnmp-mibs.dbk:72
+msgid "&dhpackage;"
+msgstr ""
+
+# type: Content of: <refentry><refnamediv><refpurpose>
+#: ../en/rebuild-pysnmp-mibs.dbk:74
+msgid "Rebuilds the mib modules for pysnmp from the original mib definitions."
+msgstr ""
+
+# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
+#: ../en/rebuild-pysnmp-mibs.dbk:81
+msgid ""
+"<command>&dhpackage;</command> <arg><option>-s mib-text-dir</option></arg> "
+"<arg choice=\"plain\"><replaceable>-d "
+"pysnmp-mib-rebuild-dir</replaceable></arg>"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><title>
+#: ../en/rebuild-pysnmp-mibs.dbk:89
+msgid "DESCRIPTION"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:92
+msgid ""
+"rebuild-pysnmp-mibs is used to compile the original mib definitions into the "
+"format used by pysnmp.  pysnmp-mib-rebuild-dir must contain the old compiled "
+"mibs (i.e. IF-MIB.py). rebuild-pysnmp-mibs will then try to find the "
+"original mib definitions and recompile them.  By default rebuild-pysnmp-mibs "
+"searches in /usr/local/share/snmp, /usr/local/share/mibs, /usr/share/snmp "
+"and /usr/share/mibs."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:102
+msgid ""
+"It is possible to specify another source directory with the -s mib-text-dir "
+"option.  This directory will then be searched instead."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><title>
+#: ../en/rebuild-pysnmp-mibs.dbk:110
+msgid "AUTHORS"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:113
+msgid ""
+"This program was written by <personname> <firstname>Ilya</firstname> "
+"<surname>Etingof</surname> </personname><email>ilya at glas.net</email>"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:119
+msgid ""
+"This manual page was written by &dhusername; &dhemail; for the &debian; "
+"system (but may be used by others).  Permission is granted to copy, "
+"distribute and/or modify this document under the terms of the &gnu; General "
+"Public License, Version 2 any later version published by the Free Software "
+"Foundation."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><para>
+#: ../en/rebuild-pysnmp-mibs.dbk:127
+msgid ""
+"On Debian systems, the complete text of the &gnu; General Public License can "
+"be found in <filename>/usr/share/common-licenses/GPL</filename>."
+msgstr ""

Added: packages/python-pysnmp4-mibs/trunk/debian/manpages
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/manpages?rev=1458&op=file
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/manpages (added)
+++ packages/python-pysnmp4-mibs/trunk/debian/manpages Thu Nov  2 19:26:00 2006
@@ -1,0 +1,2 @@
+debian/doc/rebuild-pysnmp-mibs.1
+debian/doc/rebuild-pysnmp-mibs.fr.1

Modified: packages/python-pysnmp4-mibs/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-mibs/trunk/debian/rules?rev=1458&op=diff
==============================================================================
--- packages/python-pysnmp4-mibs/trunk/debian/rules (original)
+++ packages/python-pysnmp4-mibs/trunk/debian/rules Thu Nov  2 19:26:00 2006
@@ -2,8 +2,32 @@
 
 DEB_PYTHON_SYSTEM=pysupport
 
+include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
 
 DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pysnmp4-mibs
 
+# Manpages stuff
+DOC_DIR        = debian/doc
+MAN_TMP_DIR    = $(DOC_DIR)/manpages
+PO_DIR         = $(DOC_DIR)/po
+
+MANPAGES       = $(addprefix $(DOC_DIR)/,en/rebuild-pysnmp-mibs.1 fr/rebuild-pysnmp-mibs.fr.1)
+XSLT_CMD       = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
+DB2MAN         = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
+
+DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pysnmp4-mibs
+
+install/python-pysnmp4-mibs:: po $(MANPAGES)
+
+po:
+        mkdir -p $(dir $(MANPAGES))
+        cd $(PO_DIR) && po4a -v po4a.cfg
+
+%.1: %.dbk
+        cd $(<D) && $(XSLT_CMD) $(DB2MAN) $(<F)
+        mv $(@D)/rebuild-pysnmp-mibs.1 $(DOC_DIR)/$(@F)
+
+clean::
+        rm -rf $(DOC_DIR)/{fr,*.1} $(DOC_DIR)/en/*.1
+




More information about the Python-modules-commits mailing list