Author: qboosh Date: Fri Jun 1 17:34:35 2012 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/perl-Net-IDN-IDNA2003: perl-Net-IDN-IDNA2003.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/perl-Net-IDN-IDNA2003/perl-Net-IDN-IDNA2003.spec diff -u /dev/null packages/perl-Net-IDN-IDNA2003/perl-Net-IDN-IDNA2003.spec:1.1 --- /dev/null Fri Jun 1 19:34:35 2012 +++ packages/perl-Net-IDN-IDNA2003/perl-Net-IDN-IDNA2003.spec Fri Jun 1 19:34:30 2012 @@ -0,0 +1,79 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%define pdir Net +%define pnam IDN-IDNA2003 +%include /usr/lib/rpm/macros.perl +Summary: Net::IDN::IDNA2003 - Internationalizing Domain Names in Applications (2003) (RFC 3490) +Summary(pl.UTF-8): Net::IDN::IDNA2003 - międzynarodowe nazwy domen (IDN) w aplikacjach (2003) (RFC 3490) +Name: perl-Net-IDN-IDNA2003 +Version: 1.000 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: ff14b5276766205910942741aef387f1 +URL: http://search.cpan.org/dist/Net-IDN-IDNA2003/ +BuildRequires: perl-Module-Build +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Net-IDN-Encode >= 1 +BuildRequires: perl-Net-IDN-Nameprep >= 1.100 +BuildRequires: perl-Test-NoWarnings +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module implements the original IDNA standard defined in RFC 3490 +and related documents (IDNA2003). You should use this module if you +want an exact implementation of the original IDNA specification. + +However, if you just want to convert domain names and don't care which +standard is used internally, you should use Net::IDN::Encode instead. + +%description -l pl.UTF-8 +Ten moduł implementuje oryginalny standard IDNA zdefiniowany w RFC 3490 +i powiązanych dokumentach (IDNA2003). Należy go używać, jeśli +potrzebujemy dokładnej implementacji oryginalnej specyfikacji IDNA. + +Jeśli jednak chcemy konwertować nazwy domen bez zwracania uwagi na +używany wewnętrznie standard, należy używać Net::IDN::Encode. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Build.PL \ + destdir=$RPM_BUILD_ROOT \ + installdirs=vendor +./Build + +%{?with_tests:./Build test} + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/Net/IDN/IDNA2003.pm +%{_mandir}/man3/Net::IDN::IDNA2003.3pm* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2012/06/01 17:34:30 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
