Chris Weyl f466821
Name:           perl-Net-Jabber
Chris Weyl f466821
Version:        2.0 
312db85
Release:        19%{?dist}
Chris Weyl f466821
Summary:        Net::Jabber - Jabber Perl Library
Chris Weyl f466821
Group:          Development/Libraries
eea8adc
License:        (GPL+ or Artistic) or LGPLv2+
Chris Weyl f466821
URL:            http://search.cpan.org/dist/Net-Jabber/
Chris Weyl f466821
Source0: http://search.cpan.org/CPAN/authors/id/R/RE/REATMON/Net-Jabber-%{version}.tar.gz 
Chris Weyl f466821
Source1:        LICENSING.correspondance
Chris Weyl f466821
BuildArch:      noarch
Petr Šabata aef25bb
BuildRequires:  perl(base)
Petr Šabata aef25bb
BuildRequires:  perl(Carp)
5b69eeb
BuildRequires:  perl(ExtUtils::MakeMaker)
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP) >= 1.0
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP::Client)
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP::Connection)
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP::Debug)
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP::IQ)
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP::JID)
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP::Message)
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP::Namespaces)
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP::Presence)
Petr Šabata aef25bb
BuildRequires:  perl(Net::XMPP::Stanza)
Petr Šabata aef25bb
BuildRequires:  perl(Test::More)
Petr Šabata aef25bb
BuildRequires:  perl(Time::Timezone)
Petr Šabata aef25bb
# file requires for prep
Petr Šabata aef25bb
BuildRequires:  %{_bindir}/perldoc
Chris Weyl f466821
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Petr Šabata aef25bb
Requires:  perl(Time::Timezone)
Chris Weyl f466821
Chris Weyl f466821
%description
Chris Weyl f466821
Net::Jabber provides a Perl user with access to the Jabber Instant
Chris Weyl f466821
Messaging protocol.
Chris Weyl f466821
Chris Weyl f466821
For more information about Jabber visit:
Chris Weyl f466821
Chris Weyl f466821
    http://www.jabber.org
Chris Weyl f466821
Chris Weyl f466821
%prep
Chris Weyl f466821
%setup -q -n Net-Jabber-%{version}
Chris Weyl f466821
cp %{SOURCE1} .
Chris Weyl f466821
# generate our other two licenses...
Chris Weyl f466821
perldoc perlgpl > LICENSE.GPL
Chris Weyl f466821
perldoc perlartistic > LICENSE.Artistic
Chris Weyl f466821
# we really don't want executable examples...
Chris Weyl f466821
chmod -x examples/*
Chris Weyl f466821
Chris Weyl f466821
%build
Chris Weyl f466821
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
Chris Weyl f466821
make %{?_smp_mflags}
Chris Weyl f466821
Chris Weyl f466821
%install
Chris Weyl f466821
make pure_install PERL_INSTALL_ROOT=%{buildroot}
Chris Weyl f466821
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
Chris Weyl f466821
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
Chris Weyl f466821
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
Chris Weyl f466821
chmod -R u+w %{buildroot}/*
Chris Weyl f466821
# fix wonky execute permissions
Chris Weyl f466821
find %{buildroot} -type f -exec chmod -x '{}' ';'
Chris Weyl f466821
Chris Weyl f466821
%check
Chris Weyl f466821
# Disable tests which will fail under mock
Chris Weyl f466821
rm t/protocol_definenamespace.t
Chris Weyl f466821
rm t/protocol_muc.t
Chris Weyl f466821
rm t/protocol_rpc.t
Chris Weyl f466821
make test
Chris Weyl f466821
Chris Weyl f466821
%files
Chris Weyl f466821
%doc CHANGES README examples LICENSE.* LICENSING.*
Chris Weyl f466821
%{perl_vendorlib}/*
Chris Weyl f466821
%{_mandir}/man3/*.3*
Chris Weyl f466821
Chris Weyl f466821
%changelog
312db85
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-19
312db85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
312db85
2e3c0cd
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 2.0-18
2e3c0cd
- Perl 5.16 rebuild
2e3c0cd
Petr Šabata aef25bb
* Mon Jan 16 2012 Petr Ĺ abata <psabata@redhat.com> - 2.0-17
6e883b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Petr Šabata aef25bb
- Spec cleanup, build fix
6e883b0
Petr Sabata 2b4879f
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 2.0-16
Petr Sabata 2b4879f
- Perl mass rebuild
Petr Sabata 2b4879f
ae6a020
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-15
ae6a020
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ae6a020
aca6211
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.0-14
aca6211
- 661697 rebuild for fixing problems with vendorach/lib
aca6211
e3e01ca
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.0-13
e3e01ca
- Mass rebuild with perl-5.12.0
e3e01ca
a171a9b
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.0-12
a171a9b
- rebuild against perl 5.10.1
a171a9b
e800689
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-11
e800689
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e800689
c34f44e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-10
c34f44e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c34f44e
eea8adc
* Thu Aug 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0-9
eea8adc
- fix license tag (technically, it was correct before, but this change prevents
eea8adc
  rpmlint from flagging it as bad in a false positive)
eea8adc
71dcd46
* Thu Feb 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0-8
71dcd46
- rebuild for new perl
71dcd46
5b69eeb
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.0-7.1
5b69eeb
- correct license tag
5b69eeb
- add BR: perl(ExtUtils::MakeMaker)
5b69eeb
Chris Weyl c9d9b52
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 2.0-7
Chris Weyl c9d9b52
- bump for mass rebuild
Chris Weyl c9d9b52
Chris Weyl 579d5e8
* Mon Jul 10 2006 Chris Weyl <cweyl@alumni.drew.edu> 2.0-6
Chris Weyl 579d5e8
- release bump to make fc5->fc6 reports happy :)
Chris Weyl 579d5e8
Chris Weyl f466821
* Tue May 30 2006 Chris Weyl <cweyl@alumni.drew.edu> 2.0-5
Chris Weyl f466821
- disable tests which will fail under mock
Chris Weyl f466821
- remove execute bits from files which shouldn't have them
Chris Weyl f466821
- include additional buildreq of perl(Time::Timezone)
Chris Weyl f466821
- also include perl(Time::Timezone) as a requires, as it provides optional
Chris Weyl f466821
  functionality and is not picked up by the autoreq/prov scripts.
Chris Weyl f466821
Chris Weyl f466821
* Thu May 25 2006 Chris Weyl <cweyl@alumni.drew.edu> 2.0-4
Chris Weyl f466821
- include license text, including generated ones
Chris Weyl f466821
- include correspondance with the module's author
Chris Weyl f466821
Chris Weyl f466821
* Wed May 24 2006 Chris Weyl <cweyl@alumni.drew.edu> 2.0-3
Chris Weyl f466821
- update license to triple licensed, based on conversations with upstream
Chris Weyl f466821
Chris Weyl f466821
* Mon May 15 2006 Chris Weyl 2.0-2
Chris Weyl f466821
- add additional files as docs
Chris Weyl f466821
Chris Weyl f466821
* Fri May 12 2006 Chris Weyl 2.0-1
Chris Weyl f466821
- first f-e spec
Chris Weyl f466821