]> git.pld-linux.org Git - packages/perl-WWW-Chat.git/blame - perl-WWW-Chat.spec
use generic url
[packages/perl-WWW-Chat.git] / perl-WWW-Chat.spec
CommitLineData
1c3266d3 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
bbebd1b5 4
23c8cd25 5%define pdir WWW
6%define pnam webchat
bbebd1b5 7%include /usr/lib/rpm/macros.perl
d7f43f45 8Summary: WWW::Chat Perl modules - processing web chat scripts
e843b21a 9Summary(pl.UTF-8): Moduły Perla WWW::Chat - przetwarzanie skryptów chata
871b6615
JB
10Name: perl-WWW-Chat
11Version: 0.64
99e2edee 12Release: 4
1c3266d3 13# same as perl
14License: GPL v1+ or Artistic
871b6615 15Group: Development/Languages/Perl
0f41a655 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
fdcfddcb 17# Source0-md5: 1b8ebf6aa942dfd1c79ce6dff7bae134
bbebd1b5 18URL: http://search.cpan.org/dist/webchat/
871b6615
JB
19BuildRequires: perl-Data-Dump >= 0.01
20BuildRequires: perl-HTML-Parser >= 2.21
21BuildRequires: perl-URI >= 1.00
bbebd1b5 22BuildRequires: perl-devel >= 1:5.8.0
871b6615 23BuildRequires: perl-libwww >= 5.47
8dce4fd2 24BuildRequires: rpm-perlprov >= 4.1-13
871b6615
JB
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29This package contains the 'webchatpp' program, with its support
30modules WWW::Chat and WWW::Chat::Processor.
31
32The 'webchatpp' program is a preprocessor that turns chat scripts into
33plain perl scripts using libwww-perl. When the script created by
34webchatpp is feed to perl it will perform the chatting. Chat scripts
35are useful for setting up test suites for web applications or just to
36automate dialogues with web applications.
37
7f3f6b11
JR
38%description -l pl.UTF-8
39Ten pakiet zawiera program webchatpp wraz z modułami pomocniczymi
871b6615
JB
40WWW::Chat i WWW::Chat::Processor.
41
7f3f6b11
JR
42webchatpp jest preprocesorem tłumaczącym skrypty chata na zwykłe
43skrypty Perla używające modułów libwww. Utworzony skrypt jest
bbebd1b5
ER
44przekazywany do Perla, który przeprowadza dialog. Skrypty chata są
45przydatne do tworzenia testów aplikacji WWW lub automatyzacji dialogów
46z aplikacjami WWW.
871b6615
JB
47
48%prep
49%setup -q -n %{pnam}-%{version}
50
51%build
8dce4fd2 52%{__perl} Makefile.PL \
83f9746b 53 INSTALLDIRS=vendor
871b6615
JB
54%{__make}
55
1c3266d3 56%{?with_tests:%{__make} test}
57
871b6615
JB
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
69%doc Changes README manual_test.pl
70%attr(755,root,root) %{_bindir}/*
8dce4fd2 71%{perl_vendorlib}/WWW/Chat.pm
72%{perl_vendorlib}/WWW/Chat
871b6615 73%{_mandir}/man[13]/*
This page took 0.091485 seconds and 4 git commands to generate.