File sendxmpp.spec of Package sendxmpp

#
# spec file for package sendxmpp
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           sendxmpp
Version:        1.22
Release:        1
Summary:        A perl-script to send xmpp, similar to what mail does for mail
Group:          Productivity/Networking/Talk/Clients
License:        GPL-2.0
Url:            http://sendxmpp.platon.sk
Source0:        %{name}-%{version}.tar.bz2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
Requires:       perl(Net::XMPP)
%perl_requires

%description
sendxmpp is a perl-script to send xmpp (jabber), similar to 
what mail(1) does for mail.

%prep
%setup -qn %{name}

%build
%{__perl} Makefile.PL
make %{?_smp_mflags}

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.files
%defattr(-,root,root,-)

%changelog