<metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install">
  <group>
    <repositories>
      <repository recommended="true">
        <name>devel:languages:perl:CPAN-C</name>
        <summary>CPAN modules not in devel:languages:perl</summary>
        <description>This project builds all cpan modules generated by cpanspec without developer interaction. If you want to fix a package,
               copypac it from here and then submit it to devel:languages:perl</description>
        <url>https://download.opensuse.org/repositories/devel:/languages:/perl:/CPAN-C/15.6/</url>
      </repository>
      <repository recommended="true">
        <name>openSUSE:Leap:15.6</name>
        <summary></summary>
        <description>openSUSE Leap borrows packages from SLE. The content of the build media is almost the same as the previous Leap, but the development is drastic different. It includes the binaries (instead of the sources) directly from SLE. https://lists.opensuse.org/opensuse-factory/2020-04/msg00165.html</description>
        <url>https://download.opensuse.org/repositories/openSUSE:/Leap:/15.6/standard/</url>
      </repository>
      <repository recommended="true">
        <name>openSUSE:Backports:SLE-15-SP6</name>
        <summary>Backports project for SLE-15-SP6</summary>
        <description>Backports project for SLE-15-SP6</description>
        <url>https://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-15-SP6/standard/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP6:GA</name>
        <summary></summary>
        <description></description>
        <url>https://download.opensuse.org/repositories/SUSE:/SLE-15-SP6:/GA/pool/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP5:Update</name>
        <summary>SLE 15 SP5</summary>
        <description>SLE 15 SP5</description>
        <url>https://download.opensuse.org/distribution/leap/15.6/repo/oss/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP5:GA</name>
        <summary></summary>
        <description></description>
        <url>https://download.opensuse.org/repositories/SUSE:/SLE-15-SP5:/GA/pool/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP4:Update</name>
        <summary>SLE 15 SP4</summary>
        <description>SLE 15 SP4</description>
        <url>https://download.opensuse.org/distribution/leap/15.6/repo/oss/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP4:GA</name>
        <summary></summary>
        <description></description>
        <url>https://download.opensuse.org/repositories/SUSE:/SLE-15-SP4:/GA/pool/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP3:Update</name>
        <summary>SLE 15 SP3</summary>
        <description>SLE 15 SP3</description>
        <url>https://download.opensuse.org/distribution/leap/15.6/repo/oss/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP3:GA</name>
        <summary></summary>
        <description></description>
        <url>https://download.opensuse.org/repositories/SUSE:/SLE-15-SP3:/GA/pool/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP2:Update</name>
        <summary>SLE 15 SP2</summary>
        <description>SLE 15 SP2</description>
        <url>https://download.opensuse.org/distribution/leap/15.6/repo/oss/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP2:GA</name>
        <summary>SLE 15 SP2</summary>
        <description>SLE 15 SP2</description>
        <url>https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/GA/pool/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP1:Update</name>
        <summary>SLE 15 SP1</summary>
        <description>SLE 15 SP1</description>
        <url>https://download.opensuse.org/distribution/leap/15.6/repo/oss/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15-SP1:GA</name>
        <summary>SLE 15 SP1</summary>
        <description>SLE 15 SP1</description>
        <url>https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/</url>
      </repository>
      <repository recommended="true">
        <name>SUSE:SLE-15:Update</name>
        <summary>SLE 15</summary>
        <description>SLE 15</description>
        <url>https://download.opensuse.org/distribution/leap/15.6/repo/oss/</url>
      </repository>
      <repository recommended="false">
        <name>SUSE:SLE-15:GA</name>
        <summary>SLE 15</summary>
        <description>SLE 15</description>
        <url>https://download.opensuse.org/repositories/SUSE:/SLE-15:/GA/pool/</url>
      </repository>
    </repositories>
    <software>
      <item>
        <name>perl-Class-DBI-Pg</name>
        <summary>Class::DBI extension for Postgres</summary>
        <description>Class::DBI::Pg automate the setup of Class::DBI columns and primary key for
Postgres.

select Postgres system catalog and find out all columns, primary key and
SERIAL type column.

create table.

 CREATE TABLE cd (
     id SERIAL NOT NULL PRIMARY KEY,
     title TEXT,
     artist TEXT,
     release_date DATE
 );

setup your class.

 package CD;
 use strict;
 use base qw(Class::DBI::Pg);

 __PACKAGE__-&gt;set_db(Main =&gt; 'dbi:Pg:dbname=db', 'user', 'password');
 __PACKAGE__-&gt;set_up_table('cd');

This is almost the same as the following way.

 package CD;

 use strict;
 use base qw(Class::DBI);

 __PACKAGE__-&gt;set_db(Main =&gt; 'dbi:Pg:dbname=db', 'user', 'password');
 __PACKAGE__-&gt;table('cd');
 __PACKAGE__-&gt;columns(Primary =&gt; 'id');
 __PACKAGE__-&gt;columns(All =&gt; qw(id title artist release_date));
 __PACKAGE__-&gt;sequence('cd_id_seq');</description>
      </item>
    </software>
  </group>
</metapackage>
