Package ruby-facter: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | %define pkgname facter Name: ruby-%pkgname Version: 2.5.1 Release: alt3 Summary: Ruby library for retrieving facts from operating systems Group: Development/Ruby License: Apache-2.0 Url: https://tickets.puppetlabs.com/browse/FACT # VCS: https://github.com/puppetlabs/facter BuildArch: noarch Source: %pkgname-%version.tar Patch1: %name-alt-support.patch Requires: coreutils dmidecode net-tools pciutils bind-utils %add_findreq_skiplist *.erb BuildRequires(pre): rpm-build-ruby BuildRequires: libcpp-hocon-devel BuildRequires: libyaml-cpp-devel BuildRequires: libleatherman-devel BuildRequires: boost-program_options-devel %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. It is easy to extend Facter to include your own custom facts or to include additional mechanisms for retrieving facts. %package doc Summary: Documentation files for %name Group: Documentation BuildArch: noarch %description doc Documentation files for %{name}. %package -n facter Summary: Terminal executable called 'facter' Group: System/Base BuildArch: noarch %description -n facter %summary, 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 -n %pkgname-%version # patches %patch1 -p1 sed "s|read_timeout|timeout|" -i lib/facter/ec2/rest.rb %build %gem_build %install %gem_install %check %gem_test %files %ruby_gemspec %ruby_gemlibdir %doc %_man8dir/%{pkgname}.* %files doc %ruby_gemdocdir %files -n facter %_bindir/* %changelog * Fri Feb 22 2019 Pavel Skrylev <majioa@altlinux.org> 2.5.1-alt3 - Use Ruby Policy 2.0. * Thu Dec 20 2018 Pavel Skrylev <majioa@altlinux.org> 2.5.1-alt2 - Fixed ALT Release detection. - Decrease timeout when accessing to EC2 from virtual env. - Added facter executable rpm. - Closes #35801. * Tue Dec 18 2018 Pavel Skrylev <majioa@altlinux.org> 2.5.1-alt1 - Bump to 2.5.1. * Wed Jul 11 2018 Andrey Cherepanov <cas@altlinux.org> 2.0.1-alt2.2 - Rebuild with new Ruby autorequirements. * Tue Sep 05 2017 Andrey Cherepanov <cas@altlinux.org> 2.0.1-alt2.1 - Rebuild with Ruby 2.4.1 * Wed Jan 18 2017 Andrey Cherepanov <cas@altlinux.org> 2.0.1-alt2 - Add ALT Linux operating system support - Add bind-utils for IP address get * Mon Apr 28 2014 Andrey Cherepanov <cas@altlinux.org> 2.0.1-alt1 - New version * Fri Nov 30 2012 Led <led@altlinux.ru> 1.6.8-alt1.1 - Rebuilt with ruby-1.9.3-alt1 * Fri Apr 27 2012 Sergey Alembekov <rt@altlinux.ru> 1.6.8-alt1 - [1.6.8] * Sun Jun 28 2009 Alexey I. Froloff <raorn@altlinux.org> 1.5.6-alt1 - [1.5.6] * Fri Oct 31 2008 Sir Raorn <raorn@altlinux.ru> 1.5.2-alt1 - [1.5.2] * Wed Sep 03 2008 Sir Raorn <raorn@altlinux.ru> 1.5.1-alt1 - Built for Sisyphus |