Package perl-Sysadm-Install: 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 | Group: Development/Other # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl-podlators # END SourceDeps(oneline) %define fedora 30 # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Summary: Typical installation tasks for system administrators Name: perl-Sysadm-Install Version: 0.48 Release: alt1_10 License: GPL+ or Artistic URL: https://metacpan.org/release/Sysadm-Install Source0: https://cpan.metacpan.org/authors/id/M/MS/MSCHILLI/Sysadm-Install-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: perl-devel %if 0%{?fedora} > 20 || 0%{?rhel} > 7 BuildRequires: rpm-build-perl %endif BuildRequires: perl(ExtUtils/MakeMaker.pm) # Module Runtime BuildRequires: perl(Archive/Tar.pm) BuildRequires: perl(Cwd.pm) BuildRequires: perl(Encode.pm) BuildRequires: perl(Expect.pm) BuildRequires: perl(File/Basename.pm) BuildRequires: perl(File/Copy.pm) BuildRequires: perl(File/Path.pm) BuildRequires: perl(File/Spec/Functions.pm) BuildRequires: perl(File/Temp.pm) BuildRequires: perl(File/Which.pm) BuildRequires: perl(HTTP/Request.pm) BuildRequires: perl(HTTP/Status.pm) BuildRequires: perl(Log/Log4perl.pm) BuildRequires: perl(Log/Log4perl/Util.pm) BuildRequires: perl(LWP/UserAgent.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(Term/ReadKey.pm) BuildRequires: perl(warnings.pm) # Test Suite BuildRequires: perl(Carp.pm) BuildRequires: perl(File/Spec.pm) BuildRequires: perl(Test/More.pm) BuildRequires: perl(utf8.pm) # Runtime Requires: perl(Archive/Tar.pm) Requires: perl(Encode.pm) Requires: perl(Expect.pm) Requires: perl(HTTP/Request.pm) Requires: perl(HTTP/Status.pm) Requires: perl(LWP/UserAgent.pm) Source44: import.info %description "Sysadm::Install" executes shell-like commands performing typical installation tasks: Copying files, extracting tarballs, calling "make". It has a "fail once and die" policy, meticulously checking the result of every operation and calling "die()" immediately if anything fails, with optional logging of everything. "Sysadm::Install" also supports a *dry_run* mode, in which it logs everything, but suppresses any write actions. %prep %setup -q -n Sysadm-Install-%{version} # Fix perl interpreter in eg/mkperl perl -pi -e 's|/usr/local/bin/perl|/usr/bin/perl|;' eg/mkperl # Note: not turning off exec bits in examples because they don't # introduce any unwanted dependencies %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test TEST_VERBOSE=1 %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete # %{_fixperms} -c %{buildroot} %files %doc Changes README eg/ # one-liner is an overly-generic name to include in %%{_bindir} and is included # as %%doc if needed %exclude %{_bindir}/one-liner %{perl_vendor_privlib}/Sysadm/ %changelog * Wed Nov 20 2019 Igor Vlasenko <viy@altlinux.ru> 0.48-alt1_10 - update to new release by fcimport * Sat Jul 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.48-alt1_6 - update to new release by fcimport * Mon Oct 02 2017 Igor Vlasenko <viy@altlinux.ru> 0.48-alt1_4 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.48-alt1_3 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.48-alt1_2 - update to new release by fcimport * Mon Dec 19 2016 Igor Vlasenko <viy@altlinux.ru> 0.48-alt1_1 - update to new release by fcimport * Thu Nov 17 2016 Igor Vlasenko <viy@altlinux.ru> 0.48-alt1 - automated CPAN update * Sun Jun 05 2016 Igor Vlasenko <viy@altlinux.ru> 0.47-alt1 - automated CPAN update * Mon Mar 07 2016 Igor Vlasenko <viy@altlinux.ru> 0.46-alt1_2 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.46-alt1_1 - update to new release by fcimport * Mon Oct 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.44-alt1_3 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.44-alt1_2 - update to new release by fcimport * Tue Jun 03 2014 Igor Vlasenko <viy@altlinux.ru> 0.44-alt1_1 - update to new release by fcimport * Mon May 26 2014 Igor Vlasenko <viy@altlinux.ru> 0.44-alt1 - automated CPAN update * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.43-alt1_3 - update to new release by fcimport * Mon Aug 05 2013 Igor Vlasenko <viy@altlinux.ru> 0.43-alt1_2 - update to new release by fcimport * Thu Mar 21 2013 Igor Vlasenko <viy@altlinux.ru> 0.43-alt1_1 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 0.42-alt1_2 - update to new release by fcimport * Wed Jan 30 2013 Igor Vlasenko <viy@altlinux.ru> 0.42-alt1_1 - update to new release by fcimport * Fri Dec 21 2012 Igor Vlasenko <viy@altlinux.ru> 0.41-alt1_1 - update to new release by fcimport * Mon Dec 10 2012 Igor Vlasenko <viy@altlinux.ru> 0.40-alt2_1 - moved to Sisyphus * Mon Sep 24 2012 Igor Vlasenko <viy@altlinux.ru> 0.40-alt1_1 - update to new release by fcimport * Tue Jul 31 2012 Igor Vlasenko <viy@altlinux.ru> 0.39-alt2_3 - update to new release by fcimport * Fri May 25 2012 Igor Vlasenko <viy@altlinux.ru> 0.39-alt2_1 - fc import * Thu May 24 2012 Igor Vlasenko <viy@altlinux.ru> 0.39-alt1_1 - fc import |