3 %bcond_without tests # do not perform "make test"
7 Summary: DBIx::Librarian - manage SQL in repository outside code
8 Summary(pl.UTF-8): DBIx::Librarian - zarządzanie SQL w repozytorium poza kodem
9 Name: perl-DBIx-Librarian
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 8da6b1d5a28ec8bbbd32c89bff942a5d
17 URL: http://search.cpan.org/dist/DBIx-Librarian/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Class-Virtual
22 BuildRequires: perl-DBI
23 BuildRequires: perl-Data-Library
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This is for data manipulation (SELECT, INSERT, UPDATE, DELETE), not
30 for data definition (CREATE, DROP, ALTER). Some DDL statements may
31 work inside this module, but correct behavior is not guaranteed.
33 %description -l pl.UTF-8
34 Ten moduł służy do operacji na danych (SELECT, INSERT, UPDATE,
35 DELETE), ale nie do definiowania danych (CREATE, DROP, ALTER).
36 Niektóre wyrażenia DDL mogą działać wewnątrz tego modułu, ale
37 prawidłowe zachowanie nie jest gwarantowane.
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %{perl_vendorlib}/%{pdir}/*.pm
61 %{perl_vendorlib}/%{pdir}/%{pnam}