8
0
forked from pool/perl-Net-XMPP

Compare commits

...

12 Commits

Author SHA256 Message Date
471bbf946f Accepting request 353920 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/353920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-XMPP?expand=0&rev=21
2016-01-21 22:42:39 +00:00
6ac427eae3 Accepting request 353639 from home:bmwiedemann:branches:devel:languages:perl
- skip tests that need network
- add cpanspec.yml

OBS-URL: https://build.opensuse.org/request/show/353639
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-XMPP?expand=0&rev=19
2016-01-15 19:47:12 +00:00
Stephan Kulow
239ff774a8 Accepting request 296918 from devel:languages:perl:autoupdate
update to be fixed manually

OBS-URL: https://build.opensuse.org/request/show/296918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-XMPP?expand=0&rev=18
2015-04-16 12:10:58 +00:00
Stephan Kulow
10495859bf replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-XMPP?expand=0&rev=16
2011-12-06 17:45:31 +00:00
Stephan Kulow
3b1380f185 Accepting request 92335 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-XMPP?expand=0&rev=15
2011-11-21 11:44:04 +00:00
Stephan Kulow
47fae0767d use original .tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-XMPP?expand=0&rev=15
2011-11-18 11:45:04 +00:00
Stephan Kulow
3c4dcb6fb5 use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-XMPP?expand=0&rev=14
2011-11-17 15:42:43 +00:00
Stephan Kulow
aac4b0bebd OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-XMPP?expand=0&rev=12 2011-11-11 11:21:02 +00:00
Lars Vogdt
b25f498fd2 Autobuild autoformatter for 54616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-XMPP?expand=0&rev=12
2010-12-05 21:09:51 +00:00
Lars Vogdt
d73e528377 Accepting request 54616 from devel:languages:perl
Accepted submit request 54616 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-XMPP?expand=0&rev=11
2010-12-05 21:09:42 +00:00
Stephan Kulow
52e27b5aaa always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-XMPP?expand=0&rev=10
2010-12-03 14:45:04 +00:00
Stephan Kulow
2ece98b870 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-XMPP?expand=0&rev=9
2010-12-01 09:45:57 +00:00
5 changed files with 143 additions and 39 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c02200577c2b235a163a09bfaa152bf000fe5f1499ad80ce16ab66808949362
size 103876

23
cpanspec.yml Normal file
View 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

View File

@@ -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

View File

@@ -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
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,66 +15,68 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Net-XMPP
Version: 1.05
Release: 0
%define cpan_name Net-XMPP
Summary: XMPP Perl Library
Version: 1.02
Release: 124
License: LGPLv2+
License: LGPL-2.1+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Net-XMPP/
#Source: http://www.cpan.org/modules/by-module/Net/Net-XMPP-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
Source0: http://www.cpan.org/authors/id/D/DA/DAPATRICK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Digest::SHA1) >= 1.02
BuildRequires: perl(XML::Stream) >= 1.22
#
Requires: perl = %{perl_version}
Requires: perl(Digest::SHA1) >= 1.02
Requires: perl(XML::Stream) >= 1.22
BuildRequires: perl(Authen::SASL) >= 2.12
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(LWP::Online) >= 1.07
BuildRequires: perl(Module::Build) >= 0.360300
BuildRequires: perl(Test::More) >= 0.92
BuildRequires: perl(XML::Stream) >= 1.24
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
Net::XMPP is a convenient tool to use for any perl script that would
like to utilize the XMPP Instant Messaging protocol. While not a
client in and of itself, it provides all of the necessary back-end
functions to make a CGI client or command-line perl client feasible and
easy to use. Net::XMPP is a wrapper around the rest of the official
Net::XMPP::xxxxxx packages.
Net::XMPP is a convenient tool to use for any perl script that would like
to utilize the XMPP Instant Messaging protocol. While not a client in and
of itself, it provides all of the necessary back-end functions to make a
CGI client or command-line perl client feasible and easy to use. Net::XMPP
is a wrapper around the rest of the official Net::XMPP::xxxxxx packages.
Authors:
--------
Ryan Eatmon <reatmon@jabber.org>
There is are example scripts in the example directory that provide you with
examples of very simple XMPP programs.
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
%setup -q -n %{cpan_name}-%{version}
#rpmlint: wrong-file-end-of-line-encoding
%{__perl} -p -i -e "s|\r\n|\n|" stderr
%build
%{__perl} Build.PL installdirs=vendor
./Build
./Build build flags=%{?_smp_mflags}
%check
rm t/gtalk.t # skip tests that need network
./Build test
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc CHANGES examples LICENSE.LGPL README stderr
%defattr(-,root,root,755)
%doc CHANGES examples LICENSE README
%changelog