<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>java-openjdk</Name>
        <Homepage>https://openjdk.java.net/</Homepage>
        <Packager>
            <Name>Safa Arıman</Name>
            <Email>safa@ariman.gen.tr</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>OpenJDK Java development kit</Summary>
        <Description>OpenJDK is a development environment for building applications, applets, and components using the Java programming language.</Description>
        <Archive sha1sum="4365162a9d182f5b6af350267290680c5852b36f" type="targz">https://github.com/openjdk/jdk25u/archive/jdk-25.0.2+10.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cpio</Dependency>
            <Dependency>zip</Dependency>
            <Dependency>unzip</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>giflib-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>jdk-openjdk</Dependency>
<!--             man docs -->
            <Dependency>pandoc-bin</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>jre-openjdk-headless</Name>
        <Summary>OpenJDK Java headless runtime environment</Summary>
        <RuntimeDependencies>
            <Dependency>lcms2</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jaotc</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/java</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jfr</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jjs</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jrunscript</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/keytool</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/pack200</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/rmid</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/rmiregistry</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/unpack200</Path>
            <Path fileType="config">/usr/lib/jvm/java-openjdk/conf</Path>
            <Path fileType="config">/etc/java-openjdk</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.base*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.compiler*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.datatransfer*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.desktop*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.instrument*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.logging*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.management*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.naming*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.net.http*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.prefs*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.rmi*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.scripting*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.se*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.security*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.smartcardio*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.sql*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.transaction.xa*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/java.xml*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.accessibility*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.aot*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.charsets*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.crypto*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.dynalink*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.httpserver*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.internal*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.jdwp.agent*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.jfr*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.jsobject*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.localedata*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.management*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.naming*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.net*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.pack*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.scripting.nashorn*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.sctp*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.security*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.unsupported*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.xml.dom*</Path>
            <Path fileType="doc">/usr/share/licenses/java-openjdk/jdk.zipfs*</Path>
            <Path fileType="doc">/usr/lib/jvm/java-openjdk/legal</Path>
            <Path fileType="doc">/usr/share/licenses/jre-openjdk-headless</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/man</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/release</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/modules</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/security</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/server</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/tzdb.dat</Path>
            <Path fileType="config">/usr/lib/jvm/java-openjdk/lib/jvm.cfg</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/jrt-fs.jar</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/classlist</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/jexec*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/jfr*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/jspawnhelper*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libawt.*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libawt_headless.*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libdtcket*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libextnet*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libfontmanager*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libinstrument*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libj2gss*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libj2pcsc*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libj2pkcs11*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjaas*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjava*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjavajpeg*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjdwp*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjimage*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjli*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjsig*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/liblcms*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libmanagement*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libmlib_image*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libnet*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libnio*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libprefs*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/librmi*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsctp*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsunec*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libunpack*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libverify*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libzip*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/psfont*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsimdsort*</Path>
            <Path fileType="man">/usr/share/man/man1/jaotc-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/java-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jfr-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jjs-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jrunscript-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/keytool-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/pack200-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/rmid-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/rmiregistry-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/unpack200-openjdk25.0</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/java-openjdk-java.desktop">freedesktop-java.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/java-openjdk-jconsole.desktop">freedesktop-jconsole.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/java-openjdk-jshell.desktop">freedesktop-jshell.desktop</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="jre_package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>jre-openjdk</Name>
        <Summary>OpenJDK Java full runtime environment</Summary>
        <RuntimeDependencies>
            <Dependency release="current">jre-openjdk-headless</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>giflib</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXtst</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libawt_xawt*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjawt*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjsound*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsplashscreen*</Path>
        </Files>
    </Package>

    <Package>
        <Name>jdk-openjdk</Name>
        <Summary>OpenJDK Java development kit</Summary>
        <RuntimeDependencies>
            <Dependency release="current">jre-openjdk-headless</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jwebserver</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jstatd</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jshell</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jarsigner</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/javap</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jstack</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/javadoc</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jdeprscan</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jmap</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jconsole</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jmod</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jcmd</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jar</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/javac</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/rmic</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jps</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jpackage</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/serialver</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jstat</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jdb</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jinfo</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jhsdb</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jlink</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jimage</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jdeps</Path>
            <Path fileType="executable">/usr/lib/jvm/java-openjdk/bin/jnativescan</Path>
            <Path fileType="header">/usr/lib/jvm/java-openjdk/include</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/demo</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/jmods</Path>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/ct.sym</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsaproc*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libdt_socket*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libattach*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libjsvml*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/libsyslookup*</Path>
            <Path fileType="library">/usr/lib/jvm/java-openjdk/lib/lible*</Path>
            <Path fileType="man">/usr/share/man/man1/jstatd-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jshell-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jarsigner-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/javap-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jstack-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/javadoc-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jdeprscan-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jmap-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jconsole-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jmod-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jcmd-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jar-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/javac-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/rmic-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jps-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/serialver-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jstat-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jdb-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jinfo-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jhsdb-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jlink-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jimage-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jdeps-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jpackage-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jwebserver-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/klist-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jnativescan-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jabswitch-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jaccessinspector-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/kinit-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/jaccesswalker-openjdk25.0</Path>
            <Path fileType="man">/usr/share/man/man1/ktab-openjdk25.0</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/licenses/java-openjdk</Path>
        </Files>
        <Provides>
            <COMAR script="jdk_package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>openjdk-src</Name>
        <Summary>OpenJDK Java sources</Summary>
        <Files>
            <Path fileType="data">/usr/lib/jvm/java-openjdk/lib/src.zip</Path>
        </Files>
    </Package>

    <Package>
        <Name>openjdk-doc</Name>
        <Summary>OpenJDK Java documentation</Summary>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2026-02-03</Date>
            <Version>25.0.2.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2025-05-04</Date>
            <Version>24.0.1.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2025-01-01</Date>
            <Version>21.0.5.11</Version>
            <Comment>Version bump</Comment>
            <Name>Bedirhan Kurt</Name>
            <Email>bedirhan.kurt@outlook.com</Email>
        </Update>
        <Update release="3">
            <Date>2024-02-28</Date>
            <Version>21.0.2.13</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2023-11-01</Date>
            <Version>15.0.3.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2021-03-10</Date>
            <Version>15.0.3.0</Version>
            <Comment>First release.</Comment>
            <Name>Safa Arıman</Name>
            <Email>safa@ariman.gen.tr</Email>
        </Update>
    </History>
</PISI>
