]> git.pld-linux.org Git - packages/perl-Net-Jabber.git/blame - perl-Net-Jabber.spec
- converted to UTF-8
[packages/perl-Net-Jabber.git] / perl-Net-Jabber.spec
CommitLineData
30de1a69
JB
1#
2# Conditional build:
3%bcond_with tests # perform "make test" (uses network!)
4#
2b7ae47a 5%include /usr/lib/rpm/macros.perl
5c417b80 6%define pdir Net
7%define pnam Jabber
30de1a69 8Summary: Net::Jabber Perl module - access to the Jabber protocol
49a65fad 9Summary(pl.UTF-8): Moduł Perla Net::Jabber - dostęp do protokołu Jabbera
6b4962b5 10Name: perl-Net-Jabber
4dc9ed09 11Version: 2.0
12Release: 1
6b4962b5
JK
13License: LGPL
14Group: Development/Languages/Perl
6f88a6b4 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
4dc9ed09 16# Source0-md5: 1fd348fb9a1a6c5a167ae862ed89cd53
d9882bbd 17BuildRequires: perl-devel >= 1:5.8.0
ac4d105a 18BuildRequires: perl-Digest-SHA1 >= 1.02
197f81f6 19BuildRequires: perl-XML-Stream >= 1.17
f4e10c10 20BuildRequires: rpm-perlprov >= 4.1-13
ac4d105a 21BuildArch: noarch
6b4962b5
JK
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
30de1a69
JB
25Net::Jabber is a collection of Perl modules that provide a Perl
26Developer access to the Jabber protocol. Using OOP modules they
27provide a clean interface to writing anything from a full client to a
28simple protocol tester.
6b4962b5 29
49a65fad
JR
30%description -l pl.UTF-8
31Net::Jabber to zbiór modułów Perla dających programiście perlowemu
32dostęp do protokołu Jabbera. Zorientowane obiektowo moduły dają czysty
33interfejs do pisania wszystkiego od pełnego klienta do prostego
34testera protokołu.
6b4962b5
JK
35
36%prep
2b7ae47a 37%setup -q -n %{pdir}-%{pnam}-%{version}
f36c4674 38%{__perl} -pi -e 's/^(use 5.006_)0(01;)(.*)$/$1$2$3/' Jabber/X.pm
6b4962b5
JK
39
40%build
f4e10c10 41echo -e "y\ny\ny\n" | perl Makefile.PL \
42 INSTALLDIRS=vendor
ac4d105a 43%{__make}
6b4962b5 44
30de1a69
JB
45%{?with_tests:%{__make} test}
46
6b4962b5
JK
47%install
48rm -rf $RPM_BUILD_ROOT
4fe55b9e 49install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
6b4962b5 50
cfc9db49 51%{__make} install \
52 UNINST=0 \
53 DESTDIR=$RPM_BUILD_ROOT
6b4962b5 54
6b4962b5
JK
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
eb233472 60%doc README CHANGES
f4e10c10 61%{perl_vendorlib}/Net/*
6b4962b5 62%{_mandir}/man3/*
This page took 0.06229 seconds and 4 git commands to generate.