]> git.pld-linux.org Git - packages/perl-Net-MySQL.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 31 Oct 2003 23:20:32 +0000 (23:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Net-MySQL.spec -> 1.1

perl-Net-MySQL.spec [new file with mode: 0644]

diff --git a/perl-Net-MySQL.spec b/perl-Net-MySQL.spec
new file mode 100644 (file)
index 0000000..341d382
--- /dev/null
@@ -0,0 +1,63 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Net
+%define        pnam    MySQL
+Summary:       Net::MySQL - Pure Perl MySQL network protocol interface
+Summary(pl):   Net::MySQL - czysto perlowy interfejs do protoko³u sieciowego MySQL-a
+Name:          perl-Net-MySQL
+Version:       0.08
+Release:       1
+# same as perl
+License:       GPL or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: bb8c17d4d77ab5cba3fd6838b8516444
+BuildRequires: perl-devel >= 5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Net::MySQL is a Pure Perl client interface for the MySQL database.
+This module implements network protocol between server and client of
+MySQL, thus you don't need external MySQL client library like
+libmysqlclient for this module to work. It means this module enables
+you to connect to MySQL server from some operation systems which MySQL
+is not ported.
+
+%description -l pl
+Net::MySQL to czysto perlowy interfejs kliencki do bazy danych MySQL.
+Ten modu³ jest implementacj± protoko³u sieciowego miêdzy serwerem a
+klientem MySQL-a, przez co nie wymaga do dzia³ania zewnêtrznej
+biblioteki klienckiej MySQL-a, takiej jak libmysqlclient. Oznacza to,
+¿e modu³ ten umo¿liwia po³±czenie z serwerem MySQL nawet z systemu
+operacyjnego, na który MySQL nie zosta³ sportowany.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Net/MySQL.pm
+%{_mandir}/man3/*
This page took 0.051132 seconds and 4 git commands to generate.