3 Summary: CGI::Lite - process and decode WWW forms and cookies
4 Summary(pl.UTF-8): CGI::Lite - przetwarzanie i dekodowanie forumularzy WWW i cookies
9 Group: Development/Languages/Perl
10 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5: fa91873a24a9c8ac78a204e49a7f367f
12 URL: http://search.cpan.org/dist/CGI-Lite/
13 BuildRequires: perl-devel >= 1:5.8.0
14 BuildRequires: rpm-perlprov >= 4.1-13
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 You can use this module to decode form and query information,
20 including file uploads, as well as cookies in a very simple manner;
21 you need not concern yourself with the actual details behind the
24 %description -l pl.UTF-8
25 Moduł ten służy modułu do dekodowania informacji z formularzy i
26 zapytań, włącznie z uploadem plików, a także cookies, w bardzo prosty
27 sposób; nie trzeba się przejmować detalami samego procesu dekodowania.
30 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} Makefile.PL \
36 find examples -type f | xargs -r perl -pi -e 's|/local/bin/perl\d*|/bin/perl|g'
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43 DESTDIR=$RPM_BUILD_ROOT
45 cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc CHANGES README TODO
53 %{perl_vendorlib}/CGI/Lite.pm
55 %{_examplesdir}/%{name}-%{version}