]> git.pld-linux.org Git - packages/perl-DBIx-Recordset.git/blob - perl-DBIx-Recordset.spec
- mass commit: cosmetics (removed trailing white spaces)
[packages/perl-DBIx-Recordset.git] / perl-DBIx-Recordset.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    DBIx
3 %define pnam    Recordset
4 Summary:        DBIx-Recordset perl module
5 Summary(pl):    Modu³ perla DBIx-Recordset
6 Name:           perl-DBIx-Recordset
7 Version:        0.24
8 Release:        2
9 License:        GPL/Artistic
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
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18
19 %description
20 DBIx::Recordset is a perl module for abstraction and simplification of
21 database access.
22
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.
28
29 %description -l pl
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.
32
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.
38
39 %prep
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
45
46 %build
47 %{__perl} Makefile.PL < /dev/null \
48         INSTALLDIRS=vendor
49 %{__make}
50 #%%{__make} test
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install DESTDIR=$RPM_BUILD_ROOT
56
57 mv -f eg/README README.eg
58
59 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
60 install eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
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
71 %{_mandir}/man3/*
72 %{_examplesdir}/%{name}-%{version}
This page took 0.628698 seconds and 3 git commands to generate.