diff --git a/.gitignore b/.gitignore index e69de29..0616b08 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Parse-EDID-1.0.6.tar.gz diff --git a/perl-Parse-EDID.spec b/perl-Parse-EDID.spec new file mode 100644 index 0000000..28eca48 --- /dev/null +++ b/perl-Parse-EDID.spec @@ -0,0 +1,52 @@ +Name: perl-Parse-EDID +Version: 1.0.6 +Release: 3%{?dist} +Summary: Extended display identification data (EDID) parser +License: GPLv3 +Group: Development/Libraries +URL: http://search.cpan.org/dist/Parse-EDID/ +Source0: http://www.cpan.org/authors/id/G/GR/GROUSSE/Parse-EDID-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) >= 0.93 +BuildRequires: perl(Test::Kwalitee) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides some function to parse Extended Display Identification +Data binary data structures. + +%prep +%setup -q -n Parse-EDID-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE META.json README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Nov 23 2014 Marianne Lombard 1.0.6-3 +- enhancing spec + +* Sat May 24 2014 Marianne Lombard 1.0.6-2 +- adding missing buildrequires + +* Wed May 21 2014 Marianne Lombard 1.0.6-1 +- Adapting spec to actual guidelines +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..109c5fc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fe4d6b42eca8c18ac7019a51cff9406c Parse-EDID-1.0.6.tar.gz