<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ruby</Name>
        <Homepage>http://www.ruby-lang.org/en/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>programming.language.ruby</PartOf>
        <License>Ruby</License>
        <IsA>app:console</IsA>
        <Summary>An object-oriented scripting language</Summary>
        <Description>Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.</Description>
        <Archive sha1sum="4e373f5741550d4ef68c2e5e8efc2ce5b0199179" type="tarxz">https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.8.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>tcl-devel</Dependency>
            <Dependency>gmp-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>gdbm-devel</Dependency>
            <Dependency>tcltk-devel</Dependency>
            <Dependency>libffi-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libyaml-devel</Dependency>
            <Dependency>libxcrypt-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">e8481cd687840f6d8247ca70967c1de47093ecb8.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>ruby</Name>
        <Summary>An object-oriented language for quick and easy programming</Summary>
        <RuntimeDependencies>
            <Dependency>tcl</Dependency>
            <Dependency>gmp</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>gdbm</Dependency>
            <Dependency>tcltk</Dependency>
            <Dependency>libffi</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>libyaml</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>libxcrypt</Dependency>
        </RuntimeDependencies>
        <Files>
            <!-- ruby binaries -->
            <Path fileType="executable">/usr/bin</Path>

            <!-- ruby libraries -->
            <Path fileType="library">/usr/lib/ruby/3.4.0/</Path>
            
            <Path fileType="library">/usr/lib/libruby.so.3.4.8</Path>
            <Path fileType="library">/usr/lib/libruby.so.3.4</Path>
            <Path fileType="library">/usr/lib/libruby.so</Path>
            
            <Path fileType="library">/usr/lib/ruby/site_ruby/3.4.0/</Path>
            <Path fileType="library">/usr/lib/ruby/vendor_ruby/3.4.0/</Path>
            <!-- ruby man files -->
            <Path fileType="man">/usr/share/man/man1</Path>
            <!-- ruby doc files -->
            <Path fileType="doc">/usr/share/doc/ruby/LEGAL</Path>
            <Path fileType="doc">/usr/share/doc/ruby/LICENSE</Path>
            <Path fileType="doc">/usr/share/doc/ruby/README*</Path>
            <Path fileType="doc">/usr/share/doc/ruby/COPYING*</Path>

        </Files>
    </Package>

    <Package>
        <Name>ruby-devel</Name>
        <Summary>Development files for ruby</Summary>
        <RuntimeDependencies>
            <Dependency release="current">ruby</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/lib/pkgconfig/</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <Package>
        <Name>ruby-docs</Name>
        <Summary>Documentation files for ruby</Summary>
        <RuntimeDependencies>
            <Dependency release="current">ruby</Dependency>
        </RuntimeDependencies>
        <Files>
            <!-- ruby index files -->
            <Path fileType="doc">/usr/share/ri/</Path>
            
        </Files>
    </Package>

    <Package>
        <Name>rubygems</Name>
        <Summary>rubygems, The Ruby standard for packaging ruby libraries</Summary>
        <RuntimeDependencies>
            <Dependency>ruby</Dependency>
        </RuntimeDependencies>
        <Files>
            <!-- rubygems binary -->
            <Path fileType="executable">/usr/bin/gem</Path>
            <!-- rubygems gem libraries -->
            <Path fileType="library">/usr/lib/ruby/gems/</Path>
            <!-- ruby index files -->
            <Path fileType="data">/usr/share/ri/3.4.0/system/Gem</Path>
            <!-- rubygem man files -->
            <Path fileType="man">/usr/share/man/man5</Path>
        </Files>
    </Package>

    <History>
        <Update release="18">
            <Date>2026-01-01</Date>
            <Version>3.4.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="17">
            <Date>2025-10-11</Date>
            <Version>3.4.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="16">
            <Date>2025-05-15</Date>
            <Version>3.4.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="15">
            <Date>2024-12-18</Date>
            <Version>3.2.6</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="14">
            <Date>2024-11-06</Date>
            <Version>3.2.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="13">
            <Date>2024-01-22</Date>
            <Version>3.2.3</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2023-10-17</Date>
            <Version>3.2.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2023-03-31</Date>
            <Version>3.2.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2022-11-24</Date>
            <Version>3.0.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-06-28</Date>
            <Version>3.0.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-04-26</Date>
            <Version>2.7.1</Version>
            <Comment>Minor version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-01-07</Date>
            <Version>2.6.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-10-01</Date>
            <Version>2.6.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
          <Date>2018-08-07</Date>
          <Version>2.5.0</Version>
          <Comment>Rebuild</Comment>
          <Name>Mustafa Cinasal</Name>
          <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-06-06</Date>
            <Version>2.5.0</Version>
            <Comment>Rebuild for gdbm.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
          <Date>2018-01-31</Date>
          <Version>2.5.0</Version>
          <Comment>Release Bump</Comment>
          <Name>Mustafa Cinasal</Name>
          <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
          <Date>2017-02-02</Date>
          <Version>2.4.0</Version>
          <Comment>Release Bump</Comment>
          <Name>Muhammet Dilmaç</Name>
          <Email>m.dilmac@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.2.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-04</Date>
            <Version>2.2.2</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
