diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-12-27 19:00:44 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-12-27 19:00:44 -0800 |
commit | d245e4267888d6a87c82ed1267e71354d7f4c106 (patch) | |
tree | fd52a6f686fb30a52d54e0c14692652908de24ef | |
parent | 7a160a887342dbe0525b9a33c1a772ecf614edb8 (diff) | |
download | perl-Test-Pod-Coverage-d245e4267888d6a87c82ed1267e71354d7f4c106.tar.gz perl-Test-Pod-Coverage-d245e4267888d6a87c82ed1267e71354d7f4c106.tar.bz2 perl-Test-Pod-Coverage-d245e4267888d6a87c82ed1267e71354d7f4c106.zip |
add packaging
-rw-r--r-- | packaging/perl-Test-Pod-Coverage.spec | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/packaging/perl-Test-Pod-Coverage.spec b/packaging/perl-Test-Pod-Coverage.spec new file mode 100644 index 0000000..68eff55 --- /dev/null +++ b/packaging/perl-Test-Pod-Coverage.spec @@ -0,0 +1,63 @@ +# +# spec file for package perl-Test-Pod-Coverage +# +# 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/ +# + + +Name: perl-Test-Pod-Coverage +Version: 1.08 +Release: 0 +License: Artistic-1.0 or GPL-1.0+ +%define cpan_name Test-Pod-Coverage +Summary: Test::Pod::Coverage Perl module +Url: http://search.cpan.org/dist/Test-Pod-Coverage/ +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-Coverage-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl(Pod::Coverage) +BuildRequires: perl(Test::Pod) +BuildRequires: perl-macros +Requires: perl(Pod::Coverage) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%{perl_requires} + +%description +Test::Pod::Coverage Perl module + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%check +make test + +%install +%perl_make_install +# do not perl_process_packlist (noarch) +# remove .packlist file +rm -rf %{buildroot}%perl_vendorarch +# remove perllocal.pod file +rm -rf %{buildroot}%perl_archlib +%perl_gen_filelist + +%files -f %{name}.files +%defattr(-,root,root,-) +%doc Changes + +%changelog |