# # spec file for package perl-Apache-ASP # # Copyright (c) 2024 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 Apache-ASP Name: perl-Apache-ASP Version: 2.630.0 Release: 0 # 2.63 -> normalize -> 2.630.0 %define cpan_version 2.63 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Active Server Pages for Apache with mod_perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/C/CH/CHAMAS/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(MLDBM) BuildRequires: perl(MLDBM::Sync) Requires: perl(MLDBM) Requires: perl(MLDBM::Sync) Provides: perl(Apache::ASP) Provides: perl(Apache::ASP::ApacheCommon) Provides: perl(Apache::ASP::Application) Provides: perl(Apache::ASP::CGI) Provides: perl(Apache::ASP::CGI::Table) Provides: perl(Apache::ASP::CGI::Test) Provides: perl(Apache::ASP::Collection) Provides: perl(Apache::ASP::CollectionItem) Provides: perl(Apache::ASP::Date) Provides: perl(Apache::ASP::GlobalASA) Provides: perl(Apache::ASP::Lang::PerlScript) Provides: perl(Apache::ASP::Load) Provides: perl(Apache::ASP::Request) Provides: perl(Apache::ASP::Response) Provides: perl(Apache::ASP::STDERR) Provides: perl(Apache::ASP::Server) Provides: perl(Apache::ASP::Session) Provides: perl(Apache::ASP::State) Provides: perl(Bundle::Apache::ASP) = 1.100.0 Provides: perl(Bundle::Apache::ASP::Extra) = 1.30.0 %undefine __perllib_provides %{perl_requires} # MANUAL BEGIN BuildRequires: perl(MLDBM) BuildRequires: perl(MLDBM::Sync) # MANUAL END %description Apache::ASP provides an Active Server Pages port to the Apache Web Server with Perl scripting only, and enables developing of dynamic web applications with session management and embedded Perl code. There are also many powerful extensions, including XML taglibs, XSLT rendering, and new events not originally part of the ASP API! This module works under the Apache Web Server with the mod_perl module enabled. See http://www.apache.org and http://perl.apache.org for further information. This is a portable solution, similar to ActiveState's PerlScript for NT/IIS ASP. Work has been done and will continue to make ports to and from this implementation as smooth as possible. For Apache::ASP downloading and installation, please read the INSTALL section. For installation troubleshooting check the FAQ and the SUPPORT sections. For database access, ActiveX, scripting languages, and other miscellaneous issues please read the FAQ section. %prep %autosetup -n %{cpan_name}-%{cpan_version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc asp-perl CHANGES README %changelog