From 1cfe95e482ad473191be2e06bdd7bda65c8d3657 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:52:17 +0100 Subject: [PATCH] update to 1.104 [release 1.104-1mamba;Sun Apr 28 2013] --- README.md | 4 +++ perl-Unicode-Stringprep.spec | 63 ++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 perl-Unicode-Stringprep.spec diff --git a/README.md b/README.md index 7837448..77df579 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-Unicode-Stringprep +This module implements the stringprep framework for preparing Unicode text strings in order to increase the likelihood that string input and string comparison work in ways that make sense for typical users throughout the world. The stringprep protocol is useful for protocol identifier values, company and personal names, internationalized domain names, and other text strings. + +The stringprep framework does not specify how protocols should prepare text strings. Protocols must create profiles of stringprep in order to fully specify the processing options. + diff --git a/perl-Unicode-Stringprep.spec b/perl-Unicode-Stringprep.spec new file mode 100644 index 0000000..0756b11 --- /dev/null +++ b/perl-Unicode-Stringprep.spec @@ -0,0 +1,63 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Unicode-Stringprep +Version: 1.104 +Release: 1mamba +Summary: Unicode::Stringprep - Preparation of Internationalized Strings (RFC 3454) +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/Unicode-Stringprep-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module implements the stringprep framework for preparing Unicode text strings in order to increase the likelihood that string input and string comparison work in ways that make sense for typical users throughout the world. The stringprep protocol is useful for protocol identifier values, company and personal names, internationalized domain names, and other text strings. + +The stringprep framework does not specify how protocols should prepare text strings. Protocols must create profiles of stringprep in order to fully specify the processing options. + +%prep + +%setup -q -n Unicode-Stringprep-%{version} + +%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 +* Sun Apr 28 2013 Automatic Build System 1.104-1mamba +- update to 1.104 + +* Tue Nov 13 2012 Silvan Calarco 1.00-3mamba +- perl 5.16 mass rebuild + +* Wed Nov 05 2008 Silvan Calarco 1.00-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 1.00-1mamba +- package created by autospec