You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.7 KiB
72 lines
1.7 KiB
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.3.5)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
release_number = 2;
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
print(release_number + base_release_number - 1);
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
## END: Set by rpmautospec
|
|
|
|
%global gem_name sys-filesystem
|
|
|
|
Name: rubygem-%{gem_name}
|
|
Version: 1.4.3
|
|
Release: %autorelease
|
|
Summary: Interface for gathering filesystem information
|
|
|
|
License: Apache-2.0
|
|
URL: https://rubygems.org/gems/sys-filesystem
|
|
Source: https://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%package doc
|
|
Summary: Documentation for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
%{summary}.
|
|
|
|
%prep
|
|
%autosetup -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}/
|
|
|
|
rm -vr %{buildroot}%{gem_instdir}/{certs,spec}
|
|
rm -v %{buildroot}%{gem_cache}
|
|
|
|
%files
|
|
%license %{gem_instdir}/LICENSE
|
|
%dir %{gem_instdir}
|
|
|
|
%{gem_libdir}
|
|
%{gem_spec}
|
|
|
|
%files doc
|
|
%doc %{gem_docdir}
|
|
%doc %{gem_instdir}/{{README,CHANGES,MANIFEST}.md,examples}
|
|
%{gem_instdir}/{Gemfile,Rakefile,%{gem_name}.gemspec}
|
|
|
|
%changelog
|
|
* Sun Sep 01 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 1.4.3-2
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
* Fri Mar 03 2023 Igor Raits <igor.raits@gmail.com> - 1.4.3-2
|
|
- fixup! Initial import
|
|
|
|
* Fri Mar 03 2023 Igor Raits <igor.raits@gmail.com> - 1.4.3-1
|
|
- Initial import
|