Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 139 lines (113 sloc) 4.304 kb
6052166 @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}
28644e2 @goldmann Next BG Build version will be 0.8.0
goldmann authored
8 Version: 0.8.0
97a71b7 @goldmann added validation for OS before building, more tests, version bump
goldmann authored
9 Release: 1%{?dist}
6052166 @goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
10 Group: Development/Languages
d4a0b17 @goldmann updated license in spec file + removed gem requires from boxgrinder-buil...
goldmann authored
11 License: LGPLv3+
6052166 @goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
12 URL: http://www.jboss.org/boxgrinder
13 Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
14
15 Requires: ruby(abi) = %{rubyabi}
37753a4 @goldmann BGBUILD-134: Replace rubygem-commander with rubygem-thor
goldmann authored
16 Requires: rubygem(thor)
a61a3af @goldmann Version bump in all files
goldmann authored
17 Requires: rubygem(boxgrinder-core) >= 0.2.0
b7db5ec @goldmann added ruby-libguestfs require
goldmann authored
18 Requires: ruby-libguestfs
d662731 @goldmann fixed [BGBUILD-92] Enable --trace switch by default + make using -f (--f...
goldmann authored
19 Requires: parted
20 Requires: e2fsprogs
b0088b8 @goldmann rake task for installing RPMs
goldmann authored
21
945c35c @goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
22 BuildRequires: rubygem(rake)
23 BuildRequires: rubygem(rspec)
a61a3af @goldmann Version bump in all files
goldmann authored
24 BuildRequires: rubygem(boxgrinder-core) >= 0.2.0
f171e0f @goldmann added BuildRequires: rubygem(echoe) to spec file
goldmann authored
25 BuildRequires: rubygem(echoe)
b7db5ec @goldmann added ruby-libguestfs require
goldmann authored
26 BuildRequires: ruby-libguestfs
6052166 @goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
27
28 BuildArch: noarch
29 Provides: rubygem(%{gemname}) = %{version}
30
31 %description
32 A tool for creating appliances from simple plain text files for various
33 virtual environments
34
db0804e @goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
35 %package doc
36 Summary: Documentation for %{name}
37 Group: Documentation
38 Requires:%{name} = %{version}-%{release}
39
40 %description doc
41 Documentation for %{name}
42
6052166 @goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
43 %prep
44
45 %build
46
47 %install
48 rm -rf %{buildroot}
945c35c @goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
49 rm -rf %{_builddir}%{gemdir}
50
51 mkdir -p %{_builddir}%{gemdir}
6052166 @goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
52 mkdir -p %{buildroot}/%{_bindir}
945c35c @goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
53 mkdir -p %{buildroot}/%{gemdir}
54
55 gem install --local --install-dir %{_builddir}%{gemdir} \
56 --force --rdoc %{SOURCE0}
57 mv %{_builddir}%{gemdir}/bin/* %{buildroot}/%{_bindir}
58 find %{_builddir}%{geminstdir}/bin -type f | xargs chmod a+x
59 cp -r %{_builddir}%{gemdir}/* %{buildroot}/%{gemdir}
6052166 @goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
60
db0804e @goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
61 %check
945c35c @goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
62 pushd %{_builddir}/%{geminstdir}
db0804e @goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
63 rake spec
64 popd
65
6052166 @goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
66 %files
67 %defattr(-, root, root, -)
68 %{_bindir}/boxgrinder-build
69 %dir %{geminstdir}
70 %{geminstdir}/bin
71 %{geminstdir}/lib
72 %doc %{geminstdir}/CHANGELOG
73 %doc %{geminstdir}/LICENSE
74 %doc %{geminstdir}/README
75 %doc %{geminstdir}/Manifest
76 %{gemdir}/cache/%{gemname}-%{version}.gem
77 %{gemdir}/specifications/%{gemname}-%{version}.gemspec
78
db0804e @goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
79 %files doc
80 %defattr(-, root, root, -)
81 %{geminstdir}/spec
82 %{geminstdir}/Rakefile
83 %{geminstdir}/rubygem-%{gemname}.spec
84 %{geminstdir}/%{gemname}.gemspec
85 %{gemdir}/doc/%{gemname}-%{version}
86
6052166 @goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
87 %changelog
28644e2 @goldmann Next BG Build version will be 0.8.0
goldmann authored
88 * Tue Jan 04 2011 <mgoldman@redhat.com> - 0.8.0-1
89 - Upstream release: 0.8.0
37753a4 @goldmann BGBUILD-134: Replace rubygem-commander with rubygem-thor
goldmann authored
90 - [BGBUILD-134] Replace rubygem-commander with rubygem-thor
e8f6970 @goldmann BGBUILD-79: Allow to use BoxGrinder Build as a library, forgotten file
goldmann authored
91 - [BGBUILD-79] Allow to use BoxGrinder Build as a library
a1fb404 @goldmann BGBUILD-127: Use appliance definition object instead of a file when usin...
goldmann authored
92 - [BGBUILD-127] Use appliance definition object instead of a file when using BG as a library
26a4cbf @goldmann BGBUILD-68: Global .boxgrinder/config or rc style file for config
goldmann authored
93 - [BGBUILD-68] Global .boxgrinder/config or rc style file for config
a96ed31 @goldmann BGBUILD-131: Check if OS is supported before executing the plugin
goldmann authored
94 - [BGBUILD-131] Check if OS is supported before executing the plugin
5a7cf00 @goldmann BGBUILD-72: Add support for growing (not pre-allocated) disks for KVM/Xe...
goldmann authored
95 - [BGBUILD-72] Add support for growing (not pre-allocated) disks for KVM/Xen
7012537 @goldmann Version bump to 0.7.2
goldmann authored
96
a368dad @goldmann changelog and spec file info added too
goldmann authored
97 * Mon Dec 20 2010 <mgoldman@redhat.com> - 0.7.1-1
98 - Upstream release: 0.7.1
99 - [BGBUILD-123] Remove RPM database recreation code
4c4daa6 @goldmann BGBUILD-124: Guestfs fails while mounting multiple partitions with '_' p...
goldmann authored
100 - [BGBUILD-124] Guestfs fails while mounting multiple partitions with '_' prefix
a368dad @goldmann changelog and spec file info added too
goldmann authored
101
f1242ae @goldmann version bump
goldmann authored
102 * Fri Dec 17 2010 <mgoldman@redhat.com> - 0.7.0-1
103 - Updated to upstream version: 0.7.0
e98f07c @goldmann version bump
goldmann authored
104 - [BGBUILD-113] Allow to specify supported file formats for operating system plugin
105 - [BGBUILD-73] Add support for kickstart files
67abb6f @goldmann BGBUILD-80: VMware .tgz Bundle Should Expand Into Subdirectory, Not Curr...
goldmann authored
106 - [BGBUILD-80] VMware .tgz Bundle Should Expand Into Subdirectory, Not Current Directory
541b669 @goldmann BGBUILD-118: Enable SElinux in guestfs
goldmann authored
107 - [BGBUILD-118] Enable SElinux in guestfs
5a01034 @goldmann BGBUILD-119: Fix SElinux issues on EC2 appliances
goldmann authored
108 - [BGBUILD-119] Fix SElinux issues on EC2 appliances
e98f07c @goldmann version bump
goldmann authored
109
97a71b7 @goldmann added validation for OS before building, more tests, version bump
goldmann authored
110 * Thu Dec 02 2010 <mgoldman@redhat.com> - 0.6.5-1
111 - Updated to new upstream release: 0.6.5
112
d662731 @goldmann fixed [BGBUILD-92] Enable --trace switch by default + make using -f (--f...
goldmann authored
113 * Mon Nov 22 2010 <mgoldman@redhat.com> - 0.6.4-3
907fc18 @goldmann rewritten changelog in spec file, RPM: 0.6.4-3
goldmann authored
114 - Changelog rewritten
d662731 @goldmann fixed [BGBUILD-92] Enable --trace switch by default + make using -f (--f...
goldmann authored
115 - Added Require: parted and e2fsprogs
116
caede7c @goldmann updated spec file, 0.6.4-2
goldmann authored
117 * Sat Nov 20 2010 <mgoldman@redhat.com> - 0.6.4-2
907fc18 @goldmann rewritten changelog in spec file, RPM: 0.6.4-3
goldmann authored
118 - Small set of spec file adjustments
caede7c @goldmann updated spec file, 0.6.4-2
goldmann authored
119
3e1e606 @goldmann wrong verison in spec files
goldmann authored
120 * Mon Nov 15 2010 <mgoldman@redhat.com> - 0.6.4-1
907fc18 @goldmann rewritten changelog in spec file, RPM: 0.6.4-3
goldmann authored
121 - Updated to new upstream release: 0.6.4
945c35c @goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
122 - Removed BuildRoot tag
123 - Adjusted Requires and BuildRequires
124 - Different approach for testing
125 - [BGBUILD-98] Use hashery gem
907fc18 @goldmann rewritten changelog in spec file, RPM: 0.6.4-3
goldmann authored
126 - [BGBUILD-99] Timeout exception is not catched on non-EC2 platfrom in GuestFSHelper
127 - [BGBUILD-92] Enable --trace switch by default
128 - [BGBUILD-91] Log exceptions to log file
945c35c @goldmann [BGBUILD-98] Use hashery gem, other specfile adjustments
goldmann authored
129
db0804e @goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
130 * Tue Nov 09 2010 <mgoldman@redhat.com> - 0.6.3-1
04c87ea @goldmann fixed [BGBUILD-94] Check if set_network call is avaialbe in libguestfs
goldmann authored
131 - [BGBUILD-94] Check if set_network call is avaialbe in libguestfs
db0804e @goldmann [BGBUILD-85] Adjust BoxGrinder spec files for review, two RPM packages: ...
goldmann authored
132 - Added 'check' section that executes tests
133
bc66486 @goldmann fixed [BGBUILD-84] Don't use in libguestfs qemu-kvm where hardware accle...
goldmann authored
134 * Wed Nov 03 2010 <mgoldman@redhat.com> - 0.6.2-1
135 - [BGBUILD-84] Don't use in libguestfs qemu-kvm where hardware accleration isn't available
136
6052166 @goldmann spec file for boxgrinder-build, BGBUILD-33
goldmann authored
137 * Mon Oct 18 2010 <mgoldman@redhat.com> - 0.6.1-1
138 - Initial package
Something went wrong with that request. Please try again.