initial create of smeserver perl Net::IDN::Encode on Tue Jan 21 20:08:08 AEDT 2025

This commit is contained in:
Trevor Batley 2025-01-21 20:08:08 +11:00
parent 1be6ca3b08
commit e17e8a33ad
7 changed files with 105 additions and 2 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
# Makefile for source rpm: perl-Net-IDN-Encode
# $Id: Makefile,v 1.1 2016/02/04 12:24:52 vip-ire Exp $
NAME := perl-Net-IDN-Encode
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
Net-IDN-Encode-2.500.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,21 @@
# perl-Net-IDN-Encode
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> perl-Net-IDN-Encode (Net::IDN::Encode)
3rd Party (Maintained by Koozali) git repo for perl-Net-IDN-Encode smeserver
SMEServer Koozali local git repo for perl-Net-IDN-Encode
## Documentation
https://metacpan.org/pod/Net::IDN::Encode
## Bugs
CPAN bug report are [here](https://rt.cpan.org/Public/Dist/Display.html?Name=Net-IDN-Encode)
Show list of Koozali outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=perl-Net-IDN-Encode&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
This module provides an easy-to-use interface for encoding and decoding
Internationalized Domain Names (IDNs).
This package provides debug information for package perl-Net-IDN-Encode.
Debug information is useful when developing applications that use this
package or when debugging this package.
This package provides debug sources for package perl-Net-IDN-Encode.
Debug sources are useful when developing applications that use this
package or when debugging this package.

1
contriborbase Normal file
View File

@ -0,0 +1 @@
sme11

56
perl-Net-IDN-Encode.spec Normal file
View File

@ -0,0 +1,56 @@
Name: perl-Net-IDN-Encode
Version: 2.500
Release: 1%{?dist}
Summary: Internationalizing Domain Names in Applications (IDNA)
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-IDN-Encode/
Source0: http://www.cpan.org/authors/id/C/CF/CFAERBER/Net-IDN-Encode-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl >= 0:5.008005
BuildRequires: perl(ExtUtils::Manifest)
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Unicode::Normalize)
Requires: perl(Unicode::Normalize)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module provides an easy-to-use interface for encoding and decoding
Internationalized Domain Names (IDNs).
%prep
%setup -q -n Net-IDN-Encode-%{version}
%build
%{__perl} Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS"
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes eg LICENSE META.json README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Net*
%{_mandir}/man3/*
%changelog
* Tue Jan 21 2025 Koozali 2.500-1
- Specfile autogenerated by cpanspec 1.78.