# Generated from devise-secure-password-1.1.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name devise-secure-password Name: rubygem-%{gem_name} Version: 1.1.2 Release: 1%{?dist} Summary: A devise password policy enforcement extension License: MIT URL: https://github.com/valimail/devise-secure_password Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.4 # BuildRequires: rubygem(capybara) >= 2.16.1 # BuildRequires: rubygem(capybara) >= 3.11 # BuildRequires: rubygem(capybara) < 4 # BuildRequires: rubygem(capybara-screenshot) >= 1.0.18 # BuildRequires: rubygem(coffee-rails) >= 4.2 # BuildRequires: rubygem(coffee-rails) < 5 # BuildRequires: rubygem(database_cleaner) >= 1.6 # BuildRequires: rubygem(database_cleaner) < 2 # BuildRequires: rubygem(database_cleaner) >= 1.6.2 # BuildRequires: rubygem(devise) >= 4.0 # BuildRequires: rubygem(devise) < 5 # BuildRequires: rubygem(flay) >= 2.10.0 # BuildRequires: rubygem(launchy) >= 2.4.3 # BuildRequires: rubygem(rails) >= 5.2.0 # BuildRequires: rubygem(rails) >= 5.2 # BuildRequires: rubygem(rails) < 6 # BuildRequires: rubygem(rspec) >= 3.7 # BuildRequires: rubygem(rspec-rails) >= 3.7 # BuildRequires: rubygem(rspec_junit_formatter) >= 0.3 # BuildRequires: rubygem(rubocop) >= 0.74.0 # BuildRequires: rubygem(rubocop-rails) >= 2.3.2 # BuildRequires: rubygem(rubocop-rspec) >= 1.35.0 # BuildRequires: rubygem(ruby2ruby) >= 2.4.0 # BuildRequires: rubygem(selenium-webdriver) >= 3.7.0 # BuildRequires: rubygem(simplecov) >= 0.18.2 # BuildRequires: rubygem(simplecov) < 0.19 # BuildRequires: rubygem(simplecov-console) >= 0.4.2 # BuildRequires: rubygem(sqlite3) >= 1.3.13 BuildArch: noarch %description Adds configurable password policy enforcement to devise. %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 # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # rspec spec popd %files %dir %{gem_instdir} %{gem_instdir}/. %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %changelog * Mon Aug 23 2021 mockbuilder - 1.1.2-1 - Initial package