]> git.pld-linux.org Git - packages/perl-Net-IDN-Encode.git/commitdiff
- new
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 31 May 2004 07:46:58 +0000 (07:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Net-IDN-Encode.spec -> 1.1

perl-Net-IDN-Encode.spec [new file with mode: 0644]

diff --git a/perl-Net-IDN-Encode.spec b/perl-Net-IDN-Encode.spec
new file mode 100644 (file)
index 0000000..22c980e
--- /dev/null
@@ -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/*
This page took 0.106792 seconds and 4 git commands to generate.