package created using the webbuild interface [release 2.8.0-1mamba;Sat Apr 23 2022]
This commit is contained in:
parent
2c70ba25a2
commit
b3045222a2
53
ruby-mini_portile2.spec
Normal file
53
ruby-mini_portile2.spec
Normal file
@ -0,0 +1,53 @@
|
||||
Name: ruby-mini_portile2
|
||||
Version: 2.8.0
|
||||
Release: 1mamba
|
||||
Summary: Simple autoconf builder for developers
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/flavorjones/mini_portile
|
||||
Source: https://github.com/flavorjones/mini_portile.git/v%{version}/mini_portile-%{version}.tar.bz2
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: ruby-devel
|
||||
Requires: ruby
|
||||
|
||||
%description
|
||||
Simple autoconf builder for developers.
|
||||
|
||||
%prep
|
||||
%setup -q -n mini_portile-%{version}
|
||||
|
||||
sed -r 's|~>|>=|g' -i mini_portile2.gemspec
|
||||
sed 's|git ls-files -z|find -type f -print0|' -i mini_portile2.gemspec
|
||||
|
||||
%build
|
||||
gem build mini_portile2.gemspec
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
|
||||
gem install --no-user-install --ignore-dependencies -i "%{buildroot}$gemdir" -n "%{buildroot}/usr/bin" \
|
||||
mini_portile2-%{version}.gem
|
||||
rm -rf %{buildroot}${gemdir}/cache
|
||||
|
||||
rm -rf %{buildroot}%{_libdir}/ruby/gems/*/gems/mini_portile2-2.8.0/.github
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/ruby/gems/*/doc/mini_portile2-%{version}
|
||||
%{_libdir}/ruby/gems/*/doc/mini_portile2-%{version}/*
|
||||
%dir %{_libdir}/ruby/gems/*/gems/mini_portile2-%{version}
|
||||
%{_libdir}/ruby/gems/*/gems/mini_portile2-%{version}/*
|
||||
%{_libdir}/ruby/gems/*/specifications/mini_portile2-%{version}.gemspec
|
||||
%doc LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Sat Apr 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.0-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user