Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
facter
facter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File facter.spec of Package facter
# # spec file for package facter # # Copyright (c) 2017 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/ # Name: facter Version: 2.4.6 Release: 0 Summary: A cross-platform Ruby library for retrieving facts from operating systems License: Apache-2.0 Group: Development/Languages/Ruby Url: http://puppetlabs.com/puppet/related-projects/facter/ Source: http://downloads.puppetlabs.com/facter/%{name}-%{version}.tar.gz Source1: facter.1 # PATCH-FIX-UPSTREAM -- bnc#878129 -- use "ip link" instead of "ifconfig" for interface names Patch0: facter-ip-interface.patch Patch1: facter-2.4.6-vlan_interfaces.patch BuildRequires: ruby BuildRequires: ruby-devel > 1.8.4 Requires: iproute2 Requires: ruby BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A cross-platform Ruby library for retrieving facts from operating systems. Supports multiple resolution mechanisms, any of which can be restricted to working only on certain operating systems or environments. Facter is especially useful for retrieving things like operating system names, IP addresses, MAC addresses, and SSH keys. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %install DESTDIR=%{buildroot} ruby install.rb install --destdir=%{buildroot} --sitelibdir=%{_libdir}/ruby/vendor_ruby/%{rb_ver} install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/facter.1 # Create directory for external facts mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/facts.d %files %defattr(-,root,root,-) %doc LICENSE README.md %dir %{_libdir}/ruby/vendor_ruby/%{rb_ver}/facter %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/facts.d %{_libdir}/ruby/vendor_ruby/%{rb_ver}/facter.rb %{_libdir}/ruby/vendor_ruby/%{rb_ver}/facter/* %{_bindir}/facter %{_mandir}/man1/facter.1* %{_mandir}/man8/facter.8* %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