ruby-nokogiri/ruby-nokogiri.spec

73 lines
2.3 KiB
RPMSpec

Name: ruby-nokogiri
Version: 1.13.9
Release: 1mamba
Summary: An HTML, XML, SAX, and Reader parser
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://nokogiri.org
Source: https://rubygems.org/downloads/nokogiri-%{version}.gem
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: liblzma-devel
BuildRequires: libruby-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: ruby-devel
BuildRequires: ruby-mini_portile2
Requires: ruby
%description
An HTML, XML, SAX, and Reader parser.
%prep
%setup -q -c
%build
%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" %{SOURCE0}
rm -rf %{buildroot}${gemdir}/cache
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/nokogiri
%dir %{_libdir}/ruby/gems/*/extensions/*/*/nokogiri-%{version}
%{_libdir}/ruby/gems/*/extensions/*/*/nokogiri-%{version}/*
%dir %{_libdir}/ruby/gems/*/doc/nokogiri-%{version}
%{_libdir}/ruby/gems/*/doc/nokogiri-%{version}/*
%dir %{_libdir}/ruby/gems/*/gems/nokogiri-%{version}
%{_libdir}/ruby/gems/*/gems/nokogiri-%{version}/*
%{_libdir}/ruby/gems/*/specifications/nokogiri-%{version}.gemspec
%doc nokogiri-%{version}/LICENSE.md
%changelog
* Wed Oct 19 2022 Automatic Build System <autodist@mambasoft.it> 1.13.9-1mamba
- automatic version update by autodist
* Sun Jul 24 2022 Automatic Build System <autodist@mambasoft.it> 1.13.8-1mamba
- automatic version update by autodist
* Wed Jul 13 2022 Automatic Build System <autodist@mambasoft.it> 1.13.7-1mamba
- automatic version update by autodist
* Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 1.13.6-1mamba
- automatic version update by autodist
* Thu May 05 2022 Automatic Build System <autodist@mambasoft.it> 1.13.5-1mamba
- automatic version update by autodist
* Sun Apr 24 2022 Automatic Build System <autodist@mambasoft.it> 1.13.4-1mamba
- automatic version update by autodist
* Sat Apr 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.3-1mamba
- package created using the webbuild interface