Tier 2 part 1

This commit is contained in:
Ertuğrul Erata
2015-07-24 22:40:54 +03:00
parent 4a9cb8f8be
commit 7955f769d9
16 changed files with 451 additions and 82 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir="."
def install():
pisitools.insinto("/usr/share/sgml/docbook/sgml-dtd-%s" % get.srcVERSION(), "*.dcl")
pisitools.insinto("/usr/share/sgml/docbook/sgml-dtd-%s" % get.srcVERSION(), "*.dtd")
pisitools.insinto("/usr/share/sgml/docbook/sgml-dtd-%s" % get.srcVERSION(), "*.mod")
pisitools.insinto("/usr/share/sgml/docbook/sgml-dtd-%s" % get.srcVERSION(), "docbook.cat", "catalog")
pisitools.dodoc("README")
@@ -0,0 +1,15 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/usr/bin/install-catalog --add /etc/sgml/sgml-docbook-4.5.cat \
/usr/share/sgml/docbook/sgml-dtd-4.5/catalog")
os.system("/usr/bin/install-catalog --add /etc/sgml/sgml-docbook-4.5.cat \
/etc/sgml/sgml-docbook.cat")
def preRemove():
os.system("/usr/bin/install-catalog --remove /etc/sgml/sgml-docbook-4.5.cat \
/usr/share/sgml/docbook/sgml-dtd-4.5/catalog")
os.system("/usr/bin/install-catalog --remove /etc/sgml/sgml-docbook-4.5.cat \
/etc/sgml/sgml-docbook.cat")
@@ -0,0 +1,77 @@
--- docbook.cat 2005-01-27 08:59:49.000000000 -0500
+++ docbook.cat-gentoo 2005-07-11 21:12:28.000000000 -0500
@@ -19,6 +19,8 @@
-- ...................................................................... --
-- DocBook driver file .................................................. --
+DTDDECL "-//OASIS//DTD DocBook V4.5//EN" "docbook.dcl"
+
PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"docbook.dtd"
@@ -52,65 +54,5 @@
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN"
"dbcentx.mod"
- -- ...................................................................... --
- -- ISO entity sets ...................................................... --
-
-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
- "iso-dia.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"
- "iso-num.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN"
- "iso-pub.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN"
- "iso-tech.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN"
- "iso-lat1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN"
- "iso-lat2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN"
- "iso-grk1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN"
- "iso-grk2.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN"
- "iso-grk3.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"
- "iso-grk4.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"
- "iso-amsa.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"
- "iso-amsb.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"
- "iso-amsc.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"
- "iso-amsn.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"
- "iso-amso.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"
- "iso-amsr.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN"
- "iso-box.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"
- "iso-cyr1.gml"
-
-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
- "iso-cyr2.gml"
-
-- End of catalog data for DocBook V4.5 ................................. --
-- ...................................................................... --
+58
View File
@@ -0,0 +1,58 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>docbook-sgml4_5</Name>
<Homepage>http://www.docbook.org/sgml/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>X11</License>
<IsA>data</IsA>
<Summary>Docbook SGML DTD 4.5</Summary>
<Description>Contains Docbook SGML DTD version 4.5.</Description>
<Archive sha1sum="5efeb22936ea30cdaf88053337de7966dfda02bd" type="zip">http://www.docbook.org/sgml/4.5/docbook-4.5.zip</Archive>
<Patches>
<Patch>catalog.patch</Patch>
</Patches>
</Source>
<Package>
<Name>docbook-sgml4_5</Name>
<RuntimeDependencies>
<Dependency>sgml-common</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/docbook-sgml4_5</Path>
<Path fileType="data">/usr/share</Path>
</Files>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<History>
<Update release="3">
<Date>2014-05-18</Date>
<Version>4.5</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-22</Date>
<Version>4.5</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2007-02-23</Date>
<Version>4.5</Version>
<Comment>First release</Comment>
<Name>Eren Türkay</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>docbook-sgml4_5</Name>
<Summary xml:lang="tr">Docbook SGML DTD 4.5</Summary>
<Description xml:lang="tr">Docbook SGML DTD sürüm 4.5 belgelerini içerir.</Description>
</Source>
</PISI>