%define upstream_name DBIx-DBSchema %define upstream_version 0.40 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Database-independent schema objects License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/DBIx/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(DBI) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(FreezeThaw) BuildRequires: perl(Storable) BuildRequires: perl-DBI BuildArch: noarch %description DBIx::DBSchema objects are collections of DBIx::DBSchema::Table objects and represent a database schema. This module implements an OO-interface to database schemas. Using this module, you can create a database schema with an OO Perl interface. You can read the schema from an existing database. You can save the schema to disk and restore it a different process. Most importantly, DBIx::DBSchema can write SQL CREATE statements statements for different databases from a single source. Currently supported databases are MySQL and PostgreSQL. Sybase support is partially implemented. DBIx::DBSchema will attempt to use generic SQL syntax for other databases. Assistance adding support for other databases is welcomed. See DBIx::DBSchema::DBD, "Driver Writer's Guide and Base Class". %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install %makeinstall_std %files %doc Changes META.yml MYMETA.yml README %{perl_vendorlib}/DBIx %{_mandir}/man3/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.400.0-2.mga3 + Revision: 365141 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Dec 18 2011 kharec <kharec> 0.400.0-1.mga2 + Revision: 183779 - update to 0.40 * Thu Jan 20 2011 jquelin <jquelin> 0.390.0-2.mga1 + Revision: 26063 - mageia rebuild - imported package perl-DBIx-DBSchema