73 lines
2.4 KiB
RPMSpec
73 lines
2.4 KiB
RPMSpec
Name: ruby-mini_portile2
|
|
Version: 2.8.6
|
|
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 >= 1:3.2.0
|
|
Requires: ruby >= 1:3.2.0
|
|
|
|
%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/*/gems/mini_portile2-%{version}/.github
|
|
%{_libdir}/ruby/gems/*/specifications/mini_portile2-%{version}.gemspec
|
|
%doc LICENSE.txt
|
|
|
|
%changelog
|
|
* Mon Apr 15 2024 Automatic Build System <autodist@openmamba.org> 2.8.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 23 2023 Automatic Build System <autodist@mambasoft.it> 2.8.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jul 19 2023 Automatic Build System <autodist@mambasoft.it> 2.8.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon May 01 2023 Automatic Build System <autodist@mambasoft.it> 2.8.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 03 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-2mamba
|
|
- rebuilt with ruby 3.2.0
|
|
|
|
* Tue Dec 27 2022 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.0-1mamba
|
|
- package created using the webbuild interface
|