From d05d0dc9051ec3fa6e4352b818c72889e11ccb82 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:48:00 +0100 Subject: [PATCH] automatic update by autodist [release 4.025-1mamba;Fri Dec 27 2013] --- README.md | 2 ++ perl-DBD-mysql.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 perl-DBD-mysql.spec diff --git a/README.md b/README.md index 211833f..1e9ed83 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-DBD-mysql +DBD::mysql - A Perl5 Database Interface to the MySQL database. + diff --git a/perl-DBD-mysql.spec b/perl-DBD-mysql.spec new file mode 100644 index 0000000..f19d478 --- /dev/null +++ b/perl-DBD-mysql.spec @@ -0,0 +1,79 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-DBD-mysql +Version: 4.025 +Release: 1mamba +Summary: BD::mysql - A Perl5 Database Interface to the MySQL database +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libmysql5-devel +BuildRequires: libz-devel +BuildRequires: perl-DBI +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/perl-root + +%description +DBD::mysql - A Perl5 Database Interface to the MySQL database. + +%prep +%setup -q -n DBD-mysql-%{version} + +%build +perl Makefile.PL +make %{?_smp_mflags} +#make test + +%install +[[ "%{buildroot}" ]] && rm -rf %{buildroot} +%makeinstall_perl + +packlist=`find %{buildroot} -name .packlist` +[[ -z "$packlist" ]] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm -f $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[[ "%{buildroot}" ]] && rm -rf %{buildroot} + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Fri Dec 27 2013 Automatic Build System 4.025-1mamba +- automatic update by autodist + +* Wed Sep 18 2013 Automatic Build System 4.024-1mamba +- automatic update by autodist + +* Sat Apr 13 2013 Automatic Build System 4.023-1mamba +- automatic version update by autodist + +* Fri Nov 16 2012 Silvan Calarco 4.022-1mamba +- update to 4.022 + +* Wed Mar 11 2009 Silvan Calarco 3.0008-3mamba +- automatic rebuild by autodist + +* Wed Nov 05 2008 Silvan Calarco 3.0008-2mamba +- automatic rebuild by autodist + +* Sat Jul 12 2008 Silvan Calarco 3.0008-1mamba +- update to 3.0008 +- disabled test because they require a configured mysql account + +* Fri Oct 22 2004 Alessandro Ramazzina 2.1028-1qilnx +- package created by autospec