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> 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 # 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 # 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,33 +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/
# #
%define cpan_name HTTP-Server-Simple-Mason
Name: perl-HTTP-Server-Simple-Mason Name: perl-HTTP-Server-Simple-Mason
Version: 0.14 Version: 0.14
Release: 1 Release: 0
License: GPL+ or Artistic
%define cpan_name HTTP-Server-Simple-Mason
Summary: An abstract baseclass for a standalone mason server 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 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 #Source: http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-Mason-%%{version}.tar.gz
Source0: %{cpan_name}-%{version}.tar.bz2 Source0: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl(Hook::LexWrap) BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTML::Mason) >= 1.25 BuildRequires: perl(HTML::Mason) >= 1.25
BuildRequires: perl(HTTP::Server::Simple) >= 0.04 BuildRequires: perl(HTTP::Server::Simple) >= 0.04
BuildRequires: perl(Hook::LexWrap)
BuildRequires: perl(LWP::Simple) BuildRequires: perl(LWP::Simple)
BuildRequires: perl(Log::Any) BuildRequires: perl(Log::Any)
BuildRequires: perl(Module::Install) BuildRequires: perl(Module::Install)
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(Hook::LexWrap)
Requires: perl(HTML::Mason) >= 1.25 Requires: perl(HTML::Mason) >= 1.25
Requires: perl(HTTP::Server::Simple) >= 0.04 Requires: perl(HTTP::Server::Simple) >= 0.04
BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: perl(Hook::LexWrap)
BuildArch: noarch BuildArch: noarch
%{perl_requires} %{perl_requires}
@@ -50,22 +48,18 @@ For details see HTTP::Server::Simple package and the documentation in the perldo
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test %make_build 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)
%doc Changes %doc Changes
%changelog %changelog