]> git.pld-linux.org Git - packages/perl-DBIx-DataSource.git/blob - perl-DBIx-DataSource.spec
0f671cb24bd007da34065d8c77198e2d67cebf0d
[packages/perl-DBIx-DataSource.git] / perl-DBIx-DataSource.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    DBIx
3 %define pnam    DataSource
4 Summary:        DBIx::DataSource - database-independent create and drop functions
5 Summary(pl):    DBIx::DataSource - niezale¿ne od bazy danych funkcje do tworzenia i usuwania
6 Name:           perl-%{pdir}-%{pnam}
7 Version:        0.02
8 Release:        3
9 # same as perl
10 License:        GPL v1+ or Artistic
11 Group:          Development/Languages/Perl
12 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5:  12d60ad75ceced40286d18fcdcb5a40b
14 BuildRequires:  perl-devel >= 5.6
15 BuildRequires:  rpm-perlprov >= 4.1-13
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This module implements create_database and drop_database functions for
21 databases.  It aims to provide a common interface to database creation
22 and deletion regardless of the actual database being used.
23
24 %description -l pl
25 Ten modu³ jest implementacj± funkcji create_database i drop_database
26 dla baz danych. Celem jego jest dostarczenie wspólnego interfejsu do
27 tworzenia i usuwania baz danych, niezale¿nego od u¿ywanej bazy.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make}
36 %{!?_without_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %{perl_vendorlib}/%{pdir}/*.pm
49 %{perl_vendorlib}/%{pdir}/%{pnam}
50 %{_mandir}/man3/*
This page took 0.02119 seconds and 2 git commands to generate.