]> git.pld-linux.org Git - packages/embperl.git/blobdiff - embperl.spec
- updated to last stable version 1.3.6
[packages/embperl.git] / embperl.spec
index a026d90a205ba50628b48f55c0a0dfeb7234c533..af71ad54d521176ec82914d0f4af42013e8955b7 100644 (file)
@@ -2,22 +2,24 @@
 Summary:       Embedded perl - building dynamic Websites with Perl
 Summary(pl):   Osadzony perl - budowanie dynamicznych stron przy u¿yciu Perla
 Name:          embperl
-Version:       1.3.3
-Release:       3
+Version:       1.3.6
+Release:       1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-%{version}.tar.gz
+# Source0-md5: b360a0f9ba5d5e35f6426c81dd91933d
 Patch0:                %{name}-makefile.patch
-BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: apache-devel
 BuildRequires: apache-mod_perl
 BuildRequires: apache-mod_actions
+BuildRequires: apache-mod_dir
 BuildRequires: perl-devel
 BuildRequires: perl(Apache::Session)
 BuildRequires: perl(CGI)
 BuildRequires: perl(HTML::HeadParser)
 BuildRequires: perl(LWP::UserAgent)
 BuildRequires: perl(File::Spec)
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,12 +42,15 @@ wszystkie dost
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make} CFLAGS="%{rpmcflags}"
+cp eg/README README.examples
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_examplesdir}
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_docdir}/eg
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 cp -a eg $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
@@ -54,7 +59,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README TODO eg/README
+%doc README TODO README.examples
 %attr(755,root,root) %{_bindir}/*.pl
 %{perl_vendorarch}/HTML/Embperl*
 %dir %{perl_vendorarch}/auto/HTML/Embperl
This page took 0.100998 seconds and 4 git commands to generate.