From a023894c04439f872e3577655d6de1b24f97f02f Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:24:08 +0100 Subject: [PATCH] automatic rebuild by autodist [release 0.99-3mamba;Thu Aug 29 2013] --- README.md | 2 ++ perl-Net-IDN-Encode.spec | 61 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 perl-Net-IDN-Encode.spec diff --git a/README.md b/README.md index 6266fa2..627f96c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Net-IDN-Encode +The "Net::IDN::Encode" module provides an easy-to-use interface for Internationalized Domain Names (IDNs). + diff --git a/perl-Net-IDN-Encode.spec b/perl-Net-IDN-Encode.spec new file mode 100644 index 0000000..93ed058 --- /dev/null +++ b/perl-Net-IDN-Encode.spec @@ -0,0 +1,61 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Net-IDN-Encode +Version: 0.99 +Release: 3mamba +Summary: Net::IDN::Encode - Encoding/Decoding of Internationalized Domain Names (IDNs). +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/Net-IDN-Encode-%{version}_20080919.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +BuildRequires: perl-Unicode-Stringprep +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The "Net::IDN::Encode" module provides an easy-to-use interface for Internationalized Domain Names (IDNs). + +%prep + +%setup -q -n Net-IDN-Encode-%{version}_20080919 + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Thu Aug 29 2013 Automatic Build System 0.99-3mamba +- automatic rebuild by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.99-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 0.99-1mamba +- package created by autospec