[rubygem-jquery-datatables-rails/f21] Initial commit

Josef Stribny jstribny at fedoraproject.org
Wed Sep 24 14:20:18 UTC 2014


commit 5166eb4da8332e798af888f8cab5c1ceef67dcfa
Author: Josef Stribny <jstribny at redhat.com>
Date:   Wed Sep 24 16:04:51 2014 +0200

    Initial commit

 .gitignore                           |    1 +
 LICENSE                              |   20 +++++++++
 rubygem-jquery-datatables-rails.spec |   73 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 4 files changed, 95 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5c3ce38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jquery-datatables-rails-2.2.3.gem
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..6aa1680
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2012 Robin Wenglewski, Sébastien Grosjean, ed al
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/rubygem-jquery-datatables-rails.spec b/rubygem-jquery-datatables-rails.spec
new file mode 100644
index 0000000..cc8a7c1
--- /dev/null
+++ b/rubygem-jquery-datatables-rails.spec
@@ -0,0 +1,73 @@
+# Generated from jquery-datatables-rails-2.1.10.0.3.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name jquery-datatables-rails
+
+Name: rubygem-%{gem_name}
+Version: 2.2.3
+Release: 1%{?dist}
+Summary: jQuery datatables for rails
+Group: Development/Languages
+License: MIT
+URL: https://github.com/rweng/jquery-datatables-rails
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+# License from upstream repo
+# wget https://raw.githubusercontent.com/rweng/jquery-datatables-rails/master/LICENSE
+Source1: LICENSE
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel 
+BuildRequires: ruby 
+BuildArch: noarch
+
+%description
+This gem packages the jQuery DataTables plugin for the Rails 3.1+ asset
+pipeline. It provides all the basic DataTables files, and a few of
+the extras.
+
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}.
+
+%prep
+gem unpack %{SOURCE0}
+
+%setup -q -D -T -n  %{gem_name}-%{version}
+
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+
+%build
+gem build %{gem_name}.gemspec
+
+%gem_install
+
+install -p -m 0644 -t ./%{gem_instdir} %{SOURCE1}
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+# Fix permissions
+find %{buildroot}%{gem_dir}/**/* -type f | xargs chmod 0644
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+%{gem_instdir}/app
+%license %{gem_instdir}/LICENSE
+
+%files doc
+%doc %{gem_docdir}
+
+%changelog
+* Tue Sep 16 2014 Josef Stribny <jstribny at redhat.com> - 2.2.3-1
+- Update to 2.2.3
+
+* Thu Jul 24 2014 Josef Stribny <jstribny at redhat.com> - 2.1.10.0.3-1
+- Initial package
diff --git a/sources b/sources
index e69de29..b8251ab 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+01b8722cd60b88ce38059ff325fc84ac  jquery-datatables-rails-2.2.3.gem


More information about the scm-commits mailing list