|
|
fec72c6 |
%global gem_name thin
|
|
|
1b29e6e |
|
|
|
fec72c6 |
Name: rubygem-%{gem_name}
|
|
|
564299b |
Version: 1.8.0
|
|
|
564299b |
Release: 1%{?dist}
|
|
|
e29440f |
Summary: A thin and fast web server
|
|
|
edbbdfa |
# lib/thin/stats.html.erb: BSD
|
|
|
edbbdfa |
# spec/rails_app/public/javascripts/*.js: MIT
|
|
|
edbbdfa |
License: (GPLv2+ or Ruby) and BSD and MIT
|
|
|
0829d25 |
URL: https://github.com/macournoyer/thin
|
|
|
e29440f |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
564299b |
# git clone https://github.com/macournoyer/thin.git && cd thin
|
|
|
564299b |
# git archive -v -o thin-1.8.0-tests.tar.gz v1.8.0 spec/
|
|
|
564299b |
Source1: %{gem_name}-%{version}-tests.tar.gz
|
|
|
fb95e04 |
BuildRequires: ruby(release)
|
|
|
fec72c6 |
BuildRequires: rubygems-devel
|
|
|
e29440f |
BuildRequires: ruby-devel
|
|
|
c45d8a1 |
# Compiler is required for build of gem binary extension.
|
|
|
c45d8a1 |
# https://fedoraproject.org/wiki/Packaging:C_and_C++#BuildRequires_and_Requires
|
|
|
c45d8a1 |
BuildRequires: gcc
|
|
|
81980c0 |
BuildRequires: rubygem(rspec)
|
|
|
edbbdfa |
BuildRequires: rubygem(eventmachine) >= 1.0.4
|
|
|
1b29e6e |
BuildRequires: rubygem(daemons) >= 1.0.9
|
|
|
1b29e6e |
BuildRequires: rubygem(rack) >= 1.0.0
|
|
|
1b29e6e |
|
|
|
1b29e6e |
%description
|
|
Chris Lalancette |
8f44cf9 |
Thin is a Ruby web server that glues together three of the best Ruby
|
|
Chris Lalancette |
8f44cf9 |
libraries in web history.
|
|
Chris Lalancette |
8f44cf9 |
The Mongrel parser, the root of Mongrel speed and security,
|
|
|
1b29e6e |
Event Machine, a network I/O library with extremely high scalability and
|
|
|
1b29e6e |
Rack, a minimal interface between webservers and Ruby frameworks.
|
|
|
1b29e6e |
|
|
Michal Fojtik |
9cc9e7d |
%package doc
|
|
Michal Fojtik |
9cc9e7d |
Summary: Documentation for %{name}
|
|
|
e29440f |
Requires: %{name} = %{version}-%{release}
|
|
|
e29440f |
BuildArch: noarch
|
|
Michal Fojtik |
9cc9e7d |
|
|
Michal Fojtik |
9cc9e7d |
%description doc
|
|
|
e29440f |
Documentation for %{name}.
|
|
Michal Fojtik |
9cc9e7d |
|
|
|
1b29e6e |
%prep
|
|
|
22ad007 |
%setup -q -n %{gem_name}-%{version} -b 1
|
|
|
22ad007 |
|
|
|
1b29e6e |
%build
|
|
|
22ad007 |
# Create the gem as gem install only works on a gem file
|
|
|
22ad007 |
gem build ../%{gem_name}-%{version}.gemspec
|
|
|
22ad007 |
|
|
|
22ad007 |
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
|
|
22ad007 |
# by default, so that we can move it into the buildroot in %%install
|
|
|
22ad007 |
%gem_install
|
|
|
1b29e6e |
|
|
|
1b29e6e |
%install
|
|
|
fec72c6 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
e29440f |
cp -a .%{gem_dir}/* \
|
|
|
5c5b69d |
%{buildroot}%{gem_dir}/
|
|
|
5c5b69d |
|
|
|
8b98eeb |
mkdir -p %{buildroot}%{gem_extdir_mri}
|
|
|
8b98eeb |
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
|
|
|
8b98eeb |
|
|
|
e29440f |
# Prevent dangling symlink in -debuginfo (rhbz#878863).
|
|
|
e29440f |
rm -rf %{buildroot}%{gem_instdir}/ext/
|
|
|
5c5b69d |
|
|
|
5c5b69d |
mkdir -p %{buildroot}%{_bindir}
|
|
|
c45d8a1 |
cp -a .%{_bindir}/* \
|
|
|
5c5b69d |
%{buildroot}%{_bindir}/
|
|
|
5c5b69d |
|
|
|
5c5b69d |
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
5c5b69d |
|
|
|
1b29e6e |
%check
|
|
|
fec72c6 |
pushd .%{gem_instdir}
|
|
|
22ad007 |
cp -a %{_builddir}/spec spec
|
|
|
5c5b69d |
|
|
|
81980c0 |
# To prevent timeout error on koji build.
|
|
|
81980c0 |
sed -i '/^ def wait_for_server_to_start$/,/^ end$/ s/(10)/(30)/' \
|
|
|
d875d4c |
spec/daemonizing_spec.rb
|
|
|
087f042 |
|
|
|
81980c0 |
rspec -I$(dirs +1)%{gem_extdir_mri} spec
|
|
|
d15c682 |
|
|
|
1b29e6e |
popd
|
|
|
1b29e6e |
|
|
|
1b29e6e |
%files
|
|
|
5c5b69d |
%dir %{gem_instdir}
|
|
|
e29440f |
%{_bindir}/thin
|
|
|
5c5b69d |
%{gem_extdir_mri}
|
|
|
edbbdfa |
%{gem_instdir}/bin
|
|
|
edbbdfa |
%{gem_libdir}
|
|
|
5c5b69d |
%exclude %{gem_cache}
|
|
|
5c5b69d |
%{gem_spec}
|
|
Michal Fojtik |
9cc9e7d |
|
|
Michal Fojtik |
9cc9e7d |
%files doc
|
|
|
e29440f |
%doc %{gem_docdir}
|
|
|
fec72c6 |
%{gem_instdir}/example/
|
|
|
e29440f |
%doc %{gem_instdir}/CHANGELOG
|
|
|
e29440f |
%doc %{gem_instdir}/README.md
|
|
|
fec72c6 |
%{gem_instdir}/Rakefile
|
|
|
1b29e6e |
|
|
|
1b29e6e |
%changelog
|
|
|
564299b |
* Tue Feb 02 2021 Vít Ondruch <vondruch@redhat.com> - 1.8.0-1
|
|
|
564299b |
- Update to Thin 1.8.0.
|
|
|
564299b |
Resolves: rhbz#1897471
|
|
|
564299b |
|
|
|
a0ceb38 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-17
|
|
|
a0ceb38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a0ceb38 |
|
|
|
5847240 |
* Wed Jan 6 2021 Vít Ondruch <vondruch@redhat.com> - 1.7.2-16
|
|
|
5847240 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.0
|
|
|
5847240 |
|
|
|
0829d25 |
* Fri Oct 30 2020 Jun Aruga <jaruga@redhat.com> - 1.7.2-15
|
|
|
81980c0 |
- Fix to run the tests on RSpec 3.
|
|
|
0829d25 |
- Fix outdated URL.
|
|
|
81980c0 |
|
|
|
d25f16a |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-14
|
|
|
d25f16a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
d25f16a |
|
|
|
037d8ee |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-13
|
|
|
037d8ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
037d8ee |
|
|
|
4cd6bb0 |
* Thu Jan 23 2020 Vít Ondruch <vondruch@redhat.com> - 1.7.2-12
|
|
|
4cd6bb0 |
- Fix FTBFS due maximum_connections changes.
|
|
|
4cd6bb0 |
|
|
|
8c0e9ed |
* Fri Jan 17 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.7.2-12
|
|
|
8c0e9ed |
- F-32: rebuild against ruby27
|
|
|
8c0e9ed |
|
|
|
59962a8 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-11
|
|
|
59962a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
59962a8 |
|
|
|
f553ae6 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-10
|
|
|
f553ae6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f553ae6 |
|
|
|
88766da |
* Fri Jan 18 2019 Vít Ondruch <vondruch@redhat.com> - 1.7.2-9
|
|
|
88766da |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.6
|
|
|
88766da |
|
|
|
b7adfb7 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-8
|
|
|
b7adfb7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b7adfb7 |
|
|
|
1c26460 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-7
|
|
|
1c26460 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
1c26460 |
|
|
|
f74636f |
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 1.7.2-6
|
|
|
f74636f |
- Rebuilt for switch to libxcrypt
|
|
|
f74636f |
|
|
|
84d0535 |
* Thu Jan 04 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.7.2-5
|
|
|
84d0535 |
- F-28: rebuild for ruby25
|
|
|
84d0535 |
|
|
|
d875d4c |
* Tue Aug 08 2017 Jun Aruga <jaruga@redhat.com> - 1.7.2-4
|
|
|
d875d4c |
- Fix FTBFS.
|
|
|
d875d4c |
|
|
|
f2ec9ba |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
|
|
|
f2ec9ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
f2ec9ba |
|
|
|
e154680 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-2
|
|
|
e154680 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e154680 |
|
|
|
c45d8a1 |
* Wed Jul 19 2017 Vít Ondruch <vondruch@redhat.com> - 1.7.2-1
|
|
|
c45d8a1 |
- Update to Thin 1.7.2.
|
|
|
c45d8a1 |
|
|
|
6ce5174 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
|
|
|
6ce5174 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6ce5174 |
|
|
|
f402cdf |
* Tue Jan 10 2017 Vít Ondruch <vondruch@redhat.com> - 1.7.0-2
|
|
|
f402cdf |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4
|
|
|
f402cdf |
|
|
|
edbbdfa |
* Fri Jul 29 2016 Jun Aruga <jaruga@redhat.com> - 1.7.0-1
|
|
|
edbbdfa |
- Update to Thin 1.7.0.
|
|
|
edbbdfa |
|
|
|
56af378 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-3
|
|
|
56af378 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
56af378 |
|
|
|
dac0ed1 |
* Fri Jan 08 2016 Vít Ondruch <vondruch@redhat.com> - 1.6.4-2
|
|
|
dac0ed1 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3
|
|
|
dac0ed1 |
|
|
|
e29440f |
* Tue Oct 20 2015 Vít Ondruch <vondruch@redhat.com> - 1.6.4-1
|
|
|
e29440f |
- Update to Thin 1.6.4.
|
|
|
e29440f |
|
|
|
ffd219a |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-5
|
|
|
ffd219a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
ffd219a |
|
|
|
b673dd6 |
* Sun Jan 18 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.6.2-4
|
|
|
b673dd6 |
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
|
|
|
b673dd6 |
- Use rspec2 for now
|
|
|
b673dd6 |
|
|
|
e3091eb |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-3
|
|
|
e3091eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
e3091eb |
|
|
|
323f8bc |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
|
|
|
323f8bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
323f8bc |
|
|
|
087f042 |
* Wed May 21 2014 Vít Ondruch <vondruch@redhat.com> - 1.6.2-1
|
|
|
087f042 |
- Update to thin 1.6.2.
|
|
|
087f042 |
|
|
|
8b98eeb |
* Wed Apr 16 2014 Josef Stribny <jstribny@redhat.com> - 1.5.0-3
|
|
|
8b98eeb |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
|
|
|
8b98eeb |
|
|
|
97bf81f |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-2
|
|
|
97bf81f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
97bf81f |
|
|
|
5c5b69d |
* Thu Feb 28 2013 Vít Ondruch <vondruch@redhat.com> - 1.5.0-1
|
|
|
5c5b69d |
- Update to thin 1.5.0.
|
|
|
5c5b69d |
|
|
|
fb95e04 |
* Thu Feb 28 2013 Vít Ondruch <vondruch@redhat.com> - 1.3.1-6
|
|
|
fb95e04 |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
fb95e04 |
|
|
|
1724bdc |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
|
|
|
1724bdc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
1724bdc |
|
|
|
da006a3 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
|
|
|
da006a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
da006a3 |
|
|
|
fec72c6 |
* Wed Feb 01 2012 Vít Ondruch <vondruch@redhat.com> - 1.3.1-3
|
|
|
fec72c6 |
- Rebuilt for Ruby 1.9.3.
|
|
|
fec72c6 |
|
|
|
02302bc |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
|
|
|
02302bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
02302bc |
|
|
|
d15c682 |
* Fri Nov 25 2011 Vít Ondruch <vondruch@redhat.com> - 1.3.1-1
|
|
|
d15c682 |
- Update to Thin 1.3.1.
|
|
|
d15c682 |
|
|
Chris Lalancette |
b43612c |
* Tue Sep 06 2011 Chris Lalancette <clalance@redhat.com> - 1.2.11-10
|
|
Chris Lalancette |
b43612c |
- Bump the release so upgrades from F-16 work
|
|
Chris Lalancette |
b43612c |
|
|
Chris Lalancette |
8286c79 |
* Mon Jul 25 2011 Chris Lalancette <clalance@redhat.com> - 1.2.11-3
|
|
Chris Lalancette |
8286c79 |
- Move stats.html.erb to the main package (it is a runtime requirement)
|
|
Chris Lalancette |
8286c79 |
|
|
Chris Lalancette |
7c85dd7 |
* Fri Jul 22 2011 Chris Lalancette <clalance@redhat.com> - 1.2.11-2
|
|
Chris Lalancette |
7c85dd7 |
- Fix the load path for thin_parser
|
|
Chris Lalancette |
7c85dd7 |
|
|
Michal Fojtik |
63b03ef |
* Tue Mar 01 2011 Michal Fojtik <mfojtik@redhat.com> - 1.2.11-1
|
|
Michal Fojtik |
63b03ef |
- Version bump
|
|
Michal Fojtik |
63b03ef |
|
|
Michal Fojtik |
5785e01 |
* Tue Mar 01 2011 Michal Fojtik <mfojtik@redhat.com> - 1.2.8-3
|
|
Michal Fojtik |
5785e01 |
- Removed Rake dependency completely
|
|
Michal Fojtik |
5785e01 |
|
|
Michal Fojtik |
e6a74af |
* Tue Mar 01 2011 Michal Fojtik <mfojtik@redhat.com> - 1.2.8-2
|
|
Michal Fojtik |
e6a74af |
- Fixed RSpec tests
|
|
Michal Fojtik |
e6a74af |
|
|
Michal Fojtik |
9cc9e7d |
* Tue Mar 01 2011 Michal Fojtik <mfojtik@redhat.com> - 1.2.8-1
|
|
Michal Fojtik |
9cc9e7d |
- Updated to upstream version
|
|
Michal Fojtik |
9cc9e7d |
|
|
|
339c9a7 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-2
|
|
|
339c9a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
339c9a7 |
|
|
Michal Fojtik |
b3f35a4 |
* Wed Sep 08 2010 Michal Fojtik <mfojtik@redhat.com> - 1.2.7-1
|
|
Michal Fojtik |
b3f35a4 |
- Updated to upstream version
|
|
Michal Fojtik |
b3f35a4 |
|
|
|
5c5b69d |
* Thu Feb 04 2010 Michal Fojtik <mfojtik@redhat.com> - 1.2.5-5
|
|
|
1b29e6e |
- Excluded ppc64 in tests (566401)
|
|
|
1b29e6e |
- Fixed Licensing
|
|
|
1b29e6e |
|
|
|
5c5b69d |
* Wed Feb 03 2010 Michal Fojtik <mfojtik@redhat.com> - 1.2.5-4
|
|
|
1b29e6e |
- Added rspec tests
|
|
|
1b29e6e |
- Fixed unwanted recompilation
|
|
|
1b29e6e |
- Fixed licensing
|
|
|
1b29e6e |
|
|
|
1b29e6e |
* Tue Feb 02 2010 Michal Fojtik <mfojtik@redhat.com> - 1.2.5-3
|
|
|
1b29e6e |
- Fixed description
|
|
|
1b29e6e |
|
|
|
1b29e6e |
* Tue Feb 02 2010 Michal Fojtik <mfojtik@redhat.com> - 1.2.5-2
|
|
|
1b29e6e |
- Build fixed
|
|
|
1b29e6e |
- Licence corrected
|
|
|
1b29e6e |
- Added missing requires
|
|
|
1b29e6e |
- Marked relevant files as documentation
|
|
|
1b29e6e |
|
|
|
1b29e6e |
* Tue Feb 02 2010 Michal Fojtik <mfojtik@redhat.com> - 1.2.5-1
|
|
|
1b29e6e |
- Initial package
|
|
|
1b29e6e |
|
|
|
1b29e6e |
|