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