diff --git a/Test-ClassAPI-1.06.tar.bz2 b/Test-ClassAPI-1.06.tar.bz2 new file mode 100644 index 0000000..05f6235 --- /dev/null +++ b/Test-ClassAPI-1.06.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:804ddce0feac9cd507bf10cc9a61af6ecf6e88093994db5ec4642a6e4418e436 +size 26177 diff --git a/Test-ClassAPI-1.06.tar.gz b/Test-ClassAPI-1.06.tar.gz deleted file mode 100644 index 15c473d..0000000 --- a/Test-ClassAPI-1.06.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:06f82d076501701d78b8dc40b7688507bcc6c58b1beafd559e05bb0644df00a2 -size 29225 diff --git a/perl-Test-ClassAPI.changes b/perl-Test-ClassAPI.changes index 41295ba..acadb66 100644 --- a/perl-Test-ClassAPI.changes +++ b/perl-Test-ClassAPI.changes @@ -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 diff --git a/perl-Test-ClassAPI.spec b/perl-Test-ClassAPI.spec index ec30a9b..79df116 100644 --- a/perl-Test-ClassAPI.spec +++ b/perl-Test-ClassAPI.spec @@ -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 -# 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 -Version: 1.06 -Release: 1 +Name: perl-Test-ClassAPI %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 -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 -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Summary: Provides basic first-pass API testing for large class trees +Version: 1.06 +Release: 1 +License: GPL+ or Artistic +Group: Development/Libraries/Perl +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}-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 - able to do a quick once-over to make sure that classes, methods, and - inheritance is correct, before doing more comprehensive testing. This - module aims to provide such a capability. +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 +inheritance is correct, before doing more comprehensive testing. This +module aims to provide such a capability. Authors: - Adam Kennedy +-------- + Adam Kennedy %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 - Test-ClassAPI -- Initial build. -