rpms/perl-XML-Stream/devel LICENSING.correspondance, NONE, 1.1 perl-XML-Stream.spec, NONE, 1.1 tests.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Sat May 27 20:40:19 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-XML-Stream/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31752/devel

Modified Files:
	.cvsignore sources 
Added Files:
	LICENSING.correspondance perl-XML-Stream.spec tests.patch 
Log Message:
auto-import perl-XML-Stream-1.22-4.fc5 on branch devel from perl-XML-Stream-1.22-4.fc5.src.rpm


--- NEW FILE LICENSING.correspondance ---
The licensing for this module is interesting -- the documentation of the
module states that the license is Perl (aka GPL or Artistic), whereas the
files have LGPL headers and the tarball includes the text of the LGPL itself.

Given the author's response, my assessment is that this software is triple
licensed:  It may be used under the terms of the GPL, LGPL, or Artistic
license, at your option.

From: Ryan Eatmon <reatmon at jabber.org>  
To: Chris Weyl <cweyl at alumni.drew.edu>
Date: May 22, 2006 6:03 PM
Subject: Re: Net::XMPP license question

Whatever.  I don't actually care one way or the other.  Go right ahead.

Chris Weyl wrote:
> Sorry to keep on bugging you, but would it be OK for me to strip out
> the LGPL licensing statements?
>
> Or is this software triple licensed?  e.g. Perl (GPL or Artistic), LGPL?
>
> Thanks :)
>                                -Chris
>
> On 5/15/06, Chris Weyl <cweyl at alumni.drew.edu> wrote:
>> If this code isn't meant to also be licensed under the LGPL, would it
>> be ok with you for me to patch the LGPL statements out for the version
>> released under fedora extras?
>>
>>                            -Chris
>>
>> On 5/14/06, Ryan Eatmon <reatmon at jabber.org> wrote:
>> >
>> > Yep.
>> >
>> >
>> > Chris Weyl wrote:
>> > > Hey Ryan--
>> > >
>> > > Quick question.  I'm in the middle of packaging up Net::XMPP (and for
>> > > that matter, XML::Stream and Net::Jabber) for fedora extras, and it
>> > > was pointed out to me that while Net/XMPP.pm states "COPYRIGHT: This
>> > > module is free software, you can redistribute it and/or modify it
>> > > under the same terms as Perl itself", the actual archive includes a
>> > > LICENSE.LGPL.
>> > >
>> > > Are all three of these modules under "the same terms as Perl itself"?
>> > >
>> > > Thanks:)
>> > >                               -Chris
>> >
>> >
>> > --
>> > Ryan Eatmon
>> > reatmon at jabber.org
>> >
>>
>>
>> --
>> Chris Weyl
>> Ex astris, scientia
>>
>
>


--
Ryan Eatmon
reatmon at jabber.org



--- NEW FILE perl-XML-Stream.spec ---
# $Id$

Name:           perl-XML-Stream
Version:        1.22 
Release:        4%{?dist}
Summary:        XML::Stream - streaming XML library

Group:          Development/Libraries
License:        GPL or Artistic or LGPL
URL:            http://search.cpan.org/dist/XML-Stream/
Source0:        http://search.cpan.org/CPAN/authors/id/R/RE/REATMON/XML-Stream-%{version}.tar.gz 
Source1:        LICENSING.correspondance
Patch0:         tests.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch 
BuildRequires:  perl, perl(Authen::SASL), perl(MIME::Base64)
        
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module provides the user with methods to connect to a remote server, 
send a stream of XML to the server, and receive/parse an XML stream from 
the server.  It is primarily based work for the Etherx XML router 
developed by the Jabber Development Team.  For more information about this 
project visit http://etherx.jabber.org/stream/.  

XML::Stream gives the user the ability to define a central callback that 
will be used to handle the tags received from the server.  These tags are 
passed in the format defined at instantiation time.  the closing tag of an
object is seen, the tree is finished and passed to the call back function.  
What the user does with it from there is up to them.

For a detailed description of how this module works, and about the data 
structure that it returns, please view the source of Stream.pm and 
look at the detailed description at the end of the file.

%prep
%setup -q -n XML-Stream-%{version}
%patch0

cp %{SOURCE1} .

# generate our other two licenses...
perldoc perlgpl > LICENSE.GPL
perldoc perlartistic > LICENSE.Artistic

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
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}/*


#%check
# builders are (or may be) firewalled
#make test


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc CHANGES README INFO LICENSE.* LICENSING*
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*


%changelog
* Thu May 25 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.22-4
- include license text, including generated ones
- include correspondance with the module's author

* Wed May 24 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.22-3
- update license to triple licensed, based on conversations with upstream

* Mon May 15 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.22-2
- add CHANGES, README, INFO to docs

* Fri May 12 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.22-1
- first f-e spec.
- patched the tests to try to connect to the gtalk jabber servers, since the
  default one seemed to be "non-funct"
  

tests.patch:

--- NEW FILE tests.patch ---
--- t/tcpip2ssl.t.orig	2006-05-12 09:42:01.727128761 -0700
+++ t/tcpip2ssl.t	2006-05-12 09:42:33.223423261 -0700
@@ -15,7 +15,7 @@
     SKIP:
     {
 
-        my $status = $stream->Connect(hostname=>"obelisk.net",
+        my $status = $stream->Connect(hostname=>"talk.google.com",
                                       port=>5223,
                                       namespace=>"jabber:client",
                                       connectiontype=>"tcpip",


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-XML-Stream/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 May 2006 20:39:52 -0000	1.1
+++ .cvsignore	27 May 2006 20:40:19 -0000	1.2
@@ -0,0 +1 @@
+XML-Stream-1.22.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-XML-Stream/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 May 2006 20:39:52 -0000	1.1
+++ sources	27 May 2006 20:40:19 -0000	1.2
@@ -0,0 +1 @@
+ae09400fac17eaea4c9b12283db06881  XML-Stream-1.22.tar.gz




More information about the fedora-extras-commits mailing list