]> git.pld-linux.org Git - packages/perl-Class-DBI-DATA-Schema.git/blame - perl-Class-DBI-DATA-Schema.spec
use generic url
[packages/perl-Class-DBI-DATA-Schema.git] / perl-Class-DBI-DATA-Schema.spec
CommitLineData
4af33557 1#
2# Conditional build:
955a0755 3%bcond_with tests # perform "make test"
fd90ffa8 4
4af33557 5%define pdir Class
6%define pnam DBI-DATA-Schema
fd90ffa8 7%include /usr/lib/rpm/macros.perl
baffdee8 8Summary: Class::DBI::DATA::Schema - execute Class::DBI SQL from DATA sections
50bda585 9Summary(pl.UTF-8): Class::DBI::DATA::Schema - wykonanie SQL-a w oparciu o Class::DBI z sekcji DATA
4af33557 10Name: perl-Class-DBI-DATA-Schema
9a2917e6 11Version: 1.00
955a0755 12Release: 4
4af33557 13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
9a2917e6 16# Source0-md5: fb5b44fefc7095dde22c752f43691f54
fd90ffa8 17URL: http://search.cpan.org/dist/Class-DBI-DATA-Schema/
4af33557 18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-Class-DBI >= 0.94
22BuildRequires: perl-Test-Simple >= 0.45
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
baffdee8 28This is an extension to Class::DBI which injects a method into your
29class to find and execute all SQL statements in the DATA section of
30the package.
4af33557 31
5a61cfb2
JR
32%description -l pl.UTF-8
33Ta klasa jest rozszerzeniem Class::DBI umieszczającym w dziedziczącej
34klasie metodę do znajdywania i wykonywania wszystkich instrukcji SQL-a
a2f488e4 35z sekcji DATA pakietu.
4af33557 36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make}
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes
c02221b4 59%dir %{perl_vendorlib}/Class/DBI/DATA
4af33557 60%{perl_vendorlib}/Class/DBI/DATA/*.pm
61%{_mandir}/man3/*
This page took 0.078588 seconds and 4 git commands to generate.