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