[perl-Net-IDN-Encode: 2/9] Initial package for Fedora
Mathieu Bridon
bochecha at fedoraproject.org
Mon Jan 21 04:34:49 UTC 2013
commit ddd6f73d29a62c329c1154c4caeee037568541a2
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Wed Jan 2 08:59:17 2013 +0800
Initial package for Fedora
This was submitted on Wed Jan 02 2013:
https://bugzilla.redhat.com/show_bug.cgi?id=891139#c0
perl-Net-IDN-Encode.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/perl-Net-IDN-Encode.spec b/perl-Net-IDN-Encode.spec
new file mode 100644
index 0000000..557e4ae
--- /dev/null
+++ b/perl-Net-IDN-Encode.spec
@@ -0,0 +1,53 @@
+Name: perl-Net-IDN-Encode
+Summary: Internationalizing Domain Names in Applications (IDNA)
+Version: 2.003
+Release: 1%{?dist}
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Net-IDN-Encode/
+Source0: http://www.cpan.org/authors/id/C/CF/CFAERBER/Net-IDN-Encode-%{version}.tar.gz
+
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::NoWarnings)
+
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module provides an easy-to-use interface for encoding and decoding
+Internationalized Domain Names (IDNs).
+
+
+%prep
+%setup -q -n Net-IDN-Encode-%{version}
+
+
+%build
+%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
+./Build
+
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} %{buildroot}/*
+
+
+%check
+./Build test
+
+
+%files
+%doc Changes eg LICENSE README
+%{perl_vendorarch}/auto/Net
+%{perl_vendorarch}/Net
+%{_mandir}/man3/Net::IDN::*.3pm*
+
+
+%changelog
+* Wed Jan 02 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 2.003-1
+- Initial package for Fedora, with help from cpanspec.
More information about the scm-commits
mailing list