Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 209 lines (167 sloc) 6.724 kb
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
1 %global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
2 %global gemname boxgrinder-build
3 %global geminstdir %{gemdir}/gems/%{gemname}-%{version}
4 %global rubyabi 1.8
5
6 Summary: A tool for creating appliances from simple plain text files
7 Name: rubygem-%{gemname}
755b2fc Marek Goldmann BGBUILD-81: post command execution w/ setarch breaks commands which are ...
goldmann authored
8 Version: 0.9.0
97a71b7 Marek Goldmann added validation for OS before building, more tests, version bump
goldmann authored
9 Release: 1%{?dist}
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
10 Group: Development/Languages
d4a0b17 Marek Goldmann updated license in spec file + removed gem requires from boxgrinder-buil...
goldmann authored
11 License: LGPLv3+
3100cda Marek Goldmann BGBUILD-165: Use version in dependencies in gem and in RPM only where ne...
goldmann authored
12 URL: http://boxgrinder.org/
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
13 Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
edf07e1 Marek Goldmann Added BuildRoot tag to build for EPEL 5
goldmann authored
14 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
15
16 Requires: ruby(abi) = %{rubyabi}
3100cda Marek Goldmann BGBUILD-165: Use version in dependencies in gem and in RPM only where ne...
goldmann authored
17 Requires: rubygem(boxgrinder-core) >= 0.2.1
18 Requires: rubygem(boxgrinder-core) < 0.3.0
b7db5ec Marek Goldmann added ruby-libguestfs require
goldmann authored
19 Requires: ruby-libguestfs
d662731 Marek Goldmann fixed [BGBUILD-92] Enable --trace switch by default + make using -f (--f...
goldmann authored
20 Requires: parted
21 Requires: e2fsprogs
b0088b8 Marek Goldmann rake task for installing RPMs
goldmann authored
22
945c35c Marek Goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
23 BuildRequires: rubygem(rake)
24 BuildRequires: rubygem(rspec)
3100cda Marek Goldmann BGBUILD-165: Use version in dependencies in gem and in RPM only where ne...
goldmann authored
25 BuildRequires: rubygem(boxgrinder-core) >= 0.2.1
26 BuildRequires: rubygem(boxgrinder-core) < 0.3.0
f171e0f Marek Goldmann added BuildRequires: rubygem(echoe) to spec file
goldmann authored
27 BuildRequires: rubygem(echoe)
b7db5ec Marek Goldmann added ruby-libguestfs require
goldmann authored
28 BuildRequires: ruby-libguestfs
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
29
4abddbd Marek Goldmann Imported all plugins from boxgrinder-build-plugins repo, updated spec fi...
goldmann authored
30 # EBS and S3
31
32 Requires: rubygem(amazon-ec2)
33 # Fixes blankslate error
34 Requires: rubygem(builder)
35 Requires: rubygem(aws)
36 Requires: euca2ools >= 1.3.1-4
37
38 BuildRequires: rubygem(amazon-ec2)
39 BuildRequires: rubygem(aws)
40 # Fixes blankslate error
41 BuildRequires: rubygem(builder)
42
43 # SFTP
44
45 Requires: rubygem(net-sftp)
46 Requires: rubygem(net-ssh)
47 Requires: rubygem(progressbar)
48
49 BuildRequires: rubygem(net-sftp)
50 BuildRequires: rubygem(net-ssh)
51 BuildRequires: rubygem(progressbar)
52
53 # RPM-BASED
54
55 Requires: appliance-tools
56 Requires: yum-utils
57
58 # EC2
59
60 Requires: rsync
61 Requires: wget
62 Requires: util-linux
63
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
64 BuildArch: noarch
65 Provides: rubygem(%{gemname}) = %{version}
66
4abddbd Marek Goldmann Imported all plugins from boxgrinder-build-plugins repo, updated spec fi...
goldmann authored
67 Obsoletes: rubygem(boxgrinder-build-ebs-delivery-plugin)
68 Obsoletes: rubygem(boxgrinder-build-s3-delivery-plugin)
69 Obsoletes: rubygem(boxgrinder-build-local-delivery-plugin)
70 Obsoletes: rubygem(boxgrinder-build-sftp-delivery-plugin)
71
72 Obsoletes: rubygem(boxgrinder-build-centos-os-plugin)
73 Obsoletes: rubygem(boxgrinder-build-rhel-os-plugin)
74 Obsoletes: rubygem(boxgrinder-build-fedora-os-plugin)
75 Obsoletes: rubygem(boxgrinder-build-rpm-based-os-plugin)
76
77 Obsoletes: rubygem(boxgrinder-build-ec2-platform-plugin)
78 Obsoletes: rubygem(boxgrinder-build-vmware-platform-plugin)
79 Obsoletes: rubygem(boxgrinder-build-virtualbox-platform-plugin)
80
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
81 %description
82 A tool for creating appliances from simple plain text files for various
83 virtual environments
84
db0804e Marek Goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
85 %package doc
86 Summary: Documentation for %{name}
87 Group: Documentation
88 Requires:%{name} = %{version}-%{release}
89
90 %description doc
91 Documentation for %{name}
92
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
93 %prep
94
95 %build
96
97 %install
98 rm -rf %{buildroot}
945c35c Marek Goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
99 rm -rf %{_builddir}%{gemdir}
100
101 mkdir -p %{_builddir}%{gemdir}
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
102 mkdir -p %{buildroot}/%{_bindir}
945c35c Marek Goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
103 mkdir -p %{buildroot}/%{gemdir}
104
105 gem install --local --install-dir %{_builddir}%{gemdir} \
106 --force --rdoc %{SOURCE0}
107 mv %{_builddir}%{gemdir}/bin/* %{buildroot}/%{_bindir}
108 find %{_builddir}%{geminstdir}/bin -type f | xargs chmod a+x
109 cp -r %{_builddir}%{gemdir}/* %{buildroot}/%{gemdir}
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
110
db0804e Marek Goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
111 %check
945c35c Marek Goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
112 pushd %{_builddir}/%{geminstdir}
db0804e Marek Goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
113 rake spec
114 popd
115
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
116 %files
117 %defattr(-, root, root, -)
03ac20c Marek Goldmann BGBUILD-175: Rewrite boxgrinder CLI to remove thor dependency, forgotten...
goldmann authored
118 %{_bindir}/boxgrinder-build
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
119 %dir %{geminstdir}
120 %{geminstdir}/bin
121 %{geminstdir}/lib
122 %doc %{geminstdir}/CHANGELOG
123 %doc %{geminstdir}/LICENSE
fe2cd6c Marc Savy Correct spec doc link
msavy authored
124 %doc %{geminstdir}/README.md
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
125 %doc %{geminstdir}/Manifest
126 %{gemdir}/cache/%{gemname}-%{version}.gem
127 %{gemdir}/specifications/%{gemname}-%{version}.gemspec
128
db0804e Marek Goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
129 %files doc
130 %defattr(-, root, root, -)
131 %{geminstdir}/spec
132 %{geminstdir}/Rakefile
133 %{geminstdir}/rubygem-%{gemname}.spec
134 %{geminstdir}/%{gemname}.gemspec
135 %{gemdir}/doc/%{gemname}-%{version}
136
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
137 %changelog
9f65ede Marc Savy Correct spec changelog
msavy authored
138
755b2fc Marek Goldmann BGBUILD-81: post command execution w/ setarch breaks commands which are ...
goldmann authored
139 * Tue Mar 01 2011 <msavy@redhat.com> - 0.9.0-1
9f65ede Marc Savy Correct spec changelog
msavy authored
140 - Upstream release: 0.8.2
cd9b454 Marc Savy [BGBUILD-169] S3 plugin temporary work-around for EL5
msavy authored
141 - [BGBUILD-103] README to indicate supported operating systems / requirements
142 - [BGBUILD-169] S3 plugin temporary work-around for EL5
d60cf8a Marek Goldmann [BGBUILD-174] Move plugins to boxgrinder-build gem
goldmann authored
143 - [BGBUILD-174] Move plugins to boxgrinder-build gem
7d5e5a4 Marek Goldmann BGBUILD-175: Rewrite boxgrinder CLI to remove thor dependency
goldmann authored
144 - [BGBUILD-175] Rewrite boxgrinder CLI to remove thor dependency
755b2fc Marek Goldmann BGBUILD-81: post command execution w/ setarch breaks commands which are ...
goldmann authored
145 - [BGBUILD-81] post command execution w/ setarch breaks commands which are scripts
9f65ede Marc Savy Correct spec changelog
msavy authored
146
6210b76 Marek Goldmann Version bump to 0.8.1.
goldmann authored
147 * Tue Feb 16 2011 <mgoldman@redhat.com> - 0.8.1-1
148 - Upstream release: 0.8.1
149 - [BGBUILD-141] Long delay after "Preparing guestfs" message when creating new image
4598e95 Marek Goldmann BGBUILD-150: Cyclical inclusion dependencies in appliance definition fil...
goldmann authored
150 - [BGBUILD-150] Cyclical inclusion dependencies in appliance definition files are not detected/handled
3100cda Marek Goldmann BGBUILD-165: Use version in dependencies in gem and in RPM only where ne...
goldmann authored
151 - [BGBUILD-165] Use version in dependencies in gem and in RPM only where necessary
6210b76 Marek Goldmann Version bump to 0.8.1.
goldmann authored
152
28644e2 Marek Goldmann Next BG Build version will be 0.8.0
goldmann authored
153 * Tue Jan 04 2011 <mgoldman@redhat.com> - 0.8.0-1
154 - Upstream release: 0.8.0
edf07e1 Marek Goldmann Added BuildRoot tag to build for EPEL 5
goldmann authored
155 - Added BuildRoot tag to build for EPEL 5
73d3f08 Marek Goldmann BGBUILD-128: Allow to specify plugin configuration using CLI
goldmann authored
156 - [BGBUILD-128] Allow to specify plugin configuration using CLI
37753a4 Marek Goldmann BGBUILD-134: Replace rubygem-commander with rubygem-thor
goldmann authored
157 - [BGBUILD-134] Replace rubygem-commander with rubygem-thor
e8f6970 Marek Goldmann BGBUILD-79: Allow to use BoxGrinder Build as a library, forgotten file
goldmann authored
158 - [BGBUILD-79] Allow to use BoxGrinder Build as a library
a1fb404 Marek Goldmann BGBUILD-127: Use appliance definition object instead of a file when usin...
goldmann authored
159 - [BGBUILD-127] Use appliance definition object instead of a file when using BG as a library
26a4cbf Marek Goldmann BGBUILD-68: Global .boxgrinder/config or rc style file for config
goldmann authored
160 - [BGBUILD-68] Global .boxgrinder/config or rc style file for config
a96ed31 Marek Goldmann BGBUILD-131: Check if OS is supported before executing the plugin
goldmann authored
161 - [BGBUILD-131] Check if OS is supported before executing the plugin
5a7cf00 Marek Goldmann BGBUILD-72: Add support for growing (not pre-allocated) disks for KVM/Xe...
goldmann authored
162 - [BGBUILD-72] Add support for growing (not pre-allocated) disks for KVM/Xen
58dbbe9 Marek Goldmann BGBUILD-133: Support a consolidated configuration file
goldmann authored
163 - [BGBUILD-133] Support a consolidated configuration file
19df0a9 Marek Goldmann BGBUILD-138: enablerepo path is not escaped when calling repoquery
goldmann authored
164 - [BGBUILD-138] enablerepo path is not escaped when calling repoquery
0499e27 Marek Goldmann BGBUILD-147: Allow to list installed plugins and version information
goldmann authored
165 - [BGBUILD-147] Allow to list installed plugins and version information
7012537 Marek Goldmann Version bump to 0.7.2
goldmann authored
166
a368dad Marek Goldmann changelog and spec file info added too
goldmann authored
167 * Mon Dec 20 2010 <mgoldman@redhat.com> - 0.7.1-1
168 - Upstream release: 0.7.1
169 - [BGBUILD-123] Remove RPM database recreation code
4c4daa6 Marek Goldmann BGBUILD-124: Guestfs fails while mounting multiple partitions with '_' p...
goldmann authored
170 - [BGBUILD-124] Guestfs fails while mounting multiple partitions with '_' prefix
a368dad Marek Goldmann changelog and spec file info added too
goldmann authored
171
f1242ae Marek Goldmann version bump
goldmann authored
172 * Fri Dec 17 2010 <mgoldman@redhat.com> - 0.7.0-1
173 - Updated to upstream version: 0.7.0
e98f07c Marek Goldmann version bump
goldmann authored
174 - [BGBUILD-113] Allow to specify supported file formats for operating system plugin
175 - [BGBUILD-73] Add support for kickstart files
67abb6f Marek Goldmann BGBUILD-80: VMware .tgz Bundle Should Expand Into Subdirectory, Not Curr...
goldmann authored
176 - [BGBUILD-80] VMware .tgz Bundle Should Expand Into Subdirectory, Not Current Directory
541b669 Marek Goldmann BGBUILD-118: Enable SElinux in guestfs
goldmann authored
177 - [BGBUILD-118] Enable SElinux in guestfs
5a01034 Marek Goldmann BGBUILD-119: Fix SElinux issues on EC2 appliances
goldmann authored
178 - [BGBUILD-119] Fix SElinux issues on EC2 appliances
e98f07c Marek Goldmann version bump
goldmann authored
179
97a71b7 Marek Goldmann added validation for OS before building, more tests, version bump
goldmann authored
180 * Thu Dec 02 2010 <mgoldman@redhat.com> - 0.6.5-1
181 - Updated to new upstream release: 0.6.5
182
d662731 Marek Goldmann fixed [BGBUILD-92] Enable --trace switch by default + make using -f (--f...
goldmann authored
183 * Mon Nov 22 2010 <mgoldman@redhat.com> - 0.6.4-3
907fc18 Marek Goldmann rewritten changelog in spec file, RPM: 0.6.4-3
goldmann authored
184 - Changelog rewritten
d662731 Marek Goldmann fixed [BGBUILD-92] Enable --trace switch by default + make using -f (--f...
goldmann authored
185 - Added Require: parted and e2fsprogs
186
caede7c Marek Goldmann updated spec file, 0.6.4-2
goldmann authored
187 * Sat Nov 20 2010 <mgoldman@redhat.com> - 0.6.4-2
907fc18 Marek Goldmann rewritten changelog in spec file, RPM: 0.6.4-3
goldmann authored
188 - Small set of spec file adjustments
caede7c Marek Goldmann updated spec file, 0.6.4-2
goldmann authored
189
3e1e606 Marek Goldmann wrong verison in spec files
goldmann authored
190 * Mon Nov 15 2010 <mgoldman@redhat.com> - 0.6.4-1
907fc18 Marek Goldmann rewritten changelog in spec file, RPM: 0.6.4-3
goldmann authored
191 - Updated to new upstream release: 0.6.4
945c35c Marek Goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
192 - Removed BuildRoot tag
193 - Adjusted Requires and BuildRequires
194 - Different approach for testing
195 - [BGBUILD-98] Use hashery gem
907fc18 Marek Goldmann rewritten changelog in spec file, RPM: 0.6.4-3
goldmann authored
196 - [BGBUILD-99] Timeout exception is not catched on non-EC2 platfrom in GuestFSHelper
197 - [BGBUILD-92] Enable --trace switch by default
198 - [BGBUILD-91] Log exceptions to log file
945c35c Marek Goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
199
db0804e Marek Goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
200 * Tue Nov 09 2010 <mgoldman@redhat.com> - 0.6.3-1
04c87ea Marek Goldmann fixed [BGBUILD-94] Check if set_network call is avaialbe in libguestfs
goldmann authored
201 - [BGBUILD-94] Check if set_network call is avaialbe in libguestfs
db0804e Marek Goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
202 - Added 'check' section that executes tests
203
bc66486 Marek Goldmann fixed [BGBUILD-84] Don't use in libguestfs qemu-kvm where hardware accle...
goldmann authored
204 * Wed Nov 03 2010 <mgoldman@redhat.com> - 0.6.2-1
205 - [BGBUILD-84] Don't use in libguestfs qemu-kvm where hardware accleration isn't available
206
6052166 Marek Goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
207 * Mon Oct 18 2010 <mgoldman@redhat.com> - 0.6.1-1
208 - Initial package
Something went wrong with that request. Please try again.