OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Apache-ASP?expand=0&rev=4
82 lines
2.6 KiB
RPMSpec
82 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package perl-Apache-ASP
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-Apache-ASP
|
|
Version: 2.62
|
|
Release: 0
|
|
%define cpan_name Apache-ASP
|
|
Summary: Active Server Pages for Apache with mod_perl
|
|
License: GPL-1.0+ or Artistic-1.0
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/Apache-ASP/
|
|
Source0: http://www.cpan.org/authors/id/C/CH/CHAMAS/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
%{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
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
find . -type f -print0 | xargs -0 chmod 644
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc asp-perl CHANGES LICENSE README
|
|
|
|
%changelog
|