]> git.pld-linux.org Git - packages/perl-DBIx-DataLookup.git/commitdiff
- new, STBR perl-DBIx-DataLookup-0_03-1
authorradek <radek@pld-linux.org>
Fri, 9 Aug 2002 00:35:56 +0000 (00:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-DBIx-DataLookup.spec -> 1.1

perl-DBIx-DataLookup.spec [new file with mode: 0644]

diff --git a/perl-DBIx-DataLookup.spec b/perl-DBIx-DataLookup.spec
new file mode 100644 (file)
index 0000000..fd79e9c
--- /dev/null
@@ -0,0 +1,48 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    DBIx
+%define        pnam    DataLookup
+Summary:       DataLookup - Perl extension for database view lookup table.
+#Summary(pl):  
+Name:          perl-DBIx-DataLookup
+Version:       0.03
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Remotely similar to DBIx::Cache but is very simpler and serves narrower
+purpose.  This module allows you to both cache records pulled by an SQL
+statement from a database in the memory as well as look them up later
+at any time during execution of your script.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}/%{pnam}
+
+%build
+perl -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"DBIx::DataLookup")'
+%{__make}
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/%{pdir}/*.pm
+%{_mandir}/man3/*
This page took 0.066656 seconds and 4 git commands to generate.