Name: perl-Net-Jabber Version: 2.0 Release: 38%{?dist} Summary: Net::Jabber - Jabber Perl Library License: (GPL+ or Artistic) or LGPLv2+ URL: https://metacpan.org/release/Net-Jabber Source0: https://cpan.metacpan.org/authors/id/R/RE/REATMON/Net-Jabber-%{version}.tar.gz Source1: LICENSING.correspondance Patch0: Net-Jabber-2.0-timezone.patch BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Net::XMPP) >= 1.0 BuildRequires: perl(Net::XMPP::Client) BuildRequires: perl(Net::XMPP::Connection) BuildRequires: perl(Net::XMPP::Debug) BuildRequires: perl(Net::XMPP::IQ) BuildRequires: perl(Net::XMPP::JID) BuildRequires: perl(Net::XMPP::Message) BuildRequires: perl(Net::XMPP::Namespaces) BuildRequires: perl(Net::XMPP::Presence) BuildRequires: perl(Net::XMPP::Stanza) BuildRequires: perl(Test::More) BuildRequires: perl(Time::Timezone) # file requires for prep BuildRequires: %{_bindir}/perldoc Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Time::Timezone) %description Net::Jabber provides a Perl user with access to the Jabber Instant Messaging protocol. For more information about Jabber visit: http://www.jabber.org %prep %setup -q -n Net-Jabber-%{version} %patch0 -p1 cp %{SOURCE1} . # generate our other two licenses... perldoc perlgpl > LICENSE.GPL perldoc perlartistic > LICENSE.Artistic # we really don't want executable examples... chmod -x examples/* %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w %{buildroot}/* # fix wonky execute permissions find %{buildroot} -type f -exec chmod -x '{}' ';' %check # Disable tests which will fail under mock rm t/protocol_definenamespace.t rm t/protocol_muc.t rm t/protocol_rpc.t make test %files %doc CHANGES README examples LICENSE.* LICENSING.* %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Jul 26 2019 Fedora Release Engineering - 2.0-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 2.0-37 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 2.0-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.0-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 2.0-34 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 2.0-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.0-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 2.0-31 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.0-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 2.0-29 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.0-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 2.0-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 2.0-26 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 2.0-25 - Perl 5.20 rebuild * Thu Jun 12 2014 Petr Šabata - 2.0-24 - Patch the testuite so it won't fail with timezones which include spaces in their abbreviations (#1108698) * Sat Jun 07 2014 Fedora Release Engineering - 2.0-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 2.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 24 2013 Petr Pisar - 2.0-21 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 2.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 15 2012 Petr Pisar - 2.0-18 - Perl 5.16 rebuild * Mon Jan 16 2012 Petr Šabata - 2.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Spec cleanup, build fix * Tue Jul 19 2011 Petr Sabata - 2.0-16 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 2.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova - 2.0-14 - 661697 rebuild for fixing problems with vendorach/lib * Tue May 04 2010 Marcela Maslanova - 2.0-13 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 2.0-12 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 2.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Aug 28 2008 Tom "spot" Callaway 2.0-9 - fix license tag (technically, it was correct before, but this change prevents rpmlint from flagging it as bad in a false positive) * Thu Feb 07 2008 Tom "spot" Callaway 2.0-8 - rebuild for new perl * Tue Oct 16 2007 Tom "spot" Callaway 2.0-7.1 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Thu Aug 31 2006 Chris Weyl 2.0-7 - bump for mass rebuild * Mon Jul 10 2006 Chris Weyl 2.0-6 - release bump to make fc5->fc6 reports happy :) * Tue May 30 2006 Chris Weyl 2.0-5 - disable tests which will fail under mock - remove execute bits from files which shouldn't have them - include additional buildreq of perl(Time::Timezone) - also include perl(Time::Timezone) as a requires, as it provides optional functionality and is not picked up by the autoreq/prov scripts. * Thu May 25 2006 Chris Weyl 2.0-4 - include license text, including generated ones - include correspondance with the module's author * Wed May 24 2006 Chris Weyl 2.0-3 - update license to triple licensed, based on conversations with upstream * Mon May 15 2006 Chris Weyl 2.0-2 - add additional files as docs * Fri May 12 2006 Chris Weyl 2.0-1 - first f-e spec