]> git.pld-linux.org Git - packages/perl-DBIx-DataLookup.git/blame - perl-DBIx-DataLookup.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-DBIx-DataLookup.git] / perl-DBIx-DataLookup.spec
CommitLineData
7d109517 1#
2# Conditional build:
eaf83122 3%bcond_without tests # Do not perform "make test"
c21589ce 4
8c0943ff 5%define pdir DBIx
6%define pnam DataLookup
a260d7f7 7Summary: DataLookup - Perl extension for database view lookup table
b81e8825 8Summary(pl.UTF-8): DataLookup - rozszerzenie Perla do przeglądania widoków baz danych
7d109517 9Name: perl-DBIx-DataLookup
10Version: 0.03
131b7d95 11Release: 5
8e2f9cf7 12License: GPL v1+ or Artistic
7d109517 13Group: Development/Languages/Perl
d8f8b37e 14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
601e803a 15# Source0-md5: fe4102aa940282b3fe731d37149b73dc
c21589ce 16URL: http://search.cpan.org/dist/DBIx-DataLookup/
29d00ee9 17BuildRequires: perl-devel >= 1:5.8.0
bc04b40c 18BuildRequires: rpm-perlprov >= 4.1-13
7d109517 19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
a260d7f7
JB
23Remotely similar to DBIx::Cache but is very simpler and serves
24narrower purpose. This module allows you to both cache records pulled
25by an SQL statement from a database in the memory as well as look them
26up later at any time during execution of your script.
7d109517 27
2f451b7d
JR
28%description -l pl.UTF-8
29Ten moduł zewnętrznie jest podobny do DBIx::Cache, ale jest prostszy i
30ma węższy zakres zastosowań. Pozwala na pamiętanie w pamięci rekordów
31wyciągniętych z bazy przez wyrażenia SQL, a także przeglądanie ich
32później w dowolnej chwili.
7d109517 33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}/%{pnam}
36
37%build
bc04b40c 38%{__perl} -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"DBIx::DataLookup")' \
39 INSTALLDIRS=vendor
7d109517 40%{__make}
a260d7f7 41
eaf83122 42%{?with_tests:%{__make} test}
7d109517 43
44%install
45rm -rf $RPM_BUILD_ROOT
46
6aff1dab 47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
7d109517 49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
bc04b40c 55%{perl_vendorlib}/%{pdir}/*.pm
7d109517 56%{_mandir}/man3/*
This page took 0.100471 seconds and 4 git commands to generate.