1 %include /usr/lib/rpm/macros.perl
4 Summary: DBIx-Recordset perl module
5 Summary(pl): Modu³ perla DBIx-Recordset
6 Name: perl-DBIx-Recordset
10 Group: Development/Languages/Perl
11 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5: 76835b342ac63d731a4eb9529613ee99
13 BuildRequires: perl-devel >= 5
14 BuildRequires: rpm-perlprov >= 4.1-13
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 DBIx::Recordset is a perl module for abstraction and simplification of
23 The goal is to make standard database access (select/insert/update/delete)
24 easier to handle and independend of the underlying DBMS. Special attention
25 is made on web applications to make it possible to handle the state-less
26 access and to process the posted data of formfields, but DBIx::Recordset
27 is not limited to web applications.
30 DBIx::Recordset jest modu³em perla, umo¿liwiaj±cym ³atwy dostêp do baz
31 danych na wy¿szym, ni¿ oferowany przez modu³ DBI poziomie abstrakcji.
33 Celem jest uproszczenie typowych (odczyt/zapis/nadpisanie/usuniêcie)
34 operacji na bazie danych, oraz uniezale¿nienie ich od stosowanego DBMS.
35 Szczególn± uwagê po¶wiêcono umo¿liwieniu aplikacjom internetowym
36 obs³ugi bezstanowego dostêpu i przetwarzania danych z formularzy, ale
37 DBIx::Recordset nie jest ograniczony do WWW.
40 %setup -q -n %{pdir}-%{pnam}-%{version}
41 # Strip out broken-by-design test preparation code; tests requires
42 # configured RDBMS anyway. I have tested it locally, it works; it's
43 # noarch, so tests are needless.
44 /usr/bin/perl -ni -e 'print unless 11...197' Makefile.PL
47 %{__perl} Makefile.PL < /dev/null \
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57 mv -f eg/README README.eg
59 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
60 install eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc Changes README TODO README.eg
68 %{perl_vendorlib}/DBIx/*.pm
69 %dir %{perl_vendorlib}/DBIx/Recordset
70 %{perl_vendorlib}/DBIx/Recordset/*.pm
72 %{_examplesdir}/%{name}-%{version}