forgot to commit this
This commit is contained in:
+15
-10
@@ -14,7 +14,8 @@ import string
|
|||||||
|
|
||||||
packagerfile = ".pisipackager"
|
packagerfile = ".pisipackager"
|
||||||
|
|
||||||
data = {"date": time.strftime("%Y-%m-%d")}
|
data = {"date": time.strftime("%Y-%m-%d"),
|
||||||
|
"year": time.strftime("%Y")}
|
||||||
|
|
||||||
temp_pspec = '''<?xml version="1.0" ?>
|
temp_pspec = '''<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||||
@@ -27,21 +28,20 @@ temp_pspec = '''<?xml version="1.0" ?>
|
|||||||
<Email>%(packager_email)s</Email>
|
<Email>%(packager_email)s</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>GPLv2</License>
|
<License>GPLv2</License>
|
||||||
|
<Icon>%(package)s</Icon>
|
||||||
<IsA>app:gui</IsA>
|
<IsA>app:gui</IsA>
|
||||||
<Summary></Summary>
|
<Summary></Summary>
|
||||||
<Description></Description>
|
<Description></Description>
|
||||||
<Summary xml:lang="tr"></Summary>
|
|
||||||
<Description xml:lang="tr"></Description>
|
|
||||||
<Archive sha1sum="" type="targz"></Archive>
|
<Archive sha1sum="" type="targz"></Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency versionFrom=""></Dependency>
|
<Dependency versionFrom=""></Dependency>
|
||||||
<Dependency></Dependency>
|
<Dependency></Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
|
||||||
<!--
|
<!--
|
||||||
|
<Patches>
|
||||||
<Patch level="1"></Patch>
|
<Patch level="1"></Patch>
|
||||||
-->
|
|
||||||
</Patches>
|
</Patches>
|
||||||
|
-->
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
@@ -51,15 +51,17 @@ temp_pspec = '''<?xml version="1.0" ?>
|
|||||||
<Files>
|
<Files>
|
||||||
<Path fileType="data">/</Path>
|
<Path fileType="data">/</Path>
|
||||||
</Files>
|
</Files>
|
||||||
<AdditionalFiles>
|
|
||||||
<!--
|
<!--
|
||||||
|
<AdditionalFiles>
|
||||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/%(package)s.desktop">%(package)s.desktop</AdditionalFile>
|
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/%(package)s.desktop">%(package)s.desktop</AdditionalFile>
|
||||||
-->
|
|
||||||
</AdditionalFiles>
|
</AdditionalFiles>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
<Provides>
|
<Provides>
|
||||||
<COMAR script="package.py">System.Package</COMAR>
|
<COMAR script="package.py">System.Package</COMAR>
|
||||||
<COMAR script="service.py">System.Service</COMAR>
|
<COMAR script="service.py">System.Service</COMAR>
|
||||||
</Provides>
|
</Provides>
|
||||||
|
-->
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
@@ -77,7 +79,7 @@ temp_pspec = '''<?xml version="1.0" ?>
|
|||||||
temp_actions = '''#!/usr/bin/python
|
temp_actions = '''#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright 2006 TUBITAK/UEKAE
|
# Copyright %(year)s TUBITAK/UEKAE
|
||||||
# Licensed under the GNU General Public License, version 2.
|
# Licensed under the GNU General Public License, version 2.
|
||||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||||
|
|
||||||
@@ -117,10 +119,13 @@ Categories=Application;Game;ArcadeGame
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
temp_service = '''serviceType = "local"
|
temp_service = '''serviceType = "local"
|
||||||
serviceDesc = "%(package_cap)s"
|
from comar.service import *
|
||||||
|
|
||||||
|
serviceType = "local"
|
||||||
serviceDefault = "off"
|
serviceDefault = "off"
|
||||||
|
|
||||||
from comar.service import *
|
serviceDesc = _({"en": "%(package_cap)s",
|
||||||
|
"tr": "%(package_cap)s"})
|
||||||
|
|
||||||
def start():
|
def start():
|
||||||
if 0 == run('/sbin/start-stop-daemon --quiet --start --exec /usr/bin/%(package)s --pidfile /var/run/%(package)s.pid'):
|
if 0 == run('/sbin/start-stop-daemon --quiet --start --exec /usr/bin/%(package)s --pidfile /var/run/%(package)s.pid'):
|
||||||
|
|||||||
Reference in New Issue
Block a user