Package perl-Alien-Build: 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 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 | %define _unpackaged_files_terminate_build 1 %filter_from_requires /^perl.Alien.gmake.pm/d %filter_from_requires /^perl.PkgConfig.pm/d %filter_from_requires /^perl.PkgConfig.LibPkgConf.Client.pm/d %filter_from_requires /^perl.PkgConfig.LibPkgConf.Util.pm/d %define perl_bootstrap 0 Group: Development/Perl # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl #BuildRequires: perl(FFI/Platypus.pm) perl(PkgConfig.pm) BuildRequires: gcc-c++ perl(AnyEvent.pm) perl(Inline.pm) perl(Module/Build.pm) perl(Mojo/JSON.pm) perl(Mojo/URL.pm) perl(Mojolicious/Lite.pm) perl(Net/SSLeay.pm) perl(Proc/Daemon.pm) perl(autodie.pm) perl-podlators cmake # END SourceDeps(oneline) # fedora bcond_with macro %define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} %define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} # redefine altlinux specific with and without %define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} %define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} # Run optional test %{bcond_without perl_Alien_Build_enables_optional_test} Name: perl-Alien-Build Version: 1.69 Release: alt1 Summary: Build external dependencies for use in CPAN License: GPL+ or Artistic URL: http://search.cpan.org/dist/Alien-Build/ Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/Alien-Build-%{version}.tar.gz # Support only the most advanced pkgconfig implementation, # the files are deleted in prep section Patch0: Alien-Build-1.32-Remove-redundant-pkgconfig-implementations.patch BuildArch: noarch BuildRequires: rpm-build-perl BuildRequires: perl-devel BuildRequires: perl BuildRequires: perl(ExtUtils/MakeMaker.pm) BuildRequires: perl(File/Which.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(warnings.pm) # Run-time: %if !%{defined perl_bootstrap} # Build cycle: perl-Alien-cmake3 a.. perl-Alien-Build BuildRequires: perl(Alien/cmake3.pm) %endif # Archive::Tar or (tar and bzip2 and gzip and xz) BuildRequires: perl(Archive/Tar.pm) # Archive::Zip or unzip BuildRequires: perl(Archive/Zip.pm) BuildRequires: perl(base.pm) BuildRequires: perl(Capture/Tiny.pm) BuildRequires: perl(Carp.pm) BuildRequires: perl(Config.pm) BuildRequires: perl(Config/INI/Reader/Multiline.pm) BuildRequires: perl(constant.pm) BuildRequires: perl(DynaLoader.pm) BuildRequires: perl(Env.pm) BuildRequires: perl(Exporter.pm) BuildRequires: perl(ExtUtils/CBuilder.pm) BuildRequires: perl(ExtUtils/ParseXS.pm) BuildRequires: perl(FFI/CheckLib.pm) # FFI::Platypus is optional and not packaged BuildRequires: perl(File/Basename.pm) BuildRequires: perl(File/BOM.pm) BuildRequires: perl(File/chdir.pm) BuildRequires: perl(File/Copy.pm) BuildRequires: perl(File/Find.pm) BuildRequires: perl(File/Temp.pm) BuildRequires: perl(JSON/PP.pm) BuildRequires: perl(Module/Load.pm) BuildRequires: perl(overload.pm) BuildRequires: perl(Path/Tiny.pm) # Alien::Build::Plugin::PkgConfig::Negotiate finds a pkgconfig implementation # in this order: # PkgConfig::LibPkgConf 0.04, pkgconf, pkg-config, PkgConfig 0.14026 # We selected the most advanced PkgConfig::LibPkgConf and removed the other # plugins. #BuildRequires: perl(PkgConfig/LibPkgConf/Client.pm) #BuildRequires: perl(PkgConfig/LibPkgConf/Util.pm) BuildRequires: perl(Scalar/Util.pm) BuildRequires: perl(Storable.pm) BuildRequires: perl(Test2/API.pm) BuildRequires: perl(Test2/Require.pm) BuildRequires: perl(Text/ParseWords.pm) # YAML or Data::Dumper BuildRequires: perl(YAML.pm) # Tests: # AnyEvent not used # AnyEvent::FTP::Server not used BuildRequires: perl(File/Glob.pm) # Getopt::Long not used # IO::Socket::INET not used BuildRequires: perl(lib.pm) BuildRequires: perl(List/Util.pm) # Mojo::JSON not used # Mojo::URL not used # Mojolicious::Lite not used BuildRequires: perl(Net/FTP.pm) # Proc::Daemon not used BuildRequires: perl(Test2/Mock.pm) BuildRequires: perl(Test2/Require/Module.pm) BuildRequires: perl(Test2/V0.pm) # URI not used %if %{with perl_Alien_Build_enables_optional_test} # Optional tests: %if !%{defined perl_bootstrap} # Break build cycle: Acme::Alien::DontPanic a.. Test::Alien BuildRequires: perl(Acme/Alien/DontPanic.pm) %endif BuildRequires: perl(Alien/Base/ModuleBuild.pm) BuildRequires: perl(Alien/Base/PkgConfig.pm) BuildRequires: perl(Devel/Hide.pm) BuildRequires: perl(Env/ShellWords.pm) # FFI::Platypus not packaged BuildRequires: perl(HTTP/Tiny.pm) # PkgConfig not packaged BuildRequires: perl(Readonly.pm) BuildRequires: perl(Sort/Versions.pm) BuildRequires: perl(URI/file.pm) %endif # make in the lib/Alien/Build/Plugin/Build/CMake.pm plugin # make in the lib/Alien/Build/Plugin/Build/Make.pm plugin # make or Alien::gmake Requires: curl %if !%{defined perl_bootstrap} # Build cycle: perl-Alien-cmake3 a.. perl-Alien-Build Requires: perl(Alien/cmake3.pm) >= 0.020 %endif # Archive::Tar or (tar and bzip2 and gzip and xz) Requires: perl(Archive/Tar.pm) # Archive::Zip or unzip Requires: perl(Archive/Zip.pm) Requires: perl(Config/INI/Reader/Multiline.pm) Requires: perl(DynaLoader.pm) Requires: perl(ExtUtils/CBuilder.pm) Requires: perl(ExtUtils/ParseXS.pm) >= 3.300 Requires: perl(FFI/CheckLib.pm) Requires: perl(File/BOM.pm) Requires: perl(File/Find.pm) Requires: perl(Path/Tiny.pm) >= 0.077 # Alien::Build::Plugin::PkgConfig::Negotiate finds a pkgconfig implementation # in this order: # PkgConfig::LibPkgConf 0.04, pkgconf, pkg-config, PkgConfig 0.14026 # We selected the most advanced PkgConfig::LibPkgConf and removed the other # plugins. #Requires: perl(PkgConfig/LibPkgConf/Client.pm) >= 0.040 #Requires: perl(PkgConfig/LibPkgConf/Util.pm) >= 0.040 Requires: perl(Storable.pm) Requires: perl(Test2/API.pm) >= 1.302.015 Requires: perl(Test2/Require.pm) >= 0.000.060 Requires: perl(Text/ParseWords.pm) >= 3.260 # YAML or Data::Dumper Requires: perl(YAML.pm) Requires: wget # Alien::Base::PkgConfig moved from perl-Alien-Base-ModuleBuild Conflicts: perl-Alien-Base-ModuleBuild < 1.00 # Do not gather dependencies from the documentation # Remove underspecified dependencies Source44: import.info %filter_from_requires /^perl\\((Capture.Tiny|Path.Tiny|Test2.API|Test2.Require|Text.ParseWords).pm\\)$/d %description This package provides tools for building external (non-CPAN) dependencies for CPAN. It is mainly designed to be used at install time of a CPAN client, and work closely with Alien::Base which is used at run time. %prep %setup -q -n Alien-Build-%{version} # Remove redundant pkgconfig implementations, keep # Alien::Build::Plugin::PkgConfig::LibPkgConf, # MANIFEST is updated by Remove-redundant-pkgconfig-implementations.patch #patch0 -p1 # lib/Alien/Build/Plugin/PkgConfig/{CommandLine,PP}.pm # rm t/alien_build_plugin_pkgconfig_{commandline,pp}.t %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %make_build %install make pure_install DESTDIR=$RPM_BUILD_ROOT %check make test %files %doc LICENSE author.yml %doc Changes* example README SUPPORT %{perl_vendor_privlib}/* %changelog * Mon Apr 29 2019 Igor Vlasenko <viy@altlinux.ru> 1.69-alt1 - automated CPAN update * Thu Apr 25 2019 Igor Vlasenko <viy@altlinux.ru> 1.68-alt1 - automated CPAN update * Tue Apr 23 2019 Igor Vlasenko <viy@altlinux.ru> 1.67-alt1 - automated CPAN update * Mon Apr 15 2019 Igor Vlasenko <viy@altlinux.ru> 1.65-alt1 - automated CPAN update * Thu Apr 11 2019 Igor Vlasenko <viy@altlinux.ru> 1.63-alt1 - automated CPAN update * Fri Mar 29 2019 Igor Vlasenko <viy@altlinux.ru> 1.62-alt1 - automated CPAN update * Fri Mar 01 2019 Igor Vlasenko <viy@altlinux.ru> 1.60-alt1 - automated CPAN update * Mon Feb 25 2019 Igor Vlasenko <viy@altlinux.ru> 1.55-alt1 - automated CPAN update * Sun Feb 10 2019 Igor Vlasenko <viy@altlinux.ru> 1.52-alt1 - automated CPAN update * Mon Jan 21 2019 Igor Vlasenko <viy@altlinux.ru> 1.51-alt1 - automated CPAN update * Fri Nov 09 2018 Igor Vlasenko <viy@altlinux.ru> 1.49-alt1 - automated CPAN update * Sun Jul 08 2018 Igor Vlasenko <viy@altlinux.ru> 1.48-alt1 - automated CPAN update * Tue Jun 26 2018 Igor Vlasenko <viy@altlinux.ru> 1.46-alt1 - automated CPAN update * Wed Jun 06 2018 Igor Vlasenko <viy@altlinux.ru> 1.43-alt1 - automated CPAN update * Wed May 09 2018 Igor Vlasenko <viy@altlinux.ru> 1.42-alt1 - automated CPAN update * Wed Apr 25 2018 Igor Vlasenko <viy@altlinux.ru> 1.41-alt1 - automated CPAN update * Sun Mar 11 2018 Igor Vlasenko <viy@altlinux.ru> 1.39-alt1 - automated CPAN update * Wed Mar 07 2018 Igor Vlasenko <viy@altlinux.ru> 1.37-alt1 - automated CPAN update * Mon Feb 19 2018 Igor Vlasenko <viy@altlinux.ru> 1.36-alt1 - automated CPAN update * Tue Jan 02 2018 Igor Vlasenko <viy@altlinux.ru> 1.32-alt1_1 - non-bootstrap build * Thu Dec 28 2017 Igor Vlasenko <viy@altlinux.ru> 1.32-alt0_1 - use pkg-config by default (dropped fedora patches) - first bootstrap build |