3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: WWW::Chat Perl modules - processing web chat scripts
9 Summary(pl.UTF-8): Moduły Perla WWW::Chat - przetwarzanie skryptów chata
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
17 # Source0-md5: 1b8ebf6aa942dfd1c79ce6dff7bae134
18 URL: http://search.cpan.org/dist/webchat/
19 BuildRequires: perl-Data-Dump >= 0.01
20 BuildRequires: perl-HTML-Parser >= 2.21
21 BuildRequires: perl-URI >= 1.00
22 BuildRequires: perl-devel >= 1:5.8.0
23 BuildRequires: perl-libwww >= 5.47
24 BuildRequires: rpm-perlprov >= 4.1-13
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This package contains the 'webchatpp' program, with its support
30 modules WWW::Chat and WWW::Chat::Processor.
32 The 'webchatpp' program is a preprocessor that turns chat scripts into
33 plain perl scripts using libwww-perl. When the script created by
34 webchatpp is feed to perl it will perform the chatting. Chat scripts
35 are useful for setting up test suites for web applications or just to
36 automate dialogues with web applications.
38 %description -l pl.UTF-8
39 Ten pakiet zawiera program webchatpp wraz z modułami pomocniczymi
40 WWW::Chat i WWW::Chat::Processor.
42 webchatpp jest preprocesorem tłumaczącym skrypty chata na zwykłe
43 skrypty Perla używające modułów libwww. Utworzony skrypt jest
44 przekazywany do Perla, który przeprowadza dialog. Skrypty chata są
45 przydatne do tworzenia testów aplikacji WWW lub automatyzacji dialogów
49 %setup -q -n %{pnam}-%{version}
52 %{__perl} Makefile.PL \
56 %{?with_tests:%{__make} test}
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc Changes README manual_test.pl
70 %attr(755,root,root) %{_bindir}/*
71 %{perl_vendorlib}/WWW/Chat.pm
72 %{perl_vendorlib}/WWW/Chat