|
|
b01110 |
%global pkgname Net-LibIDN
|
|
|
b01110 |
|
|
|
b01110 |
Summary: Perl bindings for GNU LibIDN
|
|
|
b01110 |
Name: perl-Net-LibIDN
|
|
|
b01110 |
Version: 0.12
|
|
|
cf8f79 |
Release: 15%{?dist}
|
|
|
b01110 |
License: GPL+ or Artistic
|
|
|
b01110 |
Group: Development/Libraries
|
|
|
b01110 |
URL: http://search.cpan.org/dist/%{pkgname}/
|
|
|
b01110 |
Source: http://search.cpan.org/CPAN/authors/id/T/TH/THOR/%{pkgname}-%{version}.tar.gz
|
|
|
b01110 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
b01110 |
BuildRequires: libidn-devel >= 0.4.0
|
|
|
b01110 |
BuildRequires: perl >= 5.8.0
|
|
|
b01110 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
b01110 |
BuildRequires: perl(Getopt::Long)
|
|
|
b01110 |
# Run-time:
|
|
|
b01110 |
BuildRequires: perl(AutoLoader)
|
|
|
b01110 |
BuildRequires: perl(Carp)
|
|
|
b01110 |
BuildRequires: perl(Exporter)
|
|
|
b01110 |
# Tests:
|
|
|
b01110 |
BuildRequires: perl(Test)
|
|
|
b01110 |
|
|
|
b01110 |
# Filter the Perl extension module
|
|
|
b01110 |
%{?perl_default_filter}
|
|
|
b01110 |
|
|
|
b01110 |
%description
|
|
|
b01110 |
Provides perl bindings for GNU Libidn, a C library for handling
|
|
|
b01110 |
Internationalized Domain Names according to IDNA (RFC 3490), in
|
|
|
b01110 |
a way very much inspired by Turbo Fredriksson's PHP-IDN.
|
|
|
b01110 |
|
|
|
b01110 |
%prep
|
|
|
b01110 |
%setup -q -n %{pkgname}-%{version}
|
|
|
b01110 |
# Change man page encoding into UTF-8
|
|
|
b01110 |
for F in _LibIDN.pm; do
|
|
|
b01110 |
iconv -f latin1 -t utf-8 < "$F" > "${F}.utf"
|
|
|
b01110 |
sed -i -e '/^=encoding\s/ s/latin1/utf-8/' "${F}.utf"
|
|
|
b01110 |
touch -r "$F" "${F}.utf"
|
|
|
b01110 |
mv "${F}.utf" "$F"
|
|
|
b01110 |
done;
|
|
|
b01110 |
|
|
|
b01110 |
%build
|
|
|
b01110 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
b01110 |
make %{?_smp_mflags}
|
|
|
b01110 |
|
|
|
b01110 |
%install
|
|
|
b01110 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
b01110 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} +
|
|
|
b01110 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} +
|
|
|
b01110 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
b01110 |
|
|
|
b01110 |
%check
|
|
|
b01110 |
make test
|
|
|
b01110 |
|
|
|
b01110 |
%files
|
|
|
b01110 |
%doc Artistic Changes README
|
|
|
b01110 |
%{_mandir}/man3/*.3pm*
|
|
|
b01110 |
%{perl_vendorarch}/Net
|
|
|
b01110 |
%{perl_vendorarch}/auto/Net
|
|
|
b01110 |
|
|
|
b01110 |
%changelog
|
|
|
cf8f79 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.12-15
|
|
|
cf8f79 |
- Mass rebuild 2014-01-24
|
|
|
cf8f79 |
|
|
|
cf8f79 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.12-14
|
|
|
cf8f79 |
- Mass rebuild 2013-12-27
|
|
|
cf8f79 |
|
|
|
b01110 |
* Tue Nov 27 2012 Petr Pisar <ppisar@redhat.com> - 0.12-13
|
|
|
b01110 |
- Modernize spec file
|
|
|
b01110 |
|
|
|
b01110 |
* Mon Aug 13 2012 Petr Pisar <ppisar@redhat.com> - 0.12-12
|
|
|
b01110 |
- Build-require Carp
|
|
|
b01110 |
|
|
|
b01110 |
* Mon Aug 13 2012 Petr Pisar <ppisar@redhat.com> - 0.12-11
|
|
|
b01110 |
- Specify all dependencies
|
|
|
b01110 |
|
|
|
b01110 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-10
|
|
|
b01110 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b01110 |
|
|
|
b01110 |
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 0.12-9
|
|
|
b01110 |
- Perl 5.16 rebuild
|
|
|
b01110 |
|
|
|
b01110 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-8
|
|
|
b01110 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
b01110 |
|
|
|
b01110 |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.12-7
|
|
|
b01110 |
- Perl mass rebuild
|
|
|
b01110 |
|
|
|
b01110 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-6
|
|
|
b01110 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
b01110 |
|
|
|
b01110 |
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.12-5
|
|
|
b01110 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
b01110 |
|
|
|
b01110 |
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.12-4
|
|
|
b01110 |
- Mass rebuild with perl-5.12.0
|
|
|
b01110 |
|
|
|
b01110 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.12-3
|
|
|
b01110 |
- rebuild against perl 5.10.1
|
|
|
b01110 |
|
|
|
b01110 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
|
|
|
b01110 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b01110 |
|
|
|
b01110 |
* Sun May 03 2009 Robert Scheck <robert@fedoraproject.org> 0.12-1
|
|
|
b01110 |
- Upgrade to 0.12
|
|
|
b01110 |
|
|
|
b01110 |
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 0.11-2
|
|
|
b01110 |
- Rebuilt against gcc 4.4 and rpm 4.6
|
|
|
b01110 |
|
|
|
b01110 |
* Sun Jan 25 2009 Robert Scheck <robert@fedoraproject.org> 0.11-1
|
|
|
b01110 |
- Upgrade to 0.11
|
|
|
b01110 |
|
|
|
b01110 |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-2
|
|
|
b01110 |
- Rebuild for new perl
|
|
|
b01110 |
|
|
|
b01110 |
* Sun Feb 10 2008 Robert Scheck <robert@fedoraproject.org> 0.10-1
|
|
|
b01110 |
- Upgrade to 0.10
|
|
|
b01110 |
|
|
|
b01110 |
* Wed Aug 29 2007 Robert Scheck <robert@fedoraproject.org> 0.09-4
|
|
|
b01110 |
- Updated the license tag according to the guidelines
|
|
|
b01110 |
|
|
|
b01110 |
* Mon May 07 2007 Robert Scheck <robert@fedoraproject.org> 0.09-3
|
|
|
b01110 |
- Rebuild
|
|
|
b01110 |
|
|
|
b01110 |
* Thu Apr 26 2007 Robert Scheck <robert@fedoraproject.org> 0.09-2
|
|
|
b01110 |
- Added build requirement to perl(ExtUtils::MakeMaker)
|
|
|
b01110 |
|
|
|
b01110 |
* Sun Sep 03 2006 Robert Scheck <robert@fedoraproject.org> 0.09-1
|
|
|
b01110 |
- Upgrade to 0.0.9 and rebuild for Fedora Core 6
|
|
|
b01110 |
|
|
|
b01110 |
* Fri Jun 23 2006 Robert Scheck <robert@fedoraproject.org> 0.08-5
|
|
|
b01110 |
- Changes to match with Fedora Packaging Guidelines (#193960)
|
|
|
b01110 |
|
|
|
b01110 |
* Sun Dec 25 2005 Robert Scheck <robert@fedoraproject.org> 0.08-4
|
|
|
b01110 |
- Rebuilt against gcc 4.1 and libidn 0.6.0
|
|
|
b01110 |
|
|
|
b01110 |
* Fri Apr 01 2005 Robert Scheck <robert@fedoraproject.org> 0.08-3
|
|
|
b01110 |
- Some spec file cleanup
|
|
|
b01110 |
|
|
|
b01110 |
* Mon Mar 14 2005 Robert Scheck <robert@fedoraproject.org> 0.08-2
|
|
|
b01110 |
- Rebuilt against gcc 4.0
|
|
|
b01110 |
|
|
|
b01110 |
* Thu Jan 20 2005 Robert Scheck <robert@fedoraproject.org> 0.08-1
|
|
|
b01110 |
- Upgrade to 0.0.8
|
|
|
b01110 |
|
|
|
b01110 |
* Sun Oct 03 2004 Robert Scheck <robert@fedoraproject.org> 0.07-2
|
|
|
b01110 |
- Use perl(:MODULE_COMPAT_*) as requirement for perl
|
|
|
b01110 |
- Lots of spec file cleanups
|
|
|
b01110 |
|
|
|
b01110 |
* Mon May 24 2004 Robert Scheck <robert@fedoraproject.org> 0.07-1
|
|
|
b01110 |
- Upgrade to 0.0.7
|
|
|
b01110 |
|
|
|
b01110 |
* Mon Apr 05 2004 Robert Scheck <robert@fedoraproject.org> 0.06-1
|
|
|
b01110 |
- Upgrade to 0.0.6
|
|
|
b01110 |
- Initial spec file for Red Hat Linux and Fedora Core
|