Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ec1b936883
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 160 lines (117 sloc) 4.77 kb
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 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%define gemname abiquo-etk
%define geminstdir %{gemdir}/gems/%{gemname}-%{version}

Summary: Abiquo Elite Toolkit
Name: rubygem-%{gemname}
Version: 0.4.35
Release: 1%{?dist}
Group: Development/Languages
License: GPLv2+ or Ruby
URL: http://github.com/rubiojr/abiquo-etk
Source0: %{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: rubygems
Requires: rubygem(nokogiri) >= 1.3
Requires: rubygem(term-ansicolor) >= 1.0
BuildRequires: rubygems
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

%description
Tools to troubleshoot your Abiquo installation


%prep

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
            --force --rdoc %{SOURCE0}
mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}%{gemdir}/bin
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%{_bindir}/abicli
%{_bindir}/abiquo-check-16-install
%{_bindir}/abiquo-initenv
%{gemdir}/gems/%{gemname}-%{version}/
%doc %{gemdir}/doc/%{gemname}-%{version}
%doc %{geminstdir}/LICENSE
%doc %{geminstdir}/README.rdoc
%doc %{geminstdir}/TODO
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec


%changelog
* Tue Nov 09 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.34-1
- Updated to upstream 0.4.35-1

* Tue Nov 09 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.34-1
- Updated to upstream 0.4.34-1

* Thu Nov 04 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.33-1
- Updated to upstream 0.4.33-1

* Tue Nov 03 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.32-1
- Updated to upstream 0.4.32-1

* Tue Nov 02 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.31-1
- Updated to upstream 0.4.31

* Tue Nov 02 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.30-1
- Updated to upstream 0.4.30

* Tue Nov 02 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.29-1
- Updated to upstream 0.4.29

* Fri Oct 29 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.28-1
- Updated to upstream 0.4.28

* Thu Oct 28 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.27-1
- Updated to upstream 0.4.27

* Thu Oct 25 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.22-1
- Updated to upstream 0.4.22

* Thu Oct 21 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.20-1
- Updated to upstream 0.4.20

* Wed Oct 20 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.14-1
- Updated to upstream 0.4.14

* Wed Oct 20 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.13-1
- Updated to upstream 0.4.13

* Wed Oct 20 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.12-1
- Updated to upstream 0.4.12

* Thu Oct 07 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.9-1
- Updated to upstream 0.4.9

* Thu Oct 07 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.8-1
- Updated to upstream 0.4.8

* Fri Oct 01 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.7-1
- Updated to upstream 0.4.7

* Fri Oct 01 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.6-1
- Updated to upstream 0.4.6

* Fri Oct 01 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.5-1
- Updated to upstream 0.4.5

* Tue Sep 28 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.3-1
- Updated to upstream 0.4.3

* Mon Sep 27 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.2-1
- Updated to upstream 0.4.2

* Mon Sep 27 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4.1-1
- Updated to upstream 0.4.1

* Mon Sep 27 2010 : Sergio Rubio <srubio@abiquo.com> - 0.4-1
- Updated to upstream 0.4

* Thu Sep 23 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.11-1
- Updated to upstream 0.3.11

* Thu Sep 23 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.10-1
- Updated to upstream 0.3.10

* Thu Sep 23 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.9-1
- Updated to upstream 0.3.9

* Wed Sep 22 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.8-1
- Updated to upstream 0.3.8

* Tue Sep 21 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.7-1
- Updated to upstream 0.3.7

* Thu Sep 16 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.6-1
- Updated to upstream 0.3.6

* Tue Sep 07 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.5-1
- Updated to upstream 0.3.5

* Tue Sep 07 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.4-1
- Updated to upstream 0.3.4

* Mon Sep 06 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.3-1
- Updated to upstream 0.3.3

* Mon Aug 30 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.2-1
- Updated to upstream 0.3.2
* Mon Aug 30 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3.1-1
- Updated to upstream 0.3.1
* Mon Aug 30 2010 : Sergio Rubio <srubio@abiquo.com> - 0.3-1
- Initial package
Something went wrong with that request. Please try again.