From 4c2f8bd1045112fd571be46481d3e1e0973fad5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Mon, 31 May 2004 07:46:58 +0000 Subject: [PATCH 1/1] - new Changed files: perl-Net-IDN-Encode.spec -> 1.1 --- perl-Net-IDN-Encode.spec | 59 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 perl-Net-IDN-Encode.spec diff --git a/perl-Net-IDN-Encode.spec b/perl-Net-IDN-Encode.spec new file mode 100644 index 0000000..22c980e --- /dev/null +++ b/perl-Net-IDN-Encode.spec @@ -0,0 +1,59 @@ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Net +%define pnam IDN-Encode +Summary: Encoding/Decoding of Internationalized Domain Names (IDNs +Summary(pl): Kodowanie/dekodowanie miêdzynarodowych nazw domenowych (IDN) +Name: perl-%{pdir}-%{pnam} +Version: 0.01 +Release: 1 +# "same as perl" +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 4c6ab56c32ea13278c22f96dcd63399f +URL: http://search.cpan.org/dist/Net-IDN-Encode/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _noautoreq 'perl(v5.6.0)' + +%description +The "Net::IDN::Encode" module provides an easy-to-use interface for +Internationalized Domain Names (IDNs). + +%description -l pl +Modu³ Net::IDN::Encode dostarcza ³atwego w u¿yciu interfejsu do +obs³ugi Miêdzynarodowych Nazw Domenowych (Internationalized Domain +Names [IDNs]). + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor + +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/Net/IDN/Encode.pm +%{_mandir}/man3/* -- 2.44.0