File perl-EekBoek.spec of Package perl-EekBoek
#
# spec file for package perl-EekBoek
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name EekBoek
Name: perl-EekBoek
Version: 2.051
Release: 0
Summary: Bookkeeping software for small and medium-size businesses
License: reserved. This program is free software and you can redistribute it and/or modify it under the terms of either: a) the GNU General Public License as published by the Free Software Foundation and either version 1, OR (at your option) any later version, OR b) the "Artistic License" which comes with Perl. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY and without even the implied warranty of MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License OR the Artistic License for more details.
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JV/JV/%{cpan_name}-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(App::Packager) >= 1.430
BuildRequires: perl(Archive::Zip) >= 1.16
BuildRequires: perl(DBD::SQLite) >= 1.13
BuildRequires: perl(DBI) >= 1.40
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.5503
BuildRequires: perl(IPC::Run3) >= 0.034
BuildRequires: perl(Term::ReadLine::Gnu)
Requires: perl(App::Packager) >= 1.430
Requires: perl(Archive::Zip) >= 1.16
Requires: perl(DBD::SQLite) >= 1.13
Requires: perl(DBI) >= 1.40
Requires: perl(Term::ReadLine::Gnu)
Recommends: perl(DBD::Pg) >= 1.41
Recommends: perl(HTML::Entities) >= 1.35
%{perl_requires}
%description
For a description how to use the program, see
http://www.eekboek.nl/docs/index.html.
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc CHANGES ebwxshell.desktop README README.emacs README.gui README.postgres
%changelog