[rubygem-pdf-inspector] Initial import (#881751)

Josef Stribny jstribny at fedoraproject.org
Mon Dec 3 14:49:10 UTC 2012


commit 7ced9fbed40c27bc2dee74065aa9e5096346e72d
Author: Josef Stribny <jstribny at redhat.com>
Date:   Mon Dec 3 15:48:57 2012 +0100

    Initial import (#881751)

 .gitignore                 |    1 +
 rubygem-pdf-inspector.spec |   74 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2482409 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pdf-inspector-1.0.2.gem
diff --git a/rubygem-pdf-inspector.spec b/rubygem-pdf-inspector.spec
new file mode 100644
index 0000000..d822205
--- /dev/null
+++ b/rubygem-pdf-inspector.spec
@@ -0,0 +1,74 @@
+# Generated from pdf-inspector-1.0.2.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name pdf-inspector
+%global rubyabi 1.9.1
+
+Summary: A tool for analyzing PDF output
+Name: rubygem-%{gem_name}
+Version: 1.0.2
+Release: 2%{?dist}
+Group: Development/Languages
+License: GPLv2 or GPLv3 or Ruby
+URL: https://github.com/sandal/pdf-inspector
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems) 
+Requires: rubygem(pdf-reader) >= 0.9.0
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems-devel 
+BuildRequires: ruby 
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+This library provides a number of PDF::Reader[0] based tools for use in
+testing PDF output.  Presently, the primary purpose of this tool is to
+support the tests found in Prawn[1], a pure Ruby PDF generation library.
+However, it may be useful to others, so we have made it available as
+a gem in its own right.
+[0] https://github.com/yob/pdf-reader
+[1] https://github.com/sandal/prawn
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+%prep
+%setup -q -c -T
+mkdir -p .%{gem_dir}
+gem install --local --install-dir .%{gem_dir} \
+            --force %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+%doc %{gem_instdir}/LICENSE
+%doc %{gem_instdir}/COPYING
+%doc %{gem_instdir}/GPLv2
+%doc %{gem_instdir}/GPLv3
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CHANGELOG
+%doc %{gem_instdir}/README
+
+%changelog
+* Thu Dec 3 2012 Josef Stribny <jstribny at redhat.com> - 1.0.2-2
+- Removal of the Ruby runtime dependency
+- Fixed word wrapping in description
+
+* Thu Nov 29 2012 Josef Stribny <jstribny at redhat.com> - 1.0.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..c5a7903 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f19a1a19259060052dd555247536ab01  pdf-inspector-1.0.2.gem


More information about the scm-commits mailing list