2024-07-19 21:56:56 +00:00
committed by Git OBS Bridge
parent 82d81e355b
commit 3919182b31

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Class-DBI-SQLite (Version 0.11) # spec file for package perl-Class-DBI-SQLite
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,30 +12,31 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-Class-DBI-SQLite
Version: 0.11
Release: 1
# MANUAL
License: GPL+ or Artistic
%define cpan_name Class-DBI-SQLite %define cpan_name Class-DBI-SQLite
Name: perl-Class-DBI-SQLite
Version: 0.110.0
Release: 0
# 0.11 -> normalize -> 0.110.0
%define cpan_version 0.11
License: CHECK(Artistic-1.0 or GPL-1.0-or-later)
Summary: Extension to Class::DBI for sqlite Summary: Extension to Class::DBI for sqlite
Url: http://search.cpan.org/dist/Class-DBI-SQLite/ URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{cpan_version}.tar.gz
Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Class::DBI) >= 0.85 BuildRequires: perl(Class::DBI) >= 0.85
BuildRequires: perl(DBD::SQLite) >= 0.07 BuildRequires: perl(DBD::SQLite) >= 0.07
BuildRequires: perl(DBI)
BuildRequires: perl(Ima::DBI) >= 0.27 BuildRequires: perl(Ima::DBI) >= 0.27
Requires: perl(Class::DBI) >= 0.85 Requires: perl(Class::DBI) >= 0.85
Requires: perl(DBD::SQLite) >= 0.07 Requires: perl(DBD::SQLite) >= 0.07
Requires: perl(Ima::DBI) >= 0.27 Requires: perl(Ima::DBI) >= 0.27
Provides: perl(Class::DBI::SQLite) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -46,25 +47,21 @@ The 'set_up_table' method automates the setup of columns and primary key(s)
via the SQLite PRAGMA statement. via the SQLite PRAGMA statement.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes %doc Changes
%changelog %changelog