[packages/perl-SQL-Abstract-Classic] New package

arekm arekm at pld-linux.org
Thu Nov 19 15:24:20 CET 2026


commit f70443df1f2e1edc0dba0578261f2773c8509099
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 14:50:18 2026 +0100

    New package

 perl-SQL-Abstract-Classic.spec | 72 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)
---
diff --git a/perl-SQL-Abstract-Classic.spec b/perl-SQL-Abstract-Classic.spec
new file mode 100644
index 0000000..c43e97f
--- /dev/null
+++ b/perl-SQL-Abstract-Classic.spec
@@ -0,0 +1,72 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	SQL
+%define		pnam	Abstract-Classic
+Summary:	SQL::Abstract::Classic - generate SQL from Perl data structures
+Summary(pl.UTF-8):	SQL::Abstract::Classic - generowanie SQL z perlowych struktur danych
+Name:		perl-SQL-Abstract-Classic
+Version:	1.91
+Release:	1
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	https://www.cpan.org/authors/id/R/RI/RIBASUSHI/SQL-%{pnam}-%{version}.tar.gz
+# Source0-md5:	c3e052d7db4c6c26d7657bb4006baae1
+URL:		https://metacpan.org/release/SQL-Abstract-Classic
+BuildRequires:	perl-ExtUtils-MakeMaker >= 6.59
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-MRO-Compat >= 0.12
+BuildRequires:	perl-SQL-Abstract >= 1.79
+BuildRequires:	perl-Storable
+BuildRequires:	perl-Test-Deep >= 0.101
+BuildRequires:	perl-Test-Exception >= 0.31
+BuildRequires:	perl-Test-Simple >= 0.88
+BuildRequires:	perl-Test-Warn
+BuildRequires:	perl(Text::Balanced) >= 2.00
+%endif
+Requires:	perl-SQL-Abstract >= 1.79
+Requires:	perl(Text::Balanced) >= 2.00
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SQL::Abstract::Classic is the continuation of the SQL::Abstract 1.x
+line, kept stable for existing users (notably DBIx::Class) after
+SQL::Abstract moved to the 2.x series.
+
+%description -l pl.UTF-8
+SQL::Abstract::Classic jest kontynuacją linii 1.x modułu
+SQL::Abstract, utrzymywaną w stabilnej postaci dla dotychczasowych
+użytkowników (zwłaszcza DBIx::Class) po przejściu SQL::Abstract na
+serię 2.x.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%dir %{perl_vendorlib}/SQL/Abstract
+%{perl_vendorlib}/SQL/Abstract/Classic.pm
+%{perl_vendorlib}/SQL/Abstract/Util.pm
+%{_mandir}/man3/SQL::Abstract::Classic.3pm*
+%{_mandir}/man3/SQL::Abstract::Util.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-SQL-Abstract-Classic.git/commitdiff/f70443df1f2e1edc0dba0578261f2773c8509099



More information about the pld-cvs-commit mailing list