Package gem-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 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | # vim: set ft=spec: -*- rpm-spec -*- %define pkgname facter Name: gem-%pkgname Version: 4.2.7 Release: alt1 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.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> BuildArch: noarch Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby BuildRequires: libcpp-hocon-devel BuildRequires: libyaml-cpp-devel BuildRequires: libleatherman-devel BuildRequires: boost-program_options-devel Requires: coreutils Requires: dmidecode Requires: net-tools Requires: pciutils Requires: bind-utils %add_findreq_skiplist *.erb %add_findreq_skiplist %ruby_gemslibdir/* Obsoletes: ruby-%pkgname Provides: ruby-%pkgname %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 %gemname gem Summary(ru_RU.UTF-8): Файлы сведений для самоцвета %gemname Group: Development/Documentation BuildArch: noarch %description doc Documentation files for %gemname gem. %package -n %pkgname Summary: Console executable called 'facter' Group: System/Base BuildArch: noarch %description -n %pkgname %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 #sed -e 's/ALT /ALT/g' -e 's/ALTLinux/ALT/' -i lib/facter/operatingsystem/linux.rb %build %ruby_build --ignore=acceptance --use=%gemname --version-replace=%version %install %ruby_install %check %ruby_test %files %ruby_gemspec %ruby_gemlibdir %files doc %ruby_gemdocdir %files -n %pkgname %_bindir/* %doc %_man8dir/%{pkgname}.* %changelog * Thu Jan 13 2022 Andrey Cherepanov <cas@altlinux.org> 4.2.7-alt1 - New version. * Fri Dec 10 2021 Andrey Cherepanov <cas@altlinux.org> 4.2.6-alt1 - New version. * Wed Sep 29 2021 Andrey Cherepanov <cas@altlinux.org> 4.2.5-alt1 - New version. * Tue Sep 14 2021 Andrey Cherepanov <cas@altlinux.org> 4.2.4-alt1 - New version. * Mon Aug 16 2021 Andrey Cherepanov <cas@altlinux.org> 4.2.3-alt1 - New version. * Wed Jul 07 2021 Andrey Cherepanov <cas@altlinux.org> 4.2.2-alt1 - New version. * Thu Jun 17 2021 Andrey Cherepanov <cas@altlinux.org> 4.2.1-alt1 - New version. * Mon Jan 25 2021 Andrey Cherepanov <cas@altlinux.org> 4.0.49-alt1 - New version. * Thu Apr 16 2020 Pavel Skrylev <majioa@altlinux.org> 2.5.7.1-alt1 - ! renaming ALT Linux to ALT (closes #38358) - ^ 2.5.7 -> 2.5.7.1pre * Tue Mar 10 2020 Pavel Skrylev <majioa@altlinux.org> 2.5.7-alt1 - ^ 2.5.5 -> 2.5.7 - + timeout patch - ! spec tags * Tue Sep 24 2019 Pavel Skrylev <majioa@altlinux.org> 2.5.5-alt1 - update (^) 2.5.2 -> 2.5.5 - fix (!) spec * Wed Jul 03 2019 Pavel Skrylev <majioa@altlinux.org> 2.5.2-alt1 - update (^) 2.5.1 -> 2.5.2 with ALT support - fix (!) spec * Fri Feb 22 2019 Pavel Skrylev <majioa@altlinux.org> 2.5.1-alt3 - update to (^) Ruby Policy 2.0 * Thu Dec 20 2018 Pavel Skrylev <majioa@altlinux.org> 2.5.1-alt2 - remove (-) bug in ALT Release detection. - downgrade (v) timeout when accessing to EC2 from virtual env. - added (+) facter executable rpm. - remove (-) bug (Closes #35801) * Tue Dec 18 2018 Pavel Skrylev <majioa@altlinux.org> 2.5.1-alt1 - update to (^) 2.0.1 -> 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 |