]> git.pld-linux.org Git - SPECS.git/blob - perl-DBIx-DBSchema.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / perl-DBIx-DBSchema.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    DBIx
6 %define         pnam    DBSchema
7 Summary:        DBIx::DBSchema - Database-independent schema objects
8 Summary(pl.UTF-8):      DBIx::DBSchema - obiekty schematów niezależne od bazy danych
9 Name:           perl-DBIx-DBSchema
10 Version:        0.45
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/DBIx/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  45f2d5c134fd3f74afa378c8e33bc65f
17 URL:            http://search.cpan.org/dist/DBIx-DBSchema/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _noautoreq      'perl(DBD::Oracle)'
24
25 %description
26 DBIx::DBSchema - Database-independent schema objects.
27
28 %description -l pl.UTF-8
29 DBIx::DBSchema - obiekty schematów niezależne od bazy danych.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38 %{?with_tests:%{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %{perl_vendorlib}/DBIx/DBSchema.pm
52 %{perl_vendorlib}/DBIx/DBSchema
53 %{_mandir}/man3/*
This page took 0.65847 seconds and 3 git commands to generate.