forked from pool/rubygem-jquery-rails
- update to 2.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-jquery-rails?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
3e3212845d
commit
0082d45b0c
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rubygem-jquery-rails
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,37 +15,30 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: rubygem-jquery-rails
|
||||
Version: 1.0.13
|
||||
Version: 2.0.2
|
||||
Release: 0
|
||||
%define mod_name jquery-rails
|
||||
%define mod_full_name %{mod_name}-%{version}
|
||||
#
|
||||
Group: Development/Languages/Ruby
|
||||
License: MIT
|
||||
#
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: rubygems_with_buildroot_patch
|
||||
%rubygems_requires
|
||||
# railties ~> 3.0
|
||||
BuildRequires: rubygem-railties-3 >= 3.0
|
||||
Requires: rubygem-railties-3 >= 3.0
|
||||
# thor ~> 0.14
|
||||
BuildRequires: rubygem-thor-0_14 >= 0.14
|
||||
Requires: rubygem-thor-0_14 >= 0.14
|
||||
#
|
||||
BuildRequires: ruby-macros >= 1
|
||||
Url: http://rubygems.org/gems/jquery-rails
|
||||
Source: %{mod_full_name}.gem
|
||||
#
|
||||
Summary: Use jQuery with Rails 3
|
||||
License: MIT
|
||||
Group: Development/Languages/Ruby
|
||||
|
||||
%description
|
||||
This gem provides jQuery and the jQuery-ujs driver for your Rails 3 application.
|
||||
This gem provides jQuery and the jQuery-ujs driver for your Rails 3
|
||||
application.
|
||||
|
||||
%package doc
|
||||
Summary: RDoc documentation for %{mod_name}
|
||||
Group: Development/Languages/Ruby
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
Documentation generated at gem installation time.
|
||||
Usually in RDoc and RI formats.
|
||||
@@ -54,16 +47,19 @@ Usually in RDoc and RI formats.
|
||||
Summary: Test suite for %{mod_name}
|
||||
Group: Development/Languages/Ruby
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description testsuite
|
||||
Test::Unit or RSpec files, useful for developers.
|
||||
|
||||
%prep
|
||||
%build
|
||||
%install
|
||||
%gem_install %{S:0}
|
||||
#gem_unpack
|
||||
#if you need patches, apply them here and replace the # with a % sign in the surrounding lines
|
||||
#gem_build
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
%build
|
||||
|
||||
%install
|
||||
%gem_install -f
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Reference in New Issue
Block a user