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