auto-import perl-SQL-Abstract-1.19-2 on branch devel from
perl-SQL-Abstract-1.19-2.src.rpm
This commit is contained in:
parent
62ade31334
commit
903e79feed
@ -0,0 +1 @@
|
||||
SQL-Abstract-1.19.tar.gz
|
50
perl-SQL-Abstract.spec
Normal file
50
perl-SQL-Abstract.spec
Normal file
@ -0,0 +1,50 @@
|
||||
Name: perl-SQL-Abstract
|
||||
Version: 1.19
|
||||
Release: 2%{?dist}
|
||||
Summary: Generate SQL from Perl data structures
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/SQL-Abstract
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/N/NW/NWIGER/SQL-Abstract-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl >= 1:5.6.1
|
||||
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
|
||||
* 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
|
Loading…
Reference in New Issue
Block a user