[perl-Image-Dot] Initial import - review #1045826

Yanko Kaneti yaneti at fedoraproject.org
Thu Jan 2 13:20:40 UTC 2014


commit a6d6d6c6c7746eb6885ec8570e369f4ee113d321
Author: Yanko Kaneti <yaneti at declera.com>
Date:   Thu Jan 2 15:19:44 2014 +0200

    Initial import - review #1045826

 .gitignore          |    1 +
 perl-Image-Dot.spec |   56 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0a755a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Image-Dot-1.1.tar.gz
diff --git a/perl-Image-Dot.spec b/perl-Image-Dot.spec
new file mode 100644
index 0000000..524dce1
--- /dev/null
+++ b/perl-Image-Dot.spec
@@ -0,0 +1,56 @@
+Name:           perl-Image-Dot
+Version:        1.1
+Release:        2%{?dist}
+Summary:        Create 1x1 pixel image files in pure perl
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Image-Dot/
+Source0:        http://www.cpan.org/authors/id/R/RG/RGIERSIG/Image-Dot-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+
+%description
+This package provides 1x1 pixel PNG images of a certain RGB color (also
+with transparency) without relying on any external modules like GD, libpng
+or Compress::Zlib. These pixel dots can be useful in a pure-perl HTTP
+server to be able to create colored dots on-the-fly, e.g. for formatting or
+drawing purposes.
+
+
+%prep
+%setup -q -n Image-Dot-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+
+%check
+make test
+
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Dec 27 2013 Yanko Kaneti <yaneti at declera.com> 1.1-2
+- Minor changes brought up in review #1045826
+
+* Sun Dec 22 2013 Yanko Kaneti <yaneti at declera.com> 1.1-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..19b717c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5be2581b365423c7c19bfad982f157fc  Image-Dot-1.1.tar.gz


More information about the scm-commits mailing list