rpms/perl-DBI-Dumper/FC-6 perl-DBI-Dumper.spec, NONE, 1.1 sources, 1.1, 1.2
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Mon Oct 29 17:14:09 UTC 2007
Author: cweyl
Update of /cvs/extras/rpms/perl-DBI-Dumper/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4810
Modified Files:
sources
Added Files:
perl-DBI-Dumper.spec
Log Message:
pseudo-branch of perl-DBI-Dumper to FC-6
--- NEW FILE perl-DBI-Dumper.spec ---
Name: perl-DBI-Dumper
Version: 2.01
Release: 3%{?dist}
Summary: Dump data from a DBI datasource to file
# see http://rt.cpan.org/Public/Bug/Display.html?id=27269
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/DBI-Dumper/
Source0: http://www.cpan.org/authors/id/W/WS/WSMITH/DBI-Dumper-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# core
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
# cpan
BuildRequires: perl(DBI)
BuildRequires: perl(Inline::C)
BuildRequires: perl(Parse::RecDescent)
BuildRequires: perl(Term::ReadKey)
%description
Dumps data from a select statement into an output file. dbidumper tries
to mirror the functionality and behavior of sql*loader. The control
file syntax is similar, and DBI::Dumper utilizes a subset of the
sql*loader options.
%prep
%setup -q -n DBI-Dumper-%{version}
# include some licensing information from the rt.cpan.org bug, as it's
# not yet included in the package proper
cat << \EOF > COPYING.fedora
DBI::Dumper is under the same terms as perl itself, namely the GPL or
Artistic licenses. For more information, please see:
http://rt.cpan.org/Public/Bug/Display.html?id=27269
>From the bug:
Subject: RE: [rt.cpan.org #27269] DBI::Dumper license?
Date: Thu, 24 May 2007 10:58:37 -0500
To: <bug-DBI-Dumper[...]rt.cpan.org>
From: "Smith Warren - wasmit" <Warren.Smith[...]acxiom.com>
The license for DBI::Dumper is the same as perl. I will update the
POD with the next release to include this information.
EOF
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes grammar.prd README COPYING.fedora t/
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/DBI
%{_bindir}/*
%{_mandir}/man[13]/*
%changelog
* Mon Oct 29 2007 Chris Weyl <cweyl at alumni.drew.edu> 2.01-3
- bump
* Sun Oct 14 2007 Chris Weyl <cweyl at alumni.drew.edu> 2.01-2
- add licensing text
* Wed May 23 2007 Chris Weyl <cweyl at alumni.drew.edu> 2.01-1
- Specfile autogenerated by cpanspec 1.71.
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-DBI-Dumper/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 Oct 2007 17:07:47 -0000 1.1
+++ sources 29 Oct 2007 17:13:35 -0000 1.2
@@ -0,0 +1 @@
+402bc1aacf4b39f318fa5b2bf47d123d DBI-Dumper-2.01.tar.gz
More information about the fedora-extras-commits
mailing list