diff --git a/perl-Class-Interface.changes b/perl-Class-Interface.changes new file mode 100644 index 0000000..5d10a7e --- /dev/null +++ b/perl-Class-Interface.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Mon Jun 27 10:59:00 UTC 2011 - coolo@novell.com + +- initial package 1.01 + * created by cpanspec 1.78.05 + diff --git a/perl-Class-Interface.spec b/perl-Class-Interface.spec index d02baf4..ade58f5 100644 --- a/perl-Class-Interface.spec +++ b/perl-Class-Interface.spec @@ -1,36 +1,42 @@ # -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# spec file for package perl-Class-Interface (Version 1.01) +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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-Class-Interface +Version: 1.01 +Release: 1 +License: CC-BY-SA %define cpan_name Class-Interface - -Name: perl-%cpan_name -Version: 1.01 -Release: 1 -Summary: A class for implementing/extending interfaces/abstracts in Perl -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 -AutoReqProv: on +Summary: A class for implementing/extending interfaces/abstracts in Perl. +Url: http://search.cpan.org/dist/Class-Interface/ +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/S/SI/SINISTER/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Class::AccessorMaker) %{perl_requires} %description -A class for implementing/extending interfaces/abstracts in Perl - -Authors: --------- - Hartog de Mik +Performs some underwater perl-magic to ensure interfaces are interfaces and +classes that implement the interface actually do so. %prep -%setup -q -n %cpan_name-%{version} +%setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -45,13 +51,10 @@ Authors: %perl_gen_filelist %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} %files -f %{name}.files -%defattr(-,root,root) -%doc Changelog MANIFEST README +%defattr(-,root,root,755) +%doc Changelog LICENSE README %changelog -* Sat Jun 25 2011 gerrit.beine@gmx.de -- initial version -