]> git.pld-linux.org Git - packages/perl-Chatbot-Eliza.git/blob - perl-Chatbot-Eliza.spec
use generic url
[packages/perl-Chatbot-Eliza.git] / perl-Chatbot-Eliza.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Chatbot
6 %define         pnam    Eliza
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Chatbot::Eliza Perl module - a clone of the classic Eliza program
9 Summary(pl.UTF-8):      Moduł Perla Chatbot::Eliza - klon klasycznego programu Eliza
10 Name:           perl-Chatbot-Eliza
11 Version:        1.04
12 Release:        4
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  754199bbe591eaa11301aee108586fcd
18 URL:            http://search.cpan.org/dist/Chatbot-Eliza/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Chatbot::Eliza Perl module implements classic Eliza algorithm. The
26 original Eliza program was written by Joseph Weizenbaum and described
27 in the Communications of the ACM in 1966. Eliza is a mock Rogerian
28 psychotherapist. It prompts for user input, and uses a simple
29 transformation algorithm to change user input into a follow-up
30 question. The program is designed to give the appearance of
31 understanding.
32
33 %description -l pl.UTF-8
34 Moduł Perla Chatbot::Eliza stanowi implementację klasycznego algorytmu
35 Eliza. Oryginalny program Eliza został napisany przez Josepha
36 Weizenbauma i opisany w Communications of the ACM w 1966. Eliza jest
37 imitacją zabawnego psychoterapeuty. Prosi użytkownika o informacje i,
38 używając prostego algorytmu transformacyjnego, zmienia informacje
39 użytkownika w następne pytanie. Program zaprojektowano aby
40 zaprezentować rozumienie.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc README *txt twobots
64 %dir %{perl_vendorlib}/Chatbot
65 %{perl_vendorlib}/Chatbot/Eliza.pm
66 %{_mandir}/man3/*
This page took 0.094485 seconds and 3 git commands to generate.