add needed package part-1

This commit is contained in:
Ertuğrul Erata
2015-08-05 14:45:59 +03:00
parent 82cec90e03
commit 5ea757b7a3
32 changed files with 1423 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/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
def build():
autotools.make("RPM_OPT_FLAGS=\"%s\" WITH_ACL=yes" % get.CFLAGS())
def install():
autotools.rawInstall("PREFIX=%s MANDIR=%s" % (get.installDIR(), get.manDIR()))
pisitools.dodir("/etc/logrotate.d")
pisitools.dobin("examples/logrotate.cron", "/etc/cron.daily")
pisitools.insinto("/etc", "examples/logrotate-default", "logrotate.conf")
pisitools.dodoc("CHANGES", "COPYING", "README*")
+66
View File
@@ -0,0 +1,66 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>logrotate</Name>
<Homepage>https://fedorahosted.org/releases/l/o/logrotate</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Rotates, compresses, removes and emails system log files</Summary>
<Description>logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and emailing of log files.</Description>
<Archive sha1sum="e1acb9d15abc0d9f6a4f6e58409e0319e5d41f4e" type="targz">https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8.8.tar.gz</Archive>
<BuildDependencies>
<Dependency>popt-devel</Dependency>
<Dependency>acl-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>logrotate</Name>
<RuntimeDependencies>
<Dependency>popt</Dependency>
<Dependency>acl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-01-26</Date>
<Version>3.8.8</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="3" type="critical">
<Date>2014-06-18</Date>
<Version>3.8.7</Version>
<Comment>v.bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyacinsoy@gmail.com</Email>
</Update>
<Update release="2" type="critical">
<Date>2014-03-09</Date>
<Version>3.7.9</Version>
<Comment>Rebuild.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="1" type="critical">
<Date>2011-09-29</Date>
<Version>3.7.9</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>logrotate</Name>
<Summary xml:lang="tr">Sistem günlük (log) dosyalarını yönetmeyi kolaylaştıran bir araç</Summary>
<Description xml:lang="tr">Logrotate kayıt dosyalarının rotasyonunu, silinmesini veya e-posta ile gönderilmesi gibi işlevleri ile sistem yönetimini kolaylaştırıan bir uygulamadır.</Description>
</Source>
</PISI>