package init
This commit is contained in:
parent
8fe42c721a
commit
e5960d86ca
51
rubygem-turbolinks-source.spec
Normal file
51
rubygem-turbolinks-source.spec
Normal file
@ -0,0 +1,51 @@
|
||||
%global gem_name turbolinks-source
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 5.1.0
|
||||
Release: 1
|
||||
Summary: Turbolinks JavaScript assets
|
||||
License: MIT
|
||||
URL: https://github.com/turbolinks/turbolinks-source-gem
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release) rubygems-devel ruby
|
||||
Provides: bundled(turbolinks) = 5.1.0
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Turbolinks JavaScript assets.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
%gem_install
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2020 zhanghua <zhanghua40@huawei.com> - 5.1.0-1
|
||||
- package init
|
||||
4
rubygem-turbolinks-source.yaml
Normal file
4
rubygem-turbolinks-source.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: turbolinks/turbolinks-source-gem
|
||||
tag_pattern: "^v"
|
||||
seperator: "."
|
||||
BIN
turbolinks-source-5.1.0.gem
Normal file
BIN
turbolinks-source-5.1.0.gem
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user