|
|
7f57fe7 |
%global gem_name whiskey_disk
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
Summary: Ruby tool for embarrassingly fast deployments
|
|
|
7f57fe7 |
Name: rubygem-%{gem_name}
|
|
Michael Stahnke |
af47d36 |
Version: 0.6.24
|
|
|
5548896 |
Release: 7%{?dist}
|
|
stahnma |
92fc5b6 |
Group: Development/Languages
|
|
stahnma |
92fc5b6 |
License: MIT
|
|
stahnma |
92fc5b6 |
URL: http://github.com/flogic/whiskey_disk
|
|
|
7f57fe7 |
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
stahnma |
92fc5b6 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e477856 |
Requires: ruby(release)
|
|
|
7f57fe7 |
Requires: ruby(rubygems)
|
|
Michael Stahnke |
dfe18e0 |
Requires: rubygem(rake)
|
|
|
7f57fe7 |
BuildRequires: rubygems-devel
|
|
Michael Stahnke |
dfe18e0 |
BuildRequires: rubygem(rake)
|
|
Michael Stahnke |
af47d36 |
# Commenting out these BRs and %%check right now to fix FTBFS bug 716028
|
|
|
7f57fe7 |
BuildRequires: rubygem(bacon)
|
|
|
7f57fe7 |
BuildRequires: rubygem(facon)
|
|
Michael Stahnke |
dfe18e0 |
BuildArch: noarch
|
|
|
7f57fe7 |
Provides: rubygem(%{gem_name}) = %{version}
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%description
|
|
stahnma |
92fc5b6 |
Opinionated gem for doing fast git-based server deployments.
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%package doc
|
|
stahnma |
92fc5b6 |
Summary: Documentation for %{name}
|
|
stahnma |
92fc5b6 |
Group: Documentation
|
|
stahnma |
92fc5b6 |
Requires: %{name} = %{version}-%{release}
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%description doc
|
|
stahnma |
92fc5b6 |
Documentation for %{name}.
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%prep
|
|
|
e477856 |
%setup -q -c -T
|
|
|
e477856 |
%gem_install -n %{SOURCE0}
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%build
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%install
|
|
stahnma |
92fc5b6 |
rm -rf %{buildroot}
|
|
|
e477856 |
mkdir -p %{buildroot}%{_bindir}
|
|
|
7f57fe7 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
e477856 |
mv .%{_bindir}/* %{buildroot}%{_bindir}
|
|
|
e477856 |
mv .%{gem_dir}/* %{buildroot}%{gem_dir}
|
|
|
7f57fe7 |
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
stahnma |
92fc5b6 |
|
|
|
7f57fe7 |
rm -f %{buildroot}%{gem_instdir}/.gitignore
|
|
|
7f57fe7 |
rm -f %{buildroot}%{gem_instdir}/*.gemspec
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%clean
|
|
stahnma |
92fc5b6 |
rm -rf %{buildroot}
|
|
stahnma |
92fc5b6 |
|
|
Michael Stahnke |
af47d36 |
%check
|
|
|
7f57fe7 |
pushd %{buildroot}%{gem_instdir}
|
|
|
7f57fe7 |
RUBYOPT=-I. rake
|
|
stahnma |
92fc5b6 |
popd
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%files
|
|
stahnma |
92fc5b6 |
%defattr(-, root, root, -)
|
|
stahnma |
79735c7 |
%{_bindir}/wd*
|
|
|
7f57fe7 |
%dir %{gem_instdir}
|
|
|
7f57fe7 |
%doc %{gem_instdir}/README.markdown
|
|
|
7f57fe7 |
%doc %{gem_instdir}/MIT-LICENSE
|
|
|
7f57fe7 |
%doc %{gem_instdir}/VERSION
|
|
|
7f57fe7 |
%doc %{gem_instdir}/WHY.txt
|
|
|
7f57fe7 |
%doc %{gem_instdir}/CHANGELOG
|
|
|
7f57fe7 |
%{gem_spec}
|
|
|
7f57fe7 |
%{gem_cache}
|
|
|
7f57fe7 |
%{gem_instdir}/bin
|
|
|
7f57fe7 |
%{gem_libdir}
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%files doc
|
|
stahnma |
92fc5b6 |
%defattr(-, root, root, -)
|
|
|
7f57fe7 |
%{gem_docdir}
|
|
|
7f57fe7 |
%{gem_instdir}/examples
|
|
|
7f57fe7 |
%{gem_instdir}/Rakefile
|
|
|
7f57fe7 |
%{gem_instdir}/README.integration_specs
|
|
|
7f57fe7 |
%{gem_instdir}/spec
|
|
|
7f57fe7 |
%{gem_instdir}/tasks
|
|
|
7f57fe7 |
%{gem_instdir}/init.rb
|
|
|
7f57fe7 |
%{gem_instdir}/install.rb
|
|
Michael Stahnke |
af47d36 |
# This contains other git repos, used for testing
|
|
|
7f57fe7 |
%{gem_instdir}/scenarios
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%changelog
|
|
|
5548896 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.24-7
|
|
|
5548896 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5548896 |
|
|
|
e477856 |
* Mon Mar 18 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.24-6
|
|
|
e477856 |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
e477856 |
|
|
|
87456d8 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.24-5
|
|
|
87456d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
87456d8 |
|
|
|
ccd55fd |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.24-4
|
|
|
ccd55fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ccd55fd |
|
|
|
948043f |
* Tue Feb 07 2012 Vít Ondruch <vondruch@redhat.com> - 0.6.24-3
|
|
|
948043f |
- Fix broken dependency.
|
|
|
948043f |
|
|
|
7f57fe7 |
* Fri Feb 03 2012 Vít Ondruch <vondruch@redhat.com> - 0.6.24-2
|
|
|
7f57fe7 |
- Rebuilt for Ruby 1.9.3.
|
|
|
7f57fe7 |
|
|
Michael Stahnke |
af47d36 |
* Sun Jan 08 2012 <stahnma@fedoraproject.org> - 0.6.24-1
|
|
Michael Stahnke |
af47d36 |
- Update to 0.6.24
|
|
Michael Stahnke |
af47d36 |
- Fix 716028
|
|
Michael Stahnke |
af47d36 |
|
|
|
f0230f9 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
f0230f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
f0230f9 |
|
|
stahnma |
79735c7 |
* Fri Dec 24 2010 Michael Stahnke <stahnma@fedoraproject.org> - 0.6.2-1
|
|
stahnma |
79735c7 |
- New version from upstream
|
|
stahnma |
79735c7 |
|
|
stahnma |
61057b9 |
* Fri Nov 12 2010 Michael Stahnke <stahnma@fedoraproject.org> - 0.5.4-1
|
|
stahnma |
61057b9 |
- New version from upstream
|
|
stahnma |
61057b9 |
|
|
stahnma |
92fc5b6 |
* Mon Oct 25 2010 Michael Stahnke <stahnma@fedoraproject.org> - 0.5.3-1
|
|
stahnma |
92fc5b6 |
- Initial package
|