Name: perl-Algorithm-SVM Version: 0.13 Release: 36%{?dist} Summary: Perl bindings for the libsvm Support Vector Machine library # Note: The sources bundle a copy of libsvm which is BSD-licensed, # https://fedoraproject.org/wiki/Licensing/BSD#3ClauseBSD # But this file gets dropped during %%prep (see Patch0) License: GPL+ or Artistic URL: https://metacpan.org/release/Algorithm-SVM Source0: https://cpan.metacpan.org/authors/id/L/LA/LAIRDM/Algorithm-SVM-%{version}.tar.gz # https://rt.cpan.org/Public/Bug/Display.html?id=79106 Patch0: Algorithm-SVM-0.13-Unbundle-libsvm.patch Patch1: Algorithm-SVM-0.13-Port-to-libsvm-3.0.patch # https://rt.cpan.org/Public/Bug/Display.html?id=79754 Patch2: Algorithm-SVM-0.13-Fix-build-on-32-bits-with-Perl-5.14.patch BuildRequires: findutils BuildRequires: gcc-c++ BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(AutoLoader) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test) BuildRequires: libsvm-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Algorithm::SVM implements a Support Vector Machine for Perl. Support Vector Machines provide a method for creating classification functions from a set of labeled training data, from which predictions can be made for subsequent data sets. %prep %setup -q -n Algorithm-SVM-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %make_build %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README sample.model sample.model.1 %{perl_vendorarch}/Algorithm/SVM* %{perl_vendorarch}/auto/Algorithm/SVM %{_mandir}/man3/Algorithm::SVM* %changelog * Thu Aug 18 2022 Jerry James - 0.13-36 - Rebuild for libsvm 3.3 * Fri Jul 22 2022 Fedora Release Engineering - 0.13-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.13-34 - Perl 5.36 rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.13-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.13-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.13-31 - Perl 5.34 rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.13-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.13-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.13-28 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.13-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.13-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.13-25 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.13-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.13-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.13-22 - Perl 5.28 rebuild * Sun Mar 11 2018 Emmanuel Seyman - 0.13-21 - Add missing build-requirements * Thu Feb 08 2018 Fedora Release Engineering - 0.13-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.13-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.13-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.13-17 - Perl 5.26 rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.13-16 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.13-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.13-14 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.13-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.13-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.13-11 - Perl 5.22 rebuild * Sat May 02 2015 Kalev Lember - 0.13-10 - Rebuilt for GCC 5 C++11 ABI change * Wed Aug 27 2014 Jitka Plesnikova - 0.13-9 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.13-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.13-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.13-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.13-5 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Sep 20 2012 Mathieu Bridon - 0.13-3 - Fix build on 32 bits with Perl >= 5.14 https://rt.cpan.org/Public/Bug/Display.html?id=79754 * Wed Sep 19 2012 Mathieu Bridon - 0.13-2 - Fix issues based on Petr's review feedback: - Fix typo 'classifcation' in the package description. - Filter the private library out of provides. - Add missing build requirements for the unit tests. - Stop needlessly removing the empty dirs from the buildroot. * Tue Aug 21 2012 Mathieu Bridon - 0.13-1 - Initial package, with help from cpanspec.