[rubygem-chunky_png] Initial package import.

Chris Lalancette clalance at fedoraproject.org
Wed Jul 20 17:31:24 UTC 2011


commit fdff8b5b5ece896faaa69634597313cb6ccd4487
Author: Chris Lalancette <clalance at redhat.com>
Date:   Wed Jul 20 13:31:04 2011 -0400

    Initial package import.
    
    Signed-off-by: Chris Lalancette <clalance at redhat.com>

 .gitignore              |    1 +
 rubygem-chunky_png.spec |   75 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..af2f813 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/chunky_png-1.2.0.gem
diff --git a/rubygem-chunky_png.spec b/rubygem-chunky_png.spec
new file mode 100644
index 0000000..55c48a8
--- /dev/null
+++ b/rubygem-chunky_png.spec
@@ -0,0 +1,75 @@
+# Generated from chunky_png-1.2.0.gem by gem2rpm -*- rpm-spec -*-
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname chunky_png
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+
+Summary: Pure ruby library for read/write, chunk-level access to PNG files
+Name: rubygem-%{gemname}
+Version: 1.2.0
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://wiki.github.com/wvanbergen/chunky_png
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+Requires: ruby(abi) = 1.8
+Requires: rubygems
+BuildRequires: ruby
+BuildRequires: rubygems
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+This pure Ruby library can read and write PNG images without depending on
+an external image library, like RMagick. It tries to be memory efficient and
+reasonably fast.
+It supports reading and writing all PNG variants that are defined in the
+specification, with one limitation: only 8-bit color depth is supported. It
+supports all transparency, interlacing and filtering options the PNG
+specifications allows. It can also read and write textual metadata from PNG
+files. Low-level read/write access to PNG chunks is also possible.
+This library supports simple drawing on the image canvas and simple operations
+like alpha composition and cropping. Finally, it can import from and export to
+RMagick for interoperability.
+
+
+%prep
+%setup -q -c -T
+mkdir -p .%{gemdir}
+gem install --local --install-dir .%{gemdir} --force --rdoc --ri %{SOURCE0}
+
+
+%build
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
+find %{buildroot} -iname .gitignore -exec rm -f {} \;
+find %{buildroot} -iname .yardopts -exec rm -f {} \;
+rm -f %{buildroot}%{geminstdir}/.infinity_test
+
+
+%files
+%dir %{geminstdir}
+%{geminstdir}/lib
+%doc %{geminstdir}/spec
+%doc %{geminstdir}/tasks
+%doc %{geminstdir}/BENCHMARKS.rdoc
+%doc %{geminstdir}/%{gemname}.gemspec
+%doc %{geminstdir}/benchmarks
+%doc %{geminstdir}/Rakefile
+%doc %{geminstdir}/README.rdoc
+%doc %{geminstdir}/LICENSE
+%doc %{geminstdir}/Gemfile
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+
+%changelog
+* Tue Jul 19 2011 Chris Lalancette <clalance at redhat.com> - 1.2.0-2
+- Updates from package review
+
+* Fri Jul 08 2011 Chris Lalancette <clalance at redhat.com> - 1.2.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..d1da0c7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1253b1a7b673fc85b5ff2bd19b37d8a6  chunky_png-1.2.0.gem


More information about the scm-commits mailing list