]> git.pld-linux.org Git - packages/puppet-razor.git/blob - puppet-razor.spec
new, version 0.9.0
[packages/puppet-razor.git] / puppet-razor.spec
1 Summary:        Next-Generation Provisioning for bare metal and virtual servers
2 Name:           puppet-razor
3 Version:        0.9.0
4 Release:        0.1
5 License:        Apache v2.0
6 Group:          Applications
7 Source0:        https://github.com/puppetlabs/Razor/archive/%{version}.tar.gz?/%{name}-%{version}.tgz
8 # Source0-md5:  b7b595cfb9a523018e1139da2dd3ebd0
9 URL:            https://github.com/puppetlabs/Razor/wiki
10 BuildRequires:  rpm-rubyprov
11 BuildRequires:  rpmbuild(macros) >= 1.656
12 Requires:       ruby-base62
13 Requires:       ruby-bson
14 Requires:       ruby-bson_ext
15 Requires:       ruby-colored
16 Requires:       ruby-daemons
17 Requires:       ruby-json
18 Requires:       ruby-logger
19 Requires:       ruby-mongo
20 Requires:       ruby-net-ssh
21 Requires:       ruby-pg
22 Requires:       ruby-rake
23 Requires:       ruby-require_all
24 Requires:       ruby-syntax
25 Requires:       ruby-uuid
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Razor is an advanced provisioning application which can deploy both
31 bare-metal and virtual systems. It's aimed at solving the problem of
32 how to bring new metal into a state where your existing
33 DevOps/configuration management workflows can take it over.
34
35 Newly added machines in a Razor deployment will PXE-boot from a
36 special Razor Microkernel image, then check in, provide Razor with
37 inventory information, and wait for further instructions. Razor will
38 consult user-created policy rules to choose which preconfigured model
39 to apply to a new node, which will begin to follow the model's
40 directions, giving feedback to Razor as it completes various steps.
41 Models can include steps for handoff to a DevOps system or to any
42 other system capable of controlling the node (such as a vCenter server
43 taking possession of ESX systems).
44
45 %prep
46 %setup -q -n Razor-%{version}
47
48 %build
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
53 cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
54 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README.md LICENSE CONTRIBUTING.md  TESTING.md
62 %attr(755,root,root) %{_bindir}/razor
63 %attr(755,root,root) %{_bindir}/razor_daemon.rb
64 # um?
65 %attr(755,root,root) %{_bindir}/api.js
66 %attr(755,root,root) %{_bindir}/common.js
67 %attr(755,root,root) %{_bindir}/http_range_req.js
68 %attr(755,root,root) %{_bindir}/image_svc.js
69 %{ruby_vendorlibdir}/project_razor.rb
70 %{ruby_vendorlibdir}/project_razor
This page took 0.072723 seconds and 3 git commands to generate.