Пакет ruby-rack: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | # vim: set ft=spec: -*- rpm-spec -*- %define pkgname rack Name: ruby-%pkgname Version: 1.6.8 Release: alt0.M70C.2 Summary: Modular Ruby webserver interface Group: Development/Ruby License: MIT/Ruby Url: http://rubyforge.org/projects/rack/ BuildArch: noarch Source: %pkgname-%version.tar Patch: %name-%version-%release.patch # Automatically added by buildreq on Sat Nov 01 2008 (-bi) BuildRequires: rpm-build-ruby ruby-tool-rdoc ruby-tool-setup %description Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call. You may need to install appropriate %name-handler-XXX. # Different handler autoload %add_findreq_skiplist %ruby_sitelibdir/rack/handler.rb # name Class file %define ruby_rack_subpackage() \ %package handler-%1 \ Summary: %2 handler for Rack \ Group: Development/Ruby \ PreReq: %name = %version-%release \ \ %description handler-%1 \ %2 handler for Rack. \ \ %files handler-%1 \ %ruby_sitelibdir/rack/handler/%3.rb \ %nil %ruby_rack_subpackage cgi CGI cgi %ruby_rack_subpackage fastcgi FastCGI fastcgi %ruby_rack_subpackage mongrel Mongrel mongrel %ruby_rack_subpackage webrick WEBrick webrick %package doc Summary: Documentation files for %name Group: Documentation %description doc Documentation files for %name %prep %setup -n %pkgname-%version %patch -p1 %update_setup_rb %build %ruby_config %ruby_build %install %ruby_install # Install gemspec export rbVersion=`ruby -e "puts RbConfig::CONFIG[\"ruby_version\"]"` install -Dm 0644 %pkgname.gemspec %buildroot%ruby_libdir/gems/$rbVersion/specifications/%pkgname.gemspec %rdoc lib/ %files %doc README* KNOWN-ISSUES %_bindir/rackup %ruby_sitelibdir/* %exclude %ruby_sitelibdir/rack/handler/* %ruby_libdir/gems/*/specifications/*.gemspec %files doc %doc example %ruby_ri_sitedir/Rack* %changelog * Tue May 15 2018 Andrey Cherepanov <cas@altlinux.org> 1.6.8-alt0.M70C.2 - Rebuild with Ruby 2.4.4. * Thu Jun 15 2017 Andrey Cherepanov <cas@altlinux.org> 1.6.8-alt0.M70C.1 - Backport new version to c7 branch - Package gemspec * Sat Dec 01 2012 Led <led@altlinux.ru> 1.2.2-alt1.1 - Rebuilt with ruby-1.9.3-alt1 * Wed Mar 23 2011 Andriy Stepanov <stanv@altlinux.ru> 1.2.2-alt1 - [1.2.2] * Sun Apr 11 2010 Alexey I. Froloff <raorn@altlinux.org> 1.1.0-alt2 - Fix package broken by erthad * Wed Mar 31 2010 Timur Batyrshin <erthad@altlinux.org> 1.1.0-alt1 - [1.1.0] * Mon Oct 19 2009 Alexey I. Froloff <raorn@altlinux.org> 1.0.1-alt1 - [1.0.1] * Sun Oct 18 2009 Alexey I. Froloff <raorn@altlinux.org> 1.0.0-alt3 - Updated to 1.0-16-g99c47b8 - Force all form data to be UTF-8 String's * Sun Aug 16 2009 Alexey I. Froloff <raorn@altlinux.org> 1.0.0-alt2 - Backported Ruby 1.9 encoding-related fixes. * Sun Jun 28 2009 Alexey I. Froloff <raorn@altlinux.org> 1.0.0-alt1 - [1.0.0] - Packaged rackup script - Dropped unused handlers * Sat Nov 01 2008 Sir Raorn <raorn@altlinux.ru> 0.4.0-alt1 - Built for Sisyphus |