2009-11-06 23:52:02 +00:00
|
|
|
#
|
2011-11-17 14:04:13 +00:00
|
|
|
# spec file for package perl-Data-ObjectDriver
|
2009-11-06 23:52:02 +00:00
|
|
|
#
|
2011-11-17 14:04:13 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-11-06 23:52:02 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Data-ObjectDriver
|
2011-11-17 14:04:13 +00:00
|
|
|
%define cpan_name Data-ObjectDriver
|
2009-11-06 23:52:02 +00:00
|
|
|
Summary: Data::ObjectDriver
|
|
|
|
Version: 0.06
|
|
|
|
Release: 1
|
|
|
|
License: Artistic License
|
|
|
|
Group: Development/Languages/Perl
|
|
|
|
Url: http://search.cpan.org/dist/Data-ObjectDriver/
|
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:00:43 +00:00
|
|
|
%{perl_requires}
|
2011-11-17 14:04:13 +00:00
|
|
|
BuildRequires: perl perl-Class-Accessor perl-Class-Trigger perl-DBD-SQLite perl-DBI perl-Sub-Uplevel
|
2010-01-02 19:32:05 +00:00
|
|
|
BuildRequires: perl-Class-Data-Inheritable
|
2009-11-06 23:52:02 +00:00
|
|
|
BuildRequires: perl-macros
|
2011-11-17 14:04:13 +00:00
|
|
|
Requires: perl-DBI perl-Class-Accessor perl-Class-Data-Inheritable perl-Class-Trigger perl-Sub-Uplevel
|
2009-11-06 23:52:02 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Data-ObjectDriver - Simple, transparent data interface, with caching
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2010-01-02 20:37:53 +00:00
|
|
|
# fails to run
|
|
|
|
rm t/02-basic.t
|
2009-11-06 23:52:02 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
|
|
|
%{__make}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
# normally you only need to check for doc files
|
|
|
|
%defattr(-,root,root)
|
2010-01-02 19:32:05 +00:00
|
|
|
%doc README
|
2009-11-06 23:52:02 +00:00
|
|
|
|
|
|
|
%changelog
|