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 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 - Add Test directory to files
- Cleanup changelog to only initial creation - Cleanup changelog to only initial creation
-------------------------------------------------------------------
Wed Oct 14 15:57:17 UTC 2009 - rschweikert@novell.com
- Initial build 1.06

View File

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