62 lines
1.1 KiB
RPMSpec
62 lines
1.1 KiB
RPMSpec
![]() |
#
|
||
|
# 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
|
||
|
|