]> git.pld-linux.org Git - packages/perl-DBIx-DataSource.git/blob - perl-DBIx-DataSource.spec
- mass commit: cosmetics (removed trailing white spaces)
[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:        3
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 # Source0-md5:  12d60ad75ceced40286d18fcdcb5a40b
13 BuildRequires:  perl-devel >= 5.6
14 BuildRequires:  rpm-perlprov >= 4.1-13
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This module implements create_database and drop_database functions for
20 databases.  It aims to provide a common interface to database creation
21 and deletion regardless of the actual database being used.
22
23 %description -l pl
24 Ten modu³ jest implementacj± funkcji create_database i drop_database
25 dla baz danych. Celem jego jest dostarczenie wspólnego interfejsu do
26 tworzenia i usuwania baz danych, niezale¿nego od u¿ywanej bazy.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make}
35 %{!?_without_tests:%{__make} test}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %{perl_vendorlib}/%{pdir}/*.pm
48 %{perl_vendorlib}/%{pdir}/%{pnam}
49 %{_mandir}/man3/*
This page took 0.069704 seconds and 4 git commands to generate.