Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:puppet
puppetdb-termini
puppetdb-termini.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File puppetdb-termini.spec of Package puppetdb-termini
# # spec file for package puppetdb-termini # # Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define rubygem_puppet_version %(version="`rpm -q --qf "%%{VERSION}" %{rb_default_ruby_suffix}-rubygem-puppet`"; echo "$version") %global rpm_release 1.sles12 %global rpm_name %{name}-%{version}-%{rpm_release}.noarch.rpm Name: puppetdb-termini Version: 7.5.0 Release: 0 Summary: Puppet Labs puppetdb termini License: Apache-2.0 Group: Development/Languages/Ruby Url: http://puppet.com Source0: https://yum.puppet.com/puppet7/sles/12/x86_64/%{rpm_name} Source1: https://github.com/puppetlabs/puppetdb/blob/%{version}/LICENSE.txt BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cpio BuildRequires: ruby-macros BuildRequires: %{rb_default_ruby_suffix}-rubygem-puppet >= 7.0 BuildRequires: %{rb_default_ruby_suffix}-stdlib Requires: puppetdb = %{version} Requires: rubygem(puppet) = %{rubygem_puppet_version} Requires: %{rb_default_ruby_suffix}-stdlib %description PuppetDB is the fast, scalable, and reliable data warehouse for Puppet. It caches data generated by Puppet, and gives you advanced features at awesome speed with a powerful API. This package contains the ruby bindings. %prep %setup -c -T rpm2cpio %{SOURCE0} | cpio -idmv cp %{SOURCE1} ./ %build %install mkdir -p %{buildroot}%{rb_dir}/gems/%{rb_ver}/gems/puppet-%{rubygem_puppet_version}/lib cp -r ./opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet %{buildroot}%{rb_dir}/gems/%{rb_ver}/gems/puppet-%{rubygem_puppet_version}/lib/ %files %defattr(-,root,root) %license LICENSE.txt %{rb_dir}/gems/%{rb_ver}/gems/puppet-%{rubygem_puppet_version}/lib/puppet/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor