Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:javagg
rubygem-warden
warden.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File warden.spec of Package rubygem-warden
%if 0%{?fedora}%{?rhel} <= 6 %global scl ruby193 %global scl_prefix ruby193- %endif %{!?scl:%global pkg_name %{name}} %{?scl:%scl_package rubygem-%{gem_name}} %global gem_name warden %global rubyabi 1.9.1 Summary: Rack middleware that provides authentication for rack applications Name: %{?scl:%scl_prefix}rubygem-%{gem_name} Version: 1.2.3 Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://github.com/hassox/warden Source0: http://ruby.taobao.orggems/%{gem_name}-%{version}.gem %if 0%{?fedora} >= 19 Requires: ruby(release) %else Requires: %{?scl:%scl_prefix}ruby(abi) >= %{rubyabi} %endif Requires: %{?scl:%scl_prefix}ruby(rubygems) Requires: %{?scl:%scl_prefix}rubygem(rack) >= 1.0 %if 0%{?fedora}%{?rhel} <= 6 BuildRequires: %{?scl:%scl_prefix}build BuildRequires: scl-utils-build %endif %if 0%{?fedora} >= 19 BuildRequires: ruby(release) BuildRequires: rubypick %else BuildRequires: %{?scl:%scl_prefix}ruby(abi) >= %{rubyabi} %endif BuildRequires: %{?scl:%scl_prefix}rubygems-devel BuildRequires: %{?scl:%scl_prefix}ruby BuildArch: noarch Provides: %{?scl:%scl_prefix}rubygem(%{gem_name}) = %{version} %description %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep %{?scl:scl enable %scl "} gem unpack %{SOURCE0} %setup -q -D -T -n %{gem_name}-%{version} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %{?scl:"} %build %{?scl:scl enable %scl - << \EOF} gem build %{gem_name}.gemspec %if 0%{?fedora} >= 19 %gem_install %else export CONFIGURE_ARGS="--with-cflags='%{optflags}' $CONFIGURE_ARGS" gem install -V \ --local \ --install-dir ./%{gem_dir}\ --bindir ./%{_bindir} \ --force \ --rdoc \ --ri \ --backtrace \ %{gem_name}-%{version}.gem %endif %{?scl:EOF} %clean rm -rf %{buildroot} %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/ # Remove build leftovers. rm -rf %{buildroot}%{gem_instdir}/.yard* %files %dir %{gem_instdir} %{gem_libdir} %exclude %{gem_instdir}/Gemfile* %exclude %{gem_instdir}/warden.gemspec %doc %{gem_instdir}/LICENSE %exclude %{gem_cache} %{gem_spec} %files doc %{gem_instdir}/spec %{gem_instdir}/Rakefile %doc %{gem_instdir}/README.textile %doc %{gem_instdir}/History.rdoc %doc %{gem_docdir} %changelog * Thu Nov 28 2013 Alex Lee <lu.lee05@gmail.com> - 1.2.3-1 - Initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor