Accepting request 74526 from home:gerritbeine:perl
OBS-URL: https://build.opensuse.org/request/show/74526 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-DBI-SQLite?expand=0&rev=1
This commit is contained in:
61
perl-Class-DBI-SQLite.spec
Normal file
61
perl-Class-DBI-SQLite.spec
Normal file
@@ -0,0 +1,61 @@
|
||||
#
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define cpan_name Class-DBI-SQLite
|
||||
|
||||
Name: perl-%cpan_name
|
||||
Version: 0.11
|
||||
Release: 1
|
||||
Summary: Extension to Class::DBI for sqlite
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl
|
||||
Provides: %cpan_name
|
||||
Source: %cpan_name-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl-Class-DBI
|
||||
BuildRequires: perl-DBD-SQLite
|
||||
Requires: perl-Class-DBI
|
||||
Requires: perl-DBD-SQLite
|
||||
AutoReqProv: on
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Extension to Class::DBI for sqlite
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Tatsuhiko Miyagawa
|
||||
|
||||
%prep
|
||||
%setup -q -n %cpan_name-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes MANIFEST
|
||||
|
||||
%changelog
|
||||
* Sat Jun 25 2011 gerrit.beine@gmx.de
|
||||
- initial version
|
||||
|
Reference in New Issue
Block a user