]> git.pld-linux.org Git - packages/perl-Chatbot-Eliza.git/blobdiff - perl-Chatbot-Eliza.spec
- mass commit: cosmetics (removed trailing white spaces)
[packages/perl-Chatbot-Eliza.git] / perl-Chatbot-Eliza.spec
index eeaf55d8d33197e01770ce3d5875d272510aca74..3d15a616df7451f39177134e2659343296249507 100644 (file)
@@ -4,27 +4,29 @@
 Summary:       Eliza perl module
 Summary(pl):   Modu³ perla Eliza
 Name:          perl-Chatbot-Eliza
-Version:       0.97
-Release:       5
+Version:       1.04
+Release:       2
 License:       GPL
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.6
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 754199bbe591eaa11301aee108586fcd
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl-devel >= 5.6
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Chatbot-Eliza module - classic Eliza algorithm.
+Chatbot::Eliza module - classic Eliza algorithm.
 
 %description -l pl
-Modu³ Chatbot-Eliza - klasyczny algorytm Eliza.
+Modu³ Chatbot::Eliza - klasyczny algorytm Eliza.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
 
 %install
@@ -32,14 +34,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README *txt
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz twobots
-%dir %{perl_sitelib}/Chatbot
-%{perl_sitelib}/Chatbot/Eliza.pm
+%doc README *txt twobots
+%dir %{perl_vendorlib}/Chatbot
+%{perl_vendorlib}/Chatbot/Eliza.pm
 %{_mandir}/man3/*
This page took 0.067027 seconds and 4 git commands to generate.