]> git.pld-linux.org Git - packages/perl-DBIx-DataSource.git/blob - perl-DBIx-DataSource.spec
- use the __perl macro
[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-independant 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:        2
9 License:        GPL/Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  perl >= 5.6
13 BuildRequires:  rpm-perlprov >= 3.0.3-26
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This module implements create_database and drop_database functions for
19 databases.  It aims to provide a common interface to database creation
20 and deletion regardless of the actual database being used.
21
22 %description -l pl
23 Ten modu³ jest implementacj± funkcji create_database i drop_database
24 dla baz danych. Celem jego jest dostarczenie wspólnego interfejsu do
25 tworzenia i usuwania baz danych, niezale¿nego od u¿ywanej bazy.
26
27 %prep
28 %setup -q -n %{pdir}-%{pnam}-%{version}
29
30 %build
31 %{__perl} Makefile.PL
32 %{__make}
33 %{!?_without_tests:%{__make} test}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %{perl_sitelib}/%{pdir}/*.pm
46 %{perl_sitelib}/%{pdir}/%{pnam}
47 %{_mandir}/man3/*
This page took 0.054501 seconds and 4 git commands to generate.