forked from pool/perl-Net-XMPP
Compare commits
12 Commits
4dda2e6f9d
...
471bbf946f
Author | SHA256 | Date | |
---|---|---|---|
471bbf946f | |||
6ac427eae3 | |||
|
239ff774a8 | ||
|
10495859bf | ||
|
3b1380f185 | ||
|
47fae0767d | ||
|
3c4dcb6fb5 | ||
|
aac4b0bebd | ||
|
b25f498fd2 | ||
|
d73e528377 | ||
|
52e27b5aaa | ||
|
2ece98b870 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fc73077c7c4903b8ab82b3244e2b19c28a338f1b8ada3a4e465d2eab83ad3fdf
|
|
||||||
size 79563
|
|
3
Net-XMPP-1.05.tar.gz
Normal file
3
Net-XMPP-1.05.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4c02200577c2b235a163a09bfaa152bf000fe5f1499ad80ce16ab66808949362
|
||||||
|
size 103876
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: -
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
custom_test: |-
|
||||||
|
rm t/gtalk.t # skip tests that need network
|
||||||
|
./Build test
|
@@ -1,3 +1,82 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 12 10:37:06 UTC 2016 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- skip tests that need network
|
||||||
|
- add cpanspec.yml
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 15 14:47:31 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.05
|
||||||
|
see /usr/share/doc/packages/perl-Net-XMPP/CHANGES
|
||||||
|
|
||||||
|
1.05 2014-12-22
|
||||||
|
====
|
||||||
|
- Update CHANGES file
|
||||||
|
|
||||||
|
1.04 2014-12-22
|
||||||
|
====
|
||||||
|
- Increase XML::Stream dependency to 1.24
|
||||||
|
|
||||||
|
1.03 2014-12-22
|
||||||
|
====
|
||||||
|
- Roll-up of all 1.02_* changes
|
||||||
|
- Update bug tracker location
|
||||||
|
- RT#94649 use Digest::SHA (from Debian package maintainers)
|
||||||
|
- RT#94650 spelling corrections (from Debian package maintainers)
|
||||||
|
|
||||||
|
1.02_05 2014-12-17
|
||||||
|
====
|
||||||
|
- Correct incorrectly tagged 1.02_04 (errantly tagged as 1.23_04)
|
||||||
|
- Remove extraneous tag 1.02_1 (1.02_01 points to the same content)
|
||||||
|
|
||||||
|
1.02_04 2011-07-19
|
||||||
|
===
|
||||||
|
- Remove outdated Test::More/Test::Builder (szabgab)
|
||||||
|
- Address more memory leaks in Net::XMPP::Connection, Net::XMPP::Protocol and Net::XMPP::Roster (szabgab)
|
||||||
|
- Fix crash connecting to Google Talk (szabgab)
|
||||||
|
- Add Google Talk-specific test (szabgab)
|
||||||
|
- Add memory leak tests (szabgab)
|
||||||
|
- Correct behavior of Net::XMPP::Debug when level >= 0 (szabgab)
|
||||||
|
- Correct documentation with regard to debug settings (szabgab)
|
||||||
|
- Correct required version of Perl (szabgab)
|
||||||
|
- Removed specific XML::Stream version require (szabgab)
|
||||||
|
|
||||||
|
1.02_03 2011-06-23
|
||||||
|
===
|
||||||
|
- RT#61611 Correct comparison operator
|
||||||
|
- Fixed memory leak in Net::XMPP::Connection (szabgab)
|
||||||
|
- RT#52549 unindented POD so that it reformats properly (szabgab)
|
||||||
|
- Replace indirect object notation with direct invocation notation (szabgab)
|
||||||
|
|
||||||
|
1.02_02 2010-09-24
|
||||||
|
===
|
||||||
|
- Increase XML::Stream dependency to 1.23_04
|
||||||
|
|
||||||
|
1.02_01 2010-09-22
|
||||||
|
===
|
||||||
|
- New maintainer: DAPATRICK
|
||||||
|
- RT#15736 Replace print statements to debug logging
|
||||||
|
- RT#51156 Correct typo in documentation
|
||||||
|
- RT#54521 Note dependency on XML::Stream 1.23
|
||||||
|
- RT#37129, RT#18539 Support for virtual domains
|
||||||
|
- RT#57887 Use each required module explicitly
|
||||||
|
- RT#61453 Pass ssl_verify and ssl_ca_path
|
||||||
|
- RT#61453 Improve undef/null ssl param handling
|
||||||
|
- RT#61144 Appropriately handle non-object jid
|
||||||
|
- RT#37030 Clarify license as LGPL 2.1
|
||||||
|
- RT#58333 Check definedness of hash key before use
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 18 11:10:22 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- use original .tar.gz
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 1 09:44:36 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- switch to perl_requires macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 25 14:31:13 UTC 2010 - chris@computersalat.de
|
Sun Jul 25 14:31:13 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Net-XMPP (Version 1.02)
|
# spec file for package perl-Net-XMPP
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,66 +15,68 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Net-XMPP
|
Name: perl-Net-XMPP
|
||||||
|
Version: 1.05
|
||||||
|
Release: 0
|
||||||
%define cpan_name Net-XMPP
|
%define cpan_name Net-XMPP
|
||||||
Summary: XMPP Perl Library
|
Summary: XMPP Perl Library
|
||||||
Version: 1.02
|
License: LGPL-2.1+
|
||||||
Release: 124
|
|
||||||
License: LGPLv2+
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Net-XMPP/
|
Url: http://search.cpan.org/dist/Net-XMPP/
|
||||||
#Source: http://www.cpan.org/modules/by-module/Net/Net-XMPP-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/D/DA/DAPATRICK/%{cpan_name}-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Module::Build)
|
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
BuildRequires: perl(Authen::SASL) >= 2.12
|
||||||
BuildRequires: perl(Digest::SHA1) >= 1.02
|
BuildRequires: perl(Digest::SHA)
|
||||||
BuildRequires: perl(XML::Stream) >= 1.22
|
BuildRequires: perl(LWP::Online) >= 1.07
|
||||||
#
|
BuildRequires: perl(Module::Build) >= 0.360300
|
||||||
Requires: perl = %{perl_version}
|
BuildRequires: perl(Test::More) >= 0.92
|
||||||
Requires: perl(Digest::SHA1) >= 1.02
|
BuildRequires: perl(XML::Stream) >= 1.24
|
||||||
Requires: perl(XML::Stream) >= 1.22
|
BuildRequires: perl(YAML::Tiny) >= 1.41
|
||||||
|
Requires: perl(Authen::SASL) >= 2.12
|
||||||
|
Requires: perl(Digest::SHA)
|
||||||
|
Requires: perl(XML::Stream) >= 1.24
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Net::XMPP is a convenient tool to use for any perl script that would
|
Net::XMPP is a convenient tool to use for any perl script that would like
|
||||||
like to utilize the XMPP Instant Messaging protocol. While not a
|
to utilize the XMPP Instant Messaging protocol. While not a client in and
|
||||||
client in and of itself, it provides all of the necessary back-end
|
of itself, it provides all of the necessary back-end functions to make a
|
||||||
functions to make a CGI client or command-line perl client feasible and
|
CGI client or command-line perl client feasible and easy to use. Net::XMPP
|
||||||
easy to use. Net::XMPP is a wrapper around the rest of the official
|
is a wrapper around the rest of the official Net::XMPP::xxxxxx packages.
|
||||||
Net::XMPP::xxxxxx packages.
|
|
||||||
|
|
||||||
Authors:
|
There is are example scripts in the example directory that provide you with
|
||||||
--------
|
examples of very simple XMPP programs.
|
||||||
Ryan Eatmon <reatmon@jabber.org>
|
|
||||||
|
NOTE: The parser that the XML::Stream::Parser manpage provides, as are most
|
||||||
|
Perl parsers, is synchronous. If you are in the middle of parsing a packet
|
||||||
|
and call a user defined callback, the Parser is blocked until your callback
|
||||||
|
finishes. This means you cannot be operating on a packet, send out another
|
||||||
|
packet and wait for a response to that packet. It will never get to you.
|
||||||
|
Threading might solve this, but as of this writing threading in Perl is not
|
||||||
|
quite up to par yet. This issue will be revisted in the future.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
#rpmlint: wrong-file-end-of-line-encoding
|
|
||||||
%{__perl} -p -i -e "s|\r\n|\n|" stderr
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
rm t/gtalk.t # skip tests that need network
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc CHANGES examples LICENSE.LGPL README stderr
|
%doc CHANGES examples LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user