Ai
11 Star 0 Fork 2

src-openEuler/rubygem-jquery-ui-rails
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
rubygem-jquery-ui-rails.spec 1.98 KB
一键复制 编辑 原始数据 按行查看 历史
liqiuyu 提交于 2021-06-07 15:29 +08:00 . init project
%global pkg_name %{name}
%global gem_name jquery-ui-rails
Name: rubygem-%{gem_name}
Version: 6.0.1
Release: 1
Summary: jQuery UI packaged for the Rails asset pipeline
Group: Development/Languages
License: MIT
URL: https://github.com/joliss/jquery-ui-rails
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Source1: https://github.com/jquery-ui-rails/%{gem_name}/archive/refs/tags/%{gem_name}-%{version}.tar.gz
# start specfile generated dependencies
Requires: ruby(release)
Requires: ruby
Requires: ruby(rubygems) >= 1.3.6
Requires: rubygem(railties) >= 3.2.16
BuildRequires: ruby(release)
BuildRequires: ruby
BuildRequires: rubygems-devel >= 1.3.6
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
# end specfile generated dependencies
%description
jQuery UI's JavaScript, CSS, and image files packaged for the Rails 3.1+ asset
pipeline.
%package doc
Summary: Documentation for %{pkg_name}
Group: Documentation
Requires: %{pkg_name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{pkg_name}.
%prep
gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%build
# Create the gem as gem install only works on a gem file
gem build %{gem_name}.gemspec
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
# by default, so that we can move it into the buildroot in %%install
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%files
%dir %{gem_instdir}
%exclude %{gem_instdir}/.gitignore
%exclude %{gem_instdir}/.gitmodules
%exclude %{gem_instdir}/.travis.yml
%license %{gem_instdir}/License.txt
%{gem_instdir}/app
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%{gem_instdir}/Gemfile
%doc %{gem_instdir}/History.md
%doc %{gem_instdir}/README.md
%doc %{gem_instdir}/VERSIONS.md
%{gem_instdir}/Rakefile
%changelog
* Mon Jun 7 2021 liqiuyu <liqiuyu@kylinos.cn> - 6.0.1-1
- Init project
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/rubygem-jquery-ui-rails.git
git@gitee.com:src-openeuler/rubygem-jquery-ui-rails.git
src-openeuler
rubygem-jquery-ui-rails
rubygem-jquery-ui-rails
master

搜索帮助