freecell-solver:First release kpat

This commit is contained in:
Rmys
2018-11-16 14:02:38 +03:00
parent 60c44187e8
commit 4051e8e078
10 changed files with 266 additions and 2 deletions
@@ -0,0 +1,29 @@
#!/usr/bin/env 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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DFCS_WITH_TEST_SUITE=OFF \
-DBUILD_STATIC_LIBRARY=OFF", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("AUTHORS.asciidoc", "COPYING.asciidoc", "NEWS.asciidoc", "README.asciidoc")
@@ -0,0 +1,60 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>freecell-solver</Name>
<Homepage>http://fc-solve.shlomifish.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>A program that automatically solves layouts of Freecell and similar variants of Card Solitaire</Summary>
<Description>Freecell ve Card Solitaire'ın benzer varyantlarının düzenlerini otomatik olarak çözen bir program</Description>
<Archive sha1sum="b7c5e970b0daeee04416ae314f4e9be6106dbc83" type="tarxz">https://fc-solve.shlomifish.org/downloads/fc-solve/freecell-solver-5.0.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>gperf</Dependency>
<Dependency>python3-six</Dependency>
<Dependency>perl-path-tiny</Dependency>
<Dependency>python3-random2</Dependency>
<Dependency>perl-template-toolkit</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>freecell-solver</Name>
<RuntimeDependencies>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>freecell-solver-devel</Name>
<Summary>Development files for freecell-solver</Summary>
<RuntimeDependencies>
<Dependency release="current">freecell-solver</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-11-11</Date>
<Version>5.0.0</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>freecell-solver</Name>
<Summary xml:lang="tr">A program that automatically solves layouts of Freecell and similar variants of Card Solitaire</Summary>
<Description xml:lang="tr">Freecell ve Card Solitaire'ın benzer varyantlarının düzenlerini otomatik olarak çözen bir program</Description>
</Source>
</PISI>