8
0
Christian Wittmer
2010-11-24 21:53:51 +00:00
committed by Git OBS Bridge
parent 9a409d3115
commit 028f0a2229
4 changed files with 74 additions and 47 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:804ddce0feac9cd507bf10cc9a61af6ecf6e88093994db5ec4642a6e4418e436
size 26177

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06f82d076501701d78b8dc40b7688507bcc6c58b1beafd559e05bb0644df00a2
size 29225

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Nov 22 13:18:35 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fix deps
- changelog to changes file
-------------------------------------------------------------------
Wed Oct 21 16:17:57 CEST 2009 - rschweikert@novell.com
@@ -5,3 +12,7 @@ Wed Oct 21 16:17:57 CEST 2009 - rschweikert@novell.com
- Add Test directory to files
- Cleanup changelog to only initial creation
-------------------------------------------------------------------
Wed Oct 14 15:57:17 UTC 2009 - rschweikert@novell.com
- Initial build 1.06

View File

@@ -1,35 +1,49 @@
#
# spec file for package perl-Test-ClassAPI (Version 1.06)
#
# Copyright (c) 2009 Novell
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
# 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-Test-ClassAPI
%define cpan_name Test-ClassAPI
Summary: Provides basic first-pass API testing for large class trees
Version: 1.06
Release: 1
%define cpan_name Test-ClassAPI
Provides: %cpan_name
Requires: perl = %{perl_version}
Requires: perl-Params-Util >= 1.00
Requires: perl-Class-Inspector >= 1.12
Requires: perl-Config-Tiny >= 2.00
Autoreqprov: on
License: GPL+ or Artistic
Group: Development/Libraries/Perl
License: Artistic License, GPL, see package
URL: http://search.cpan.org/~adamk/Test-ClassAPI-1.06/lib/Test/ClassAPI.pm
Summary: Test::ClassAPI - Provides basic first-pass API testing for large class trees
Source0: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl-Params-Util >= 1.00
BuildRequires: perl-Class-Inspector >= 1.12
BuildRequires: perl-Config-Tiny >= 2.00
Url: http://search.cpan.org/dist/Test-ClassAPI/
#Source: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-ClassAPI-1.06.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Class::Inspector) >= 1.12
BuildRequires: perl(Config::Tiny) >= 2.00
BuildRequires: perl(File::Spec) >= 0.83
BuildRequires: perl(Params::Util) >= 1.00
#
Requires: perl = %{perl_version}
Requires: perl(Class::Inspector) >= 1.12
Requires: perl(Config::Tiny) >= 2.00
Requires: perl(File::Spec) >= 0.83
Requires: perl(Params::Util) >= 1.00
%description
For many APIs with large numbers of classes, it can be very useful to be
@@ -38,37 +52,39 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
module aims to provide such a capability.
Authors:
--------
Adam Kennedy <adamk@cpan.org>
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
%perl_make_install
### since 11.4 perl_process_packlist
### removes .packlist, perllocal.pod files
%if 0%{?suse_version} > 1130
%perl_process_packlist
%__rm -f %{buildroot}%{perl_vendorarch}/auto/Test/ClassAPI/.packlist
%else
# do not perl_process_packlist
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
%endif
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf $RPM_BUILD_ROOT
%files
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%doc %{_mandir}/man3/*
%dir %{perl_vendorlib}/Test
%{perl_vendorlib}/Test/ClassAPI.pm
/var/adm/perl-modules/%{name}
%changelog
* Wed Oct 14 2009 Robert Schweikert <rschweikert@novell.com> - Test-ClassAPI
- Initial build.