Lars Vogdt
2021-04-13 21:08:46 +00:00
committed by Git OBS Bridge
parent 48b0fe4c3a
commit 93a53aee85
2 changed files with 19 additions and 20 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 13 21:08:08 UTC 2021 - Lars Vogdt <lars@linux-schulserver.de>
- update license string in spec file
-------------------------------------------------------------------
Sun Oct 7 16:54:07 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTTP-Server-Simple-Mason
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -12,60 +12,54 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name HTTP-Server-Simple-Mason
Name: perl-HTTP-Server-Simple-Mason
Version: 0.14
Release: 1
License: GPL+ or Artistic
%define cpan_name HTTP-Server-Simple-Mason
Release: 0
Summary: An abstract baseclass for a standalone mason server
Url: http://search.cpan.org/dist/HTTP-Server-Simple-Mason/
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://search.cpan.org/dist/HTTP-Server-Simple-Mason/
#Source: http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-Mason-%%{version}.tar.gz
Source0: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl(Hook::LexWrap)
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTML::Mason) >= 1.25
BuildRequires: perl(HTTP::Server::Simple) >= 0.04
BuildRequires: perl(Hook::LexWrap)
BuildRequires: perl(LWP::Simple)
BuildRequires: perl(Log::Any)
BuildRequires: perl(Module::Install)
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(Hook::LexWrap)
Requires: perl(HTML::Mason) >= 1.25
Requires: perl(HTTP::Server::Simple) >= 0.04
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl(Hook::LexWrap)
BuildArch: noarch
%{perl_requires}
%description
HTTP::Server::Simple::Mason - An abstract baseclass for a standalone mason server.
HTTP::Server::Simple::Mason - An abstract baseclass for a standalone mason server.
For details see HTTP::Server::Simple package and the documentation in the perldoc manual.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
%make_build test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root)
%doc Changes
%changelog