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