initial create of smeserver perl Mojolicious on Tue Jan 21 21:15:40 AEDT 2025
This commit is contained in:
parent
f9c5dbdc3a
commit
7fa47dd050
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Makefile for source rpm: perl-Mojolicious
|
||||||
|
# $Id: Makefile,v 1.1 2016/02/04 12:24:52 vip-ire Exp $
|
||||||
|
NAME := perl-Mojolicious
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
BIN
Mojolicious-9.39.tar.gz
(Stored with Git LFS)
Normal file
BIN
Mojolicious-9.39.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
19
README.md
19
README.md
@ -1,3 +1,18 @@
|
|||||||
# perl-Mojolicious
|
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> perl-Mojolicious (Mojolicious)
|
||||||
|
|
||||||
3rd Party (Maintained by Koozali) git repo for perl-Mojolicious smeserver
|
SMEServer Koozali local git repo for perl-Mojolicious
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
https://metacpan.org/pod/Mojolicious
|
||||||
|
|
||||||
|
## Bugs
|
||||||
|
CPAN bug report are [here](https://rt.cpan.org/Public/Dist/Display.html?Name=Mojolicious)
|
||||||
|
|
||||||
|
Show list of Koozali outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=perl-Mojolicious&product=SME%20Server%2011.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||||
|
|
||||||
|
## Description
|
||||||
|
An amazing real-time web framework built on top of the powerful Mojo web
|
||||||
|
development toolkit. With support for RESTful routes, plugins, commands,
|
||||||
|
Perl-ish templates, content negotiation, session management, form
|
||||||
|
validation, testing framework, static file server, CGI/PSGI detection,
|
||||||
|
first class Unicode support and much more for you to discover.
|
||||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
|||||||
|
sme11
|
59
perl-Mojolicious.spec
Normal file
59
perl-Mojolicious.spec
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
Name: perl-Mojolicious
|
||||||
|
Version: 9.39
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Real-time web framework
|
||||||
|
License: Artistic 2.0
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/Mojolicious/
|
||||||
|
Source0: http://www.cpan.org/authors/id/S/SR/SRI/Mojolicious-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl >= 0:5.016
|
||||||
|
BuildRequires: perl(ExtUtils::Manifest)
|
||||||
|
BuildRequires: perl(inc::Module::Install)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(IO::Socket::IP) >= 0.37
|
||||||
|
BuildRequires: perl(Sub::Util) >= 1.41
|
||||||
|
Requires: perl(IO::Socket::IP) >= 0.37
|
||||||
|
Requires: perl(Sub::Util) >= 1.41
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
An amazing real-time web framework built on top of the powerful Mojo web
|
||||||
|
development toolkit. With support for RESTful routes, plugins, commands,
|
||||||
|
Perl-ish templates, content negotiation, session management, form
|
||||||
|
validation, testing framework, static file server, CGI/PSGI detection,
|
||||||
|
first class Unicode support and much more for you to discover.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Mojolicious-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes LICENSE MANIFEST.bak META.json README.md
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Jan 21 2025 Koozali 9.39-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
x
Reference in New Issue
Block a user