2005-07-30 01:35:59 +00:00
|
|
|
Name: perl-SQL-Abstract
|
2007-01-18 01:39:33 +00:00
|
|
|
Version: 1.22
|
2008-02-28 13:11:56 +00:00
|
|
|
Release: 4%{?dist}
|
2005-07-30 01:35:59 +00:00
|
|
|
Summary: Generate SQL from Perl data structures
|
|
|
|
Group: Development/Libraries
|
2007-08-26 19:27:38 +00:00
|
|
|
License: GPL+ or Artistic
|
2005-07-30 01:35:59 +00:00
|
|
|
URL: http://search.cpan.org/dist/SQL-Abstract
|
2007-01-18 01:39:33 +00:00
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/N/NW/NWIGER/SQL-Abstract-%{version}.tgz
|
2005-07-30 01:35:59 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2007-08-26 19:27:38 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2005-07-30 01:35:59 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n SQL-Abstract-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/SQL
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2008-02-28 13:11:56 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.22-4
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
2008-01-25 00:24:17 +00:00
|
|
|
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.22-3
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2007-08-26 19:27:38 +00:00
|
|
|
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.22-2
|
|
|
|
- license tag fix
|
|
|
|
|
2007-01-18 01:39:33 +00:00
|
|
|
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.22-1
|
|
|
|
- bump to 1.22
|
|
|
|
|
2006-09-15 15:37:24 +00:00
|
|
|
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.21-2
|
|
|
|
- fc6 bump
|
|
|
|
|
2006-03-31 20:29:39 +00:00
|
|
|
* Fri Mar 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.21-1
|
|
|
|
- bump to 1.21
|
|
|
|
|
2006-01-05 17:35:25 +00:00
|
|
|
* Thu Jan 5 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.20-1
|
|
|
|
- bump to 1.20
|
|
|
|
|
2005-07-30 01:35:59 +00:00
|
|
|
* Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.19-2
|
|
|
|
- cleanups
|
|
|
|
|
|
|
|
* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.19-1
|
|
|
|
- Initial package for Fedora Extras
|