Gerrit Beine
2011-06-26 18:22:28 +00:00
committed by Git OBS Bridge
commit ac4c5113e6
4 changed files with 88 additions and 0 deletions

View 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