Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37562370
en ru br
Репозитории ALT
5.1: 0.5-alt1
4.1: 0.4-alt0.M41.1
www.altlinux.org/Changes

Группа :: Разработка/Ruby
Пакет: ruby-xmpp4r

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# vim: set ft=spec: -*- rpm-spec -*-

%define pkgname xmpp4r

Name: ruby-%pkgname
Version: 0.5
Release: alt1

Summary: XMPP/Jabber library for Ruby
Group: Development/Ruby
License: GPLv2/Ruby
Url: http://home.gna.org/xmpp4r/

Packager: Ruby Maintainers Team <ruby at packages.altlinux.org>

BuildArch: noarch

Source: %pkgname-%version.tar
Patch: %pkgname-%version-%release.patch

Obsoletes: xmpp4r

# Automatically added by buildreq on Mon Sep 01 2008 (-bi)

BuildRequires: rpm-build-ruby ruby-test-unit ruby-tool-rdoc ruby-tool-setup

%description
XMPP4R is an XMPP/Jabber library for Ruby. Its goal is to provide
a complete framework to develop Jabber-related applications or
scripts in Ruby.

* Fully object-oriented
* Aims at being XMPP compliant
* Threaded, events-based
* Well unit-tested and documented code
* Uses well-known and well-tested software like REXML, instead
  of reinventing the wheel
* Very easy to extend

%package doc
Summary: Documentation files for %name
Group: Documentation

%description doc
Documentation files for %name

%prep
%setup -n %pkgname-%version
%patch -p1
%update_setup_rb

%build
%ruby_config
%ruby_build
# These tests use threads and dies silently on setup
rm -f test/tc_stream.rb
rm -f test/tc_streamComponent.rb
rm -f test/bytestreams/tc_ibb.rb
rm -f test/bytestreams/tc_socks5bytestreams.rb
rm -f test/caps/tc_helper.rb
rm -f test/discovery/tc_responder.rb
rm -f test/last/tc_helper.rb
rm -f test/muc/tc_muc_mucclient.rb
rm -f test/muc/tc_muc_simplemucclient.rb
rm -f test/pubsub/tc_helper.rb
rm -f test/pubsub/tc_nodeconfig.rb
rm -f test/pubsub/tc_subscriptionconfig.rb
rm -f test/roster/tc_helper.rb
rm -f test/rpc/tc_helper.rb
rm -f test/tune/tc_helper_recv.rb
rm -f test/tune/tc_helper_send.rb
rm -f test/vcard/tc_helper.rb
rm -f test/version/tc_helper.rb
# Can't test them all at once because of "Errno::EADDRINUSE: Address already in use - bind(2)"
for t in test/tc*.rb test/*/tc*.rb; do
%ruby_test_unit -Ilib:test/lib "$t"
done

%install
%ruby_install
%rdoc lib/

%files
%doc CHANGELOG README.rdoc
%ruby_sitelibdir/*

%files doc
%doc data/doc/xmpp4r/examples
%ruby_ri_sitedir/Jabber*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin