2007-01-04 02:06:31 +01:00
|
|
|
#
|
2009-08-03 19:38:25 +02:00
|
|
|
# spec file for package perl-DBD-mysql (Version 4.012)
|
2007-01-04 02:06:31 +01:00
|
|
|
#
|
2009-01-21 02:34:55 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-04 02:06:31 +01:00
|
|
|
#
|
2008-09-12 18:09:01 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-04 02:06:31 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-06-24 00:47:53 +02:00
|
|
|
|
2007-01-04 02:06:31 +01:00
|
|
|
Name: perl-DBD-mysql
|
|
|
|
BuildRequires: mysql-devel perl-DBI perl-Data-ShowTable
|
2008-01-07 02:53:44 +01:00
|
|
|
Url: http://cpan.org/modules/by-module/DBD/
|
2009-08-03 19:38:25 +02:00
|
|
|
License: Artistic License ..
|
2007-01-04 02:06:31 +01:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Obsoletes: mysqperl perl-Msql-Mysql-modules
|
|
|
|
Provides: mysqperl perl-Msql-Mysql-modules
|
|
|
|
Requires: perl-DBI perl-Data-ShowTable
|
|
|
|
Requires: perl = %{perl_version}
|
2008-01-07 02:53:44 +01:00
|
|
|
AutoReqProv: on
|
2009-08-03 19:38:25 +02:00
|
|
|
Version: 4.012
|
2007-01-04 02:06:31 +01:00
|
|
|
Release: 1
|
|
|
|
Summary: Interface to the MySQL database
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Source: http://www.cpan.org/modules/by-module/Mysql/DBD-mysql-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%define _prefix /usr
|
|
|
|
|
|
|
|
%description
|
|
|
|
A Perl5 Database Interface to the MySQL database
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Jochen Wiedmann <joe@ispsoft.de>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n DBD-mysql-%{version}
|
2007-06-11 13:08:17 +02:00
|
|
|
chmod a-x ChangeLog README INSTALL.html
|
2007-01-04 02:06:31 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL --verbose
|
|
|
|
make
|
|
|
|
#make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2007-06-11 13:08:17 +02:00
|
|
|
chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}//Bundle/DBD/mysql.pm
|
|
|
|
chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}/DBD/mysql.pm
|
|
|
|
chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}/DBD/mysql/INSTALL.pod
|
2007-01-04 02:06:31 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
# Clear up the mess
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc ChangeLog README INSTALL.html TODO
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorarch}/auto/DBD
|
|
|
|
%{perl_vendorarch}/Bundle/DBD
|
|
|
|
%{perl_vendorarch}/DBD
|
|
|
|
/var/adm/perl-modules/perl-DBD-mysql
|
|
|
|
|
2007-03-03 14:33:00 +01:00
|
|
|
%changelog
|