alternatives:moved into main

This commit is contained in:
2016-03-05 21:00:57 +02:00
parent 7ad0ab4a4f
commit 58729e2ed0
3 changed files with 96 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# -*- 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
def build():
pisitools.dosed("Makefile", "MANDIR = /usr/man", "MANDIR = /usr/share/man")
autotools.make("-C po update-po")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.remove("/usr/sbin/ntsysv")
pisitools.remove("/sbin/chkconfig")
pisitools.remove("/usr/share/man/man8/chkconfig.8")
pisitools.remove("/usr/share/man/man8/ntsysv.8")
pisitools.removeDir("/usr/share/man/man5")
pisitools.removeDir("/sbin")
pisitools.dodoc("COPYING")
+63
View File
@@ -0,0 +1,63 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>alternatives</Name>
<Homepage>http://git.fedorahosted.org/git/?p=chkconfig.git;a=summary</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Alternative management system</Summary>
<Description>alternatives creates, removes, maintains and displays information about the symbolic links comprising the alternatives system. Alternatives system determines the defaults when several programs fulfilling the same or similar functions to be installed on a single system at the same time.</Description>
<Archive sha1sum="e02a02a0fbc14bcabded474f19bff715b7db8fb1" type="tarxz">https://git.fedorahosted.org/cgit/chkconfig.git/snapshot/chkconfig-1.3.62.tar.xz</Archive>
<BuildDependencies>
<Dependency>popt-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>alternatives</Name>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/var</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-04-01</Date>
<Version>1.3.62</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-05-11</Date>
<Version>1.3.58</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-10-28</Date>
<Version>1.3.58</Version>
<Comment>rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-05-03</Date>
<Version>1.3.58</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>alternatives</Name>
<Summary xml:lang="tr">Alternatif yönetim sistemi</Summary>
<Description xml:lang="tr">alternatives, alternatives sisteminin parçası olan sembolik bağlantıları oluşturan, silen, yöneten ve bunlar hakkında bilgi gösteren araçtır. Alternatives sistemi, birbirine benzer ya da aynı işlevleri sunan programların aynı anda aynı sisteme kurulduğu zamanlarda öntanımlıları belirler.</Description>
</Source>
</PISI>