Compare commits

...

10 Commits

Author SHA256 Message Date
8afceaa8b8 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=16
2025-06-11 19:27:14 +00:00
abb9bbec96 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=15
2024-07-23 20:10:41 +00:00
Lars Vogdt
93a53aee85 - update license string in spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=14
2021-04-13 21:08:46 +00:00
48b0fe4c3a OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=13 2018-10-07 16:54:16 +00:00
7ad1ca9422 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=12 2018-10-07 16:53:54 +00:00
Lars Vogdt
81a3e66e3b fix build by
+BuildRequires:  perl(LWP::Simple)
+BuildRequires:  perl(Log::Any)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=11
2011-11-15 20:03:57 +00:00
Lars Vogdt
91a8e44849 remove the tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=9
2011-11-15 16:32:40 +00:00
Stephan Kulow
8252b4a3c5 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=4
2010-12-03 14:38:10 +00:00
Stephan Kulow
f17486936d siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=3
2010-12-01 13:46:59 +00:00
Lars Vogdt
eff48639cf - update to 0.14:
+ encode out string only if the string is in utf8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple-Mason?expand=0&rev=2
2010-09-09 12:13:21 +00:00
4 changed files with 72 additions and 43 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3561c8c1ab2c5958a376e3cb2eff76ab00754f754f9bef192db14652eb5b612
size 20222

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7a49d8e6e55bff0b1f0278d951685466b143243b6f9e59e071f5472ca2a025a
size 21389

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
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>
- Fix build
-------------------------------------------------------------------
Tue Nov 15 16:32:18 UTC 2011 - lars@linux-schulserver.de
- specfile cleanup
-------------------------------------------------------------------
Wed Dec 1 13:32:58 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Thu Sep 9 12:10:26 UTC 2010 - lars@linux-schulserver.de
- update to 0.14:
+ encode out string only if the string is in utf8
-------------------------------------------------------------------
Sat Dec 26 23:16:00 UTC 2009 - lars@linux-schulserver.de

View File

@@ -1,47 +1,54 @@
#
# spec file for package perl-HTTP-Server-Simple-Mason
#
# Copyright (c) 2025 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.
# norootforbuild
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-HTTP-Server-Simple-Mason
%define real_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: An abstract baseclass for a standalone mason server
Url: http://search.cpan.org/perldoc?HTTP::Server::Simple::Mason
Group: Development/Libraries/Perl
License: Artistic License
Version: 0.13
Release: 1
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
BuildRequires: perl-macros
Buildrequires: perl(Test::Pod::Coverage)
Buildrequires: perl(Test::Pod)
BuildRequires: perl(LWP::Simple)
BuildRequires: perl-HTTP-Server-Simple
BuildRequires: perl(HTML::Mason::CGIHandler)
BuildRequires: perl(Hook::LexWrap)
Requires: perl(LWP::Simple)
Requires: perl-HTTP-Server-Simple
Requires: perl(HTML::Mason::CGIHandler)
Requires: perl(Hook::LexWrap)
Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define cpan_name HTTP-Server-Simple-Mason
Name: perl-HTTP-Server-Simple-Mason
Version: 0.140.0
Release: 0
# 0.14 -> normalize -> 0.140.0
%define cpan_version 0.14
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Simple mason server
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JE/JESSE/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(HTML::Mason) >= 1.250
BuildRequires: perl(HTTP::Server::Simple) >= 0.40
BuildRequires: perl(Hook::LexWrap)
Requires: perl(HTML::Mason) >= 1.250
Requires: perl(HTTP::Server::Simple) >= 0.40
Requires: perl(Hook::LexWrap)
Provides: perl(HTTP::Server::Simple::Mason) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
See HTTP::Server::Simple package and the documentation in the perldoc manual.
Author:
-------
Jesse Vincent <jesse@bestpractical.com>
A simple mason server
%prep
%setup -q -n %{real_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
@@ -51,11 +58,7 @@ make test
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%doc Changes
%files -f %{name}.files
%defattr(-, root, root)
%doc Changes MANIFEST
%changelog
%changelog