-%include /usr/lib/rpm/macros.perl
%define pdir CGI
%define pnam Lite
+%include /usr/lib/rpm/macros.perl
Summary: CGI::Lite - process and decode WWW forms and cookies
Summary(pl.UTF-8): CGI::Lite - przetwarzanie i dekodowanie forumularzy WWW i cookies
Name: perl-CGI-Lite
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: fa91873a24a9c8ac78a204e49a7f367f
-BuildRequires: rpm-perlprov >= 4.1-13
+URL: http://search.cpan.org/dist/CGI-Lite/
BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-You can use this module to decode form and query information, including
-file uploads, as well as cookies in a very simple manner; you need not
-concern yourself with the actual details behind the decoding process.
+You can use this module to decode form and query information,
+including file uploads, as well as cookies in a very simple manner;
+you need not concern yourself with the actual details behind the
+decoding process.
%description -l pl.UTF-8
Moduł ten służy modułu do dekodowania informacji z formularzy i
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT