Files
perl-Class-Interface/perl-Class-Interface.spec

58 lines
1.0 KiB
RPMSpec

#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild
%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
%{perl_requires}
%description
A class for implementing/extending interfaces/abstracts in Perl
Authors:
--------
Hartog de Mik
%prep
%setup -q -n %cpan_name-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%doc Changelog MANIFEST README
%changelog
* Sat Jun 25 2011 gerrit.beine@gmx.de
- initial version