#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir DBIx
%define pnam Recordset
+%include /usr/lib/rpm/macros.perl
Summary: DBIx::Recordset - abstraction and simplification of database access
Summary(pl.UTF-8): DBIx::Recordset - abstrakcja i uproszczenie dostępu do bazy danych
Name: perl-DBIx-Recordset
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: fe008ad93b76ac0dea487f0c014842ee
+URL: http://search.cpan.org/dist/DBIx-Recordset/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
The goal is to make standard database access
(select/insert/update/delete) easier to handle and independend of the
-underlying DBMS. Special attention is made on web applications to
-make it possible to handle the state-less access and to process the
-posted data of formfields, but DBIx::Recordset is not limited to web
+underlying DBMS. Special attention is made on web applications to make
+it possible to handle the state-less access and to process the posted
+data of formfields, but DBIx::Recordset is not limited to web
applications.
%description -l pl.UTF-8
mv -f eg/README README.eg
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT