* Root tag'leri PISI yap. pisi pisi

This commit is contained in:
Eray Özkural
2005-06-22 14:27:12 +00:00
parent 9b8853e9c2
commit f4ebe9ce9a
6 changed files with 19 additions and 10 deletions
+11 -2
View File
@@ -347,6 +347,12 @@ Dosya bi
Pisi Pisi
\layout Subparagraph \layout Subparagraph
Meta
\series medium
(Bence bunu yeniden yapip icine Packager ve History'i koyabiliriz ...
-- Eray)
\layout Subparagraph
Source Source
\layout Itemize \layout Itemize
@@ -687,12 +693,12 @@ Metadata
\series bold \series bold
PSPEC dosyasının Global/Meta bölümü PSPEC dosyasının Meta bölümü
\layout Itemize \layout Itemize
\series bold \series bold
PSPEC dosyasının Global/History bölümü PSPEC dosyasının Source bölümü
\layout Itemize \layout Itemize
@@ -749,6 +755,9 @@ XML
pisi-metadata.dtd pisi-metadata.dtd
\emph default \emph default
dosyasında tanımlanmıştır. dosyasında tanımlanmıştır.
(Ek tag'ler de bir section'a eklenmeli ya da yeni section olusturulmali
gibi geldi bana, ornegin Distribution olabilir.
-- Eray)
\layout Subsection \layout Subsection
files.xml files.xml
+1 -1
View File
@@ -9,7 +9,7 @@ class MetaData(XmlFile):
"""Package metadata. Metadata is composed of Specfile and various """Package metadata. Metadata is composed of Specfile and various
other information.""" other information."""
def __init__(self): def __init__(self):
XmlFile.__init__(self, "METADATA") XmlFile.__init__(self, "PISI")
self.eltList = [] self.eltList = []
def read(self, filename): def read(self, filename):
+1 -1
View File
@@ -95,7 +95,7 @@ class SpecFile(XmlFile):
"""A class for reading/writing from/to a PSPEC (PISI SPEC) file.""" """A class for reading/writing from/to a PSPEC (PISI SPEC) file."""
def __init__(self): def __init__(self):
XmlFile.__init__(self,"PSPEC") XmlFile.__init__(self,"PISI")
def read(self, filename): def read(self, filename):
"""Read PSPEC file""" """Read PSPEC file"""
+2 -2
View File
@@ -3,7 +3,7 @@
<!DOCTYPE PSPEC SYSTEM <!DOCTYPE PSPEC SYSTEM
"http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd"> "http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
<PSPEC> <PISI>
<Source> <Source>
<Name>popt</Name> <Name>popt</Name>
@@ -67,4 +67,4 @@
<Path fileType="header">/usr/include/popt.h</Path> <Path fileType="header">/usr/include/popt.h</Path>
</Files> </Files>
</Package> </Package>
</PSPEC> </PISI>
+2 -2
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<METADATA><Name>popt</Name><Summary>Command line option parsing library</Summary><Description>Command line option parsing library. <PISI><Name>popt</Name><Summary>Command line option parsing library</Summary><Description>Command line option parsing library.
While it is similiar to getopt(3), it contains a number of enhancements, including: While it is similiar to getopt(3), it contains a number of enhancements, including:
1) popt is fully reentrant 1) popt is fully reentrant
@@ -8,4 +8,4 @@
3) popt allows users to alias command line arguments 3) popt allows users to alias command line arguments
4) popt provides convience functions for parsing strings 4) popt provides convience functions for parsing strings
into argv[] style arrays into argv[] style arrays
</Description><Category>devel:library</Category><InstallDependencies/><RuntimeDependencies><Depencency>gettext</Depencency></RuntimeDependencies><License>As-Is</License><Distribution>Pardus</Distribution><DistributionRelease>0.1</DistributionRelease><Architecture>Any</Architecture><InstalledSize>546542</InstalledSize><History><Update><Date>06/14/2005</Date><Version>1.7</Version><Release>3</Release></Update><Update><Date>06/10/2005</Date><Version>1.7</Version><Release>2</Release></Update><Update><Date>05/05/2005</Date><Version>1.7</Version><Release>1</Release></Update></History></METADATA> </Description><Category>devel:library</Category><InstallDependencies/><RuntimeDependencies><Depencency>gettext</Depencency></RuntimeDependencies><License>As-Is</License><Distribution>Pardus</Distribution><DistributionRelease>0.1</DistributionRelease><Architecture>Any</Architecture><InstalledSize>546542</InstalledSize><History><Update><Date>06/14/2005</Date><Version>1.7</Version><Release>3</Release></Update><Update><Date>06/10/2005</Date><Version>1.7</Version><Release>2</Release></Update><Update><Date>05/05/2005</Date><Version>1.7</Version><Release>1</Release></Update></History></PISI>
+2 -2
View File
@@ -3,7 +3,7 @@
<!DOCTYPE PSPEC SYSTEM <!DOCTYPE PSPEC SYSTEM
"http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd"> "http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
<PSPEC> <PISI>
<Source> <Source>
<Name>sandbox</Name> <Name>sandbox</Name>
@@ -30,4 +30,4 @@
<Summary lang="tr">Bla</Summary> <Summary lang="tr">Bla</Summary>
<Category>temprorary:zip</Category> <Category>temprorary:zip</Category>
</Package> </Package>
</PSPEC> </PISI>