Sisyphus repository
Last update: 2017-06-26 19:06:04 +0400 | SRPMs: 17957 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 0.2.0-alt1
p8: 0.2.0-alt1
p7: 0.2.0-alt1
t7: 0.2.0-alt1

Group :: Development/Ruby
Source RPM: ruby-simple_oauth

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

%define  pkgname simple_oauth
 
Name:          ruby-%pkgname
Version: 0.2.0 
Release: alt1
 
Summary: Simply builds and verifies OAuth headers
License: MIT/Ruby
Group:   Development/Ruby
Url:     https://github.com/laserlemon/simple_oauth
 
Packager: Andrey Cherepanov <cas at altlinux.org>
BuildArch: noarch
 
Source:  %pkgname-%version.tar
 
BuildRequires(pre):
 rpm-build-ruby
BuildRequires: ruby-test-unit ruby-tool-rdoc ruby-tool-setup
 
%description
Simply builds and verifies OAuth headers.

%package doc
Summary: Documentation files for %name
Group: Documentation
 
BuildArch: noarch
 
%description doc
Documentation files for %{name}.

%prep
%setup -n %pkgname-%version
%update_setup_rb
 
%build
%ruby_config
%ruby_build
 
%install
%ruby_install
%rdoc lib/
# Remove unnecessary files

rm -f %buildroot%ruby_ri_sitedir/{Object/cdesc-Object.ri,cache.ri,created.rid}
 
%check
%ruby_test_unit -Ilib:test test
 
%files
%doc README*
%ruby_sitelibdir/*
 
%files doc
%ruby_ri_sitedir/*
 
%changelog
* Tue Apr 22 2014 Andrey Cherepanov <cas at altlinux.org> 0.2.0-alt1
- Initial build for ALT Linux

 
© 2009–2016 Igor Zubkov