]> git.pld-linux.org Git - packages/perl-Net-MySQL.git/blame - perl-Net-MySQL.spec
- tabs in preamble
[packages/perl-Net-MySQL.git] / perl-Net-MySQL.spec
CommitLineData
5d887095
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
8e93a23d 6%define pdir Net
7%define pnam MySQL
9d97df5d 8Summary: Net::MySQL - pure Perl MySQL network protocol interface
cba01d17 9Summary(pl.UTF-8): Net::MySQL - czysto perlowy interfejs do protokołu sieciowego MySQL-a
5d887095
JB
10Name: perl-Net-MySQL
11Version: 0.08
12Release: 1
13# same as perl
275cd2e4 14License: GPL v1+ or Artistic
5d887095
JB
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: bb8c17d4d77ab5cba3fd6838b8516444
fcdc3a16 18BuildRequires: perl-devel >= 1:5.8.0
5d887095
JB
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Net::MySQL is a Pure Perl client interface for the MySQL database.
25This module implements network protocol between server and client of
26MySQL, thus you don't need external MySQL client library like
27libmysqlclient for this module to work. It means this module enables
28you to connect to MySQL server from some operation systems which MySQL
29is not ported.
30
0dc073f1 31%description -l pl.UTF-8
5d887095 32Net::MySQL to czysto perlowy interfejs kliencki do bazy danych MySQL.
0dc073f1
JR
33Ten moduł jest implementacją protokołu sieciowego między serwerem a
34klientem MySQL-a, przez co nie wymaga do działania zewnętrznej
5d887095 35biblioteki klienckiej MySQL-a, takiej jak libmysqlclient. Oznacza to,
0dc073f1
JR
36że moduł ten umożliwia połączenie z serwerem MySQL nawet z systemu
37operacyjnego, na który MySQL nie został sportowany.
5d887095
JB
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45
46%{__make}
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
62%{perl_vendorlib}/Net/MySQL.pm
63%{_mandir}/man3/*
This page took 0.536049 seconds and 4 git commands to generate.