File rubygem-brakeman.spec of Package rubygem-brakeman
#
# spec file for package rubygem-brakeman
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: rubygem-brakeman
Version: 1.6.2
Release: 0
%define mod_name brakeman
%define mod_full_name %{mod_name}-%{version}
#
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
%rubygems_requires
# activesupport >= 0
BuildRequires: rubygem-activesupport-3_2
Requires: rubygem-activesupport-3_2
# i18n >= 0
BuildRequires: rubygem-i18n
Requires: rubygem-i18n
# ruby2ruby ~> 1.2
BuildRequires: rubygem-ruby2ruby >= 1.2
Requires: rubygem-ruby2ruby >= 1.2
# erubis ~> 2.6
BuildRequires: rubygem-erubis-2_7 >= 2.6
Requires: rubygem-erubis-2_7 >= 2.6
# haml ~> 3.0
BuildRequires: rubygem-haml >= 3.0
Requires: rubygem-haml >= 3.0
# sass ~> 3.0
BuildRequires: rubygem-sass >= 3.0
Requires: rubygem-sass >= 3.0
# ruby_parser = 2.3.1
BuildRequires: rubygem-ruby_parser = 2.3.1
Requires: rubygem-ruby_parser = 2.3.1
# terminal-table ~> 1.4
BuildRequires: rubygem-terminal-table >= 1.4
Requires: rubygem-terminal-table >= 1.4
# fastercsv ~> 1.5
BuildRequires: rubygem-fastercsv >= 1.5
Requires: rubygem-fastercsv >= 1.5
# highline ~> 1.6
BuildRequires: rubygem-highline >= 1.6
Requires: rubygem-highline >= 1.6
# json_pure >= 0
BuildRequires: rubygem-json_pure
Requires: rubygem-json_pure
#
Url: http://brakemanscanner.org
Source: %{mod_full_name}.gem
#
Summary: Security vulnerability scanner for Ruby on Rails
License: MIT
Group: Development/Languages/Ruby
%description
Brakeman detects security vulnerabilities in Ruby on Rails applications via static analysis.
%package doc
Summary: RDoc documentation for %{mod_name}
Group: Development/Languages/Ruby
Requires: %{name} = %{version}
%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.
%prep
%build
%install
%gem_install %{S:0}
%files
%defattr(-,root,root,-)
%{_bindir}/brakeman
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
%changelog