create core package
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/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 get
|
||||
|
||||
dirs = ("dict", "rfc")
|
||||
|
||||
def setup():
|
||||
autotools.configure("--datadir=/usr/share/misc")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
for d in dirs:
|
||||
pisitools.dodir("/usr/share/%s" % d)
|
||||
for line in tuple(open("Makefile.am", 'r')):
|
||||
if line.startswith(d):
|
||||
for f in line.strip().split("=")[1][1:].split(" "):
|
||||
pisitools.domove("/usr/share/misc/%s" % f, "/usr/share/%s/" % d)
|
||||
|
||||
pisitools.dodoc("GNU*", "NEWS", "ORIGIN", "README", "dict-README")
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>miscfiles</Name>
|
||||
<Homepage>http://freshmeat.net/projects/miscfiles/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Miscellaneous files</Summary>
|
||||
<Description>miscfiles is a collection of data files for freely available information, like airport, country, currencies, city information, and codes. It also includes the Unicode character database.</Description>
|
||||
<Archive sha1sum="c96420756b4ee5e02ffedf2e185b0f147e16db14" type="targz">http://ftp.gnu.org/gnu/miscfiles/miscfiles-1.5.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>miscfiles</Name>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/rfc</Path>
|
||||
<Path fileType="data">/usr/share/dict</Path>
|
||||
<Path fileType="data">/usr/share/misc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>1.5</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-10-30</Date>
|
||||
<Version>1.5</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-24</Date>
|
||||
<Version>1.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>miscfiles</Name>
|
||||
<Summary xml:lang="tr">Çeşitli dosyalar</Summary>
|
||||
<Summary xml:lang="fr">Fichiers divers.</Summary>
|
||||
<Summary xml:lang="de">Verschiedene Dateien</Summary>
|
||||
<Description xml:lang="tr">miscfiles havalanı, ülke, para birimi, şehir bilgisi ve kodları gibi bir çok ulaşılabilir bilgiyi veri dosyaları halinde tutmaktadır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user