1 |
# $Id$ |
2 |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
4 |
|
5 |
Summary: Script to send messages using xmpp (aka jabber) |
6 |
Name: sendxmpp |
7 |
Version: 0.0.8 |
8 |
Release: 2%{?dist} |
9 |
Epoch: 0 |
10 |
License: GPL |
11 |
Group: Applications/Communications |
12 |
URL: http://www.djcbsoftware.nl/code/sendxmpp/ |
13 |
Source0: http://www.djcbsoftware.nl/code/sendxmpp/%{name}-%{version}.tar.gz |
14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
15 |
Requires: perl, perl-Net-XMPP |
16 |
BuildRequires: perl, perl-Net-XMPP |
17 |
BuildArch: noarch |
18 |
|
19 |
%description |
20 |
sendxmpp is a perl-script to send XMPP (jabber) messages, similar to |
21 |
what mail(1) does for mail. XMPP is an open, non-proprietary protocol |
22 |
for instant messaging. See www.jabber.org for more information. |
23 |
|
24 |
%prep |
25 |
%setup |
26 |
|
27 |
%build |
28 |
%{__perl} Makefile.PL \ |
29 |
INSTALLDIRS="vendor" \ |
30 |
PREFIX="%{buildroot}%{_prefix}" |
31 |
%{__make} %{?_smp_mflags} |
32 |
|
33 |
%install |
34 |
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && %{__rm} -rf $RPM_BUILD_ROOT |
35 |
%makeinstall |
36 |
### Clean up buildroot |
37 |
%{__rm} -rf %{buildroot}%{perl_archlib} \ |
38 |
%{buildroot}%{perl_vendorarch} |
39 |
|
40 |
%clean |
41 |
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && %{__rm} -rf $RPM_BUILD_ROOT |
42 |
|
43 |
%files |
44 |
%defattr(-,root,root,0755) |
45 |
%doc README Changes INSTALL |
46 |
%{_bindir}/* |
47 |
%doc %{_mandir}/*/* |
48 |
|
49 |
%changelog |
50 |
* Sun Dec 11 2005 RazorsEdge Packaging <rpmpackaging@razorsedge.org> 0.0.8-2 |
51 |
- Rebuilt in new build system. |
52 |
|
53 |
* Sat Jun 25 2005 RazorsEdge Packaging <rpmpackaging@razorsedge.org> 0.0.8-1 |
54 |
- Initial package. |
55 |
|