|
stahnma |
92fc5b6 |
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
|
|
stahnma |
92fc5b6 |
%global gemname whiskey_disk
|
|
stahnma |
92fc5b6 |
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
Summary: Ruby tool for embarrassingly fast deployments
|
|
stahnma |
92fc5b6 |
Name: rubygem-%{gemname}
|
|
Michael Stahnke |
af47d36 |
Version: 0.6.24
|
|
Michael Stahnke |
af47d36 |
Release: 1%{?dist}
|
|
stahnma |
92fc5b6 |
Group: Development/Languages
|
|
stahnma |
92fc5b6 |
License: MIT
|
|
stahnma |
92fc5b6 |
URL: http://github.com/flogic/whiskey_disk
|
|
stahnma |
92fc5b6 |
Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
|
|
stahnma |
92fc5b6 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Michael Stahnke |
dfe18e0 |
Requires: ruby(abi) = 1.8
|
|
Michael Stahnke |
dfe18e0 |
Requires: rubygems
|
|
Michael Stahnke |
dfe18e0 |
Requires: rubygem(rake)
|
|
Michael Stahnke |
dfe18e0 |
BuildRequires: rubygems
|
|
Michael Stahnke |
dfe18e0 |
BuildRequires: rubygem(rake)
|
|
Michael Stahnke |
af47d36 |
# Commenting out these BRs and %%check right now to fix FTBFS bug 716028
|
|
Michael Stahnke |
af47d36 |
#BuildRequires: rubygem(bacon)
|
|
Michael Stahnke |
af47d36 |
#BuildRequires: rubygem(facon)
|
|
Michael Stahnke |
dfe18e0 |
BuildArch: noarch
|
|
Michael Stahnke |
dfe18e0 |
Provides: rubygem(%{gemname}) = %{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
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%build
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%install
|
|
stahnma |
92fc5b6 |
rm -rf %{buildroot}
|
|
stahnma |
92fc5b6 |
mkdir -p %{buildroot}%{gemdir}
|
|
stahnma |
92fc5b6 |
gem install --local --install-dir %{buildroot}%{gemdir} \
|
|
stahnma |
92fc5b6 |
--force --rdoc %{SOURCE0}
|
|
stahnma |
92fc5b6 |
mkdir -p %{buildroot}/%{_bindir}
|
|
stahnma |
92fc5b6 |
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
|
|
stahnma |
92fc5b6 |
rmdir %{buildroot}%{gemdir}/bin
|
|
stahnma |
92fc5b6 |
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
rm -f %{buildroot}%{geminstdir}/.gitignore
|
|
stahnma |
92fc5b6 |
rm -f %{buildroot}%{geminstdir}/*.gemspec
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%clean
|
|
stahnma |
92fc5b6 |
rm -rf %{buildroot}
|
|
stahnma |
92fc5b6 |
|
|
Michael Stahnke |
af47d36 |
%check
|
|
stahnma |
92fc5b6 |
pushd %{buildroot}%{geminstdir}
|
|
Michael Stahnke |
af47d36 |
#rake test
|
|
stahnma |
92fc5b6 |
popd
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%files
|
|
stahnma |
92fc5b6 |
%defattr(-, root, root, -)
|
|
stahnma |
79735c7 |
%{_bindir}/wd*
|
|
stahnma |
92fc5b6 |
%dir %{geminstdir}
|
|
stahnma |
92fc5b6 |
%doc %{geminstdir}/README.markdown
|
|
stahnma |
92fc5b6 |
%doc %{geminstdir}/MIT-LICENSE
|
|
stahnma |
92fc5b6 |
%doc %{geminstdir}/VERSION
|
|
stahnma |
92fc5b6 |
%doc %{geminstdir}/WHY.txt
|
|
stahnma |
79735c7 |
%doc %{geminstdir}/CHANGELOG
|
|
stahnma |
92fc5b6 |
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
|
|
stahnma |
92fc5b6 |
%{gemdir}/cache/%{gemname}-%{version}.gem
|
|
stahnma |
92fc5b6 |
%{geminstdir}/bin
|
|
stahnma |
92fc5b6 |
%{geminstdir}/lib
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%files doc
|
|
stahnma |
92fc5b6 |
%defattr(-, root, root, -)
|
|
stahnma |
92fc5b6 |
%{gemdir}/doc/%{gemname}-%{version}
|
|
stahnma |
92fc5b6 |
%{geminstdir}/examples
|
|
stahnma |
92fc5b6 |
%{geminstdir}/Rakefile
|
|
Michael Stahnke |
af47d36 |
%{geminstdir}/README.integration_specs
|
|
stahnma |
92fc5b6 |
%{geminstdir}/spec
|
|
stahnma |
92fc5b6 |
%{geminstdir}/tasks
|
|
stahnma |
92fc5b6 |
%{geminstdir}/init.rb
|
|
stahnma |
92fc5b6 |
%{geminstdir}/install.rb
|
|
Michael Stahnke |
af47d36 |
# This contains other git repos, used for testing
|
|
Michael Stahnke |
af47d36 |
%{geminstdir}/scenarios
|
|
stahnma |
92fc5b6 |
|
|
stahnma |
92fc5b6 |
%changelog
|
|
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
|