]> git.pld-linux.org Git - packages/perl-DBD-Pg.git/blob - perl-DBD-Pg.spec
- mass commit: cosmetics (removed trailing white spaces)
[packages/perl-DBD-Pg.git] / perl-DBD-Pg.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    DBD
7 %define pnam    Pg
8 Summary:        A PostgresSQL interface for Perl
9 Summary(cs):    PostgresSQL rozhraní pro Perl
10 Summary(da):    Et PostgreSQL-grænseflade for Perl
11 Summary(de):    Ein PostgreSQL-Interface für Perl
12 Summary(es):    Interfaz PostgresSQL para Perl
13 Summary(fr):    Interface PostgresSQL pour Perl
14 Summary(it):    Interfaccia PostgreSQL per Perl
15 Summary(ja):    Perl ¤Î PostgreSQL ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹
16 Summary(ko):    ÆÞÀ» À§ÇÑ PostgresSQL ÀÎÅÍÆäÀ̽º
17 Summary(no):    Et PostgreSQL-grensesnitt for Perl
18 Summary(pl):    Perlowy interfejs do PostgresSQLa
19 Summary(pt):    Uma interface de Perl para o PostgresSQL
20 Summary(pt_BR): Uma interface de Perl para o PostgresSQL
21 Summary(ru):    éÎÔÅÒÆÅÊÓ PostgresSQL ÄÌÑ Perl
22 Summary(sv):    Ett gränssnitt till PostgresSQL för Perl
23 Summary(uk):    Perl-¦ÎÔÅÒÆÅÊÓ ÄÏ PostgresSQL
24 Summary(zh_CN): Perl µÄ PostgresSQL ½çÃæ¡£
25 Name:           perl-DBD-Pg
26 Version:        1.22
27 Release:        2
28 License:        GPL
29 Group:          Development/Languages/Perl
30 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
31 # Source0-md5:  2fc355b28ad5c7c05a46bf74fc88dd38
32 BuildRequires:  perl-devel >= 5.6
33 BuildRequires:  perl-DBI
34 BuildRequires:  postgresql-devel
35 BuildRequires:  rpm-perlprov >= 4.1-13
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %define         _noautoreq "perl(POSIX(qw(isprint)))"
39
40 %description
41 DBD::Pg - PostgreSQL database driver for the DBI module.
42
43 %description -l cs
44 Implementace DBI pro PostgreSQL do Perlu.
45
46 %description -l da
47 Denne pakke indeholder en implementation af DBI for PostgreSQL for
48 Perl.
49
50 %description -l de
51 Dieses Paket enthält eine Implementierung von PostgreSQL für Perl.
52
53 %description -l es
54 Este paquete contiene una implementación de DBI para PotgreSQL para
55 PERL.
56
57 %description -l fr
58 Ce paquetage contient une mise en oeuvre de DBI pour PostgreSQL pour
59 Perl.
60
61 %description -l it
62 Questo pacchetto contiene un'implementazione di DBI per PostgreSQL per
63 Perl.
64
65 %description -l ja
66 ¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï Perl ¤Î PostgreSQL ÍÑ DBI ¼ÂÁõ¤¬¼ýÏ¿¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
67
68 %description -l ko
69 ÀÌ ÆÐÅ°Áö´Â ÆÞÀ» À§ÇÑ PostgreSQLÀÇ DBI ½ÇÇöÀ» Æ÷ÇÔÇÏ°í ÀÖ½À´Ï´Ù.
70
71 %description -l no
72 Denne pakken inneholder en implementasjon av DBI for PostgreSQL for
73 Perl.
74
75 %description -l pl
76 DBD::Pg - Sterownik bazy danych PostgreSQL dla modu³u DBI.
77
78 %description -l pt
79 Este pacote contém uma implementação de DBI para o PostgreSQL para o
80 Perl.
81
82 %description -l pt_BR
83 Este pacote contém uma implementação de DBI para o PostgreSQL para o
84 Perl.
85
86 %description -l ru
87 üÔÏ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÒÅÁÌÉÚÁÃÉÀ DBI ÄÌÑ PostgreSQL ÄÌÑ Perl.
88
89 %description -l sv
90 Detta paket innehåller en implementation av DBI för PostgreSQL för
91 Perl.
92
93 %description -l zh_CN
94 ¸ÃÈí¼þ°ü°üÀ¨ÓÃÓÚ Perl µÄ PostgreSQL µÄ DBI ÊµÏÖ¡£
95
96 %prep
97 %setup -q -n %{pdir}-%{pnam}-%{version}
98
99 %build
100 POSTGRES_LIB="%{_libdir}"; export POSTGRES_LIB
101 POSTGRES_INCLUDE="%{_includedir}/postgresql"; export POSTGRES_INCLUDE
102 %{__perl} Makefile.PL \
103         INSTALLDIRS=vendor
104 %{__make} OPTIMIZE="%{rpmcflags}"
105
106 %{!?_without_tests:%{__make} test}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install DESTDIR=$RPM_BUILD_ROOT
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %files
117 %defattr(644,root,root,755)
118 %doc Changes README
119 %{perl_vendorarch}/DBD/*
120 %dir %{perl_vendorarch}/auto/DBD/Pg
121 %{perl_vendorarch}/auto/DBD/Pg/Pg.bs
122 %attr(755,root,root) %{perl_vendorarch}/auto/DBD/Pg/Pg.so
123 %{_mandir}/man[13]/*
This page took 0.072922 seconds and 4 git commands to generate.