This commit is contained in:
Ertuğrul Erata
2015-05-17 20:03:20 +03:00
parent 176567ccd2
commit 41b4c09fe5
48 changed files with 3569 additions and 113 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.autoreconf("-fi")
autotools.configure()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.rename("/usr/share/doc/sgml-common-%s" % get.srcVERSION(), get.srcNAME())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
@@ -0,0 +1,25 @@
#!/usr/bin/python
import os
import shutil
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/usr/bin/install-catalog --add \
/etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog")
os.system("/usr/bin/install-catalog --add \
/etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat")
def postRemove():
os.system("/usr/bin/install-catalog --remove \
/etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog")
os.system("/usr/bin/install-catalog --remove \
/etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat")
@@ -0,0 +1,13 @@
Index: sgml-common-0.6.3/configure.in
===================================================================
--- sgml-common-0.6.3.orig/configure.in
+++ sgml-common-0.6.3/configure.in
@@ -3,7 +3,7 @@ AC_INIT(Makefile.am)
AM_INIT_AUTOMAKE(sgml-common, 0.6.3)
-docdir='$(prefix)/doc'
+docdir='$(prefix)/share/doc'
AC_SUBST(docdir)
dnl Checks for programs.
@@ -0,0 +1,15 @@
Submitted by: Thomas Pegg <lnxfreak123 at insightbb dot com>
Date: 2003-11-18
Initial Package Version: 0.6.3
Origin: Thomas Pegg
Description: Fixes syntax of Makefile.am for installation of man pages,
for use with current automake versions 1.7.8 and higher.
Index: sgml-common-0.6.3/doc/man/Makefile.am
===================================================================
--- sgml-common-0.6.3.orig/doc/man/Makefile.am
+++ sgml-common-0.6.3/doc/man/Makefile.am
@@ -1,2 +1 @@
-man8dir = $(mandir)/man8
-man8_DATA = *.8
+man_MANS = install-catalog.8
+52
View File
@@ -0,0 +1,52 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>sgml-common</Name>
<Homepage>http://www.linuxfromscratch.org/blfs/view/svn/pst/sgml-common.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>data</IsA>
<Summary>Base ISO character entities and utilities for SGML</Summary>
<Description>Sgml-common is a collection of entities and document type definitions (DTDs) useful for SGML processing.</Description>
<Archive sha1sum="b7d211c19b83accb92dcb51719de65227fb4c27c" type="targz">http://gd.tuwien.ac.at/hci/kde/devel/docbook/SOURCES/sgml-common-0.6.3.tgz</Archive>
<Patches>
<Patch level="1">sgml-common-0.6.3-configure.in.patch</Patch>
<Patch level="1">sgml-common-0.6.3-manpage-1.patch</Patch>
</Patches>
</Source>
<Package>
<Name>sgml-common</Name>
<Files>
<Path fileType="config">/etc/sgml</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc/sgml-common</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/sgml</Path>
</Files>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<History>
<Update release="2">
<Date>2014-05-18</Date>
<Version>0.6.3</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-13</Date>
<Version>0.6.3</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>sgml-common</Name>
<Summary xml:lang="tr">SGML ISO karakter nesneleri ve yardımcı programları</Summary>
<Description xml:lang="tr">sgml-common SGML uygulamaları için kullanışlı olan içerikler ve belge tip belirtimleri (DTD) topluluğudur.</Description>
</Source>
</PISI>