%define mainver 0.996 #%%define betaver pre3 %define baserelease 6 %define srcname mecab-perl Name: perl-mecab Version: %{mainver} Release: %{?betaver:0.}%{baserelease}%{?betaver:.%betaver}%{?dist} Summary: Perl binding for MeCab # License is the same as MeCab # SPDX confirmed License: BSD-3-Clause OR LGPL-2.1-or-later OR GPL-2.0-or-later URL: http://mecab.sourceforge.net/ Source0: http://mecab.googlecode.com/files/%{srcname}-%{mainver}%{?betaver}.tar.gz # This is not release number specific BuildRequires: make BuildRequires: gcc-c++ BuildRequires: mecab-devel = %{version} BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # %%check BuildRequires: mecab-jumandic Requires: mecab = %{version} %description %{summary}. %prep %setup -q -n %{srcname}-%{mainver}%{?betaver} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}" # Kill rpath sed -i.rpath \ -e 's|LD_RUN_PATH=[^ ][^ ]*||' Makefile %{__make} %{?_smp_mflags} %install %{__make} pure_install \ PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \ INSTALL="%{__install} -c -p" # Clean up perl garbage find $RPM_BUILD_ROOT -type f -name .packlist | xargs %{__rm} -f find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 | xargs %{__rm} -f find $RPM_BUILD_ROOT -depth -type d | xargs rmdir 2>/dev/null || : %{__chmod} -R u+w $RPM_BUILD_ROOT/* %check %{__perl} test.pl %files %doc bindings.html %doc AUTHORS %license COPYING BSD GPL LGPL %{perl_vendorarch}/MeCab.pm %{perl_vendorarch}/auto/MeCab/ %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.996-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 10 2024 Jitka Plesnikova - 0.996-5 - Perl 5.40 rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.996-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.996-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 24 2023 Mamoru TASAKA - 0.996-2 - SPDX migration * Fri Jul 21 2023 Fedora Release Engineering - 0.996-1.32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.996-1.31 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.996-1.30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.996-1.29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.996-1.28 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.996-1.27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Jul 25 2021 Mamoru TASAKA - 0.996-1.26 - Rebuild for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.996-1.25 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.996-1.24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.996-1.23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.996-1.22 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.996-1.21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.996-1.20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.996-1.19 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.996-1.18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.996-1.17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.996-1.16 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.996-1.15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.996-1.14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.996-1.13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.996-1.12 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.996-1.11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 0.996-1.10 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.996-1.9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.996-1.8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.996-1.7 - Perl 5.22 rebuild * Sat May 02 2015 Kalev Lember - 0.996-1.6 - Rebuilt for GCC 5 C++11 ABI change * Wed Aug 27 2014 Jitka Plesnikova - 0.996-1.5 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.996-1.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.996-1.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.996-1.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.996-1.1 - Perl 5.18 rebuild * Fri Feb 22 2013 Mamoru TASAKA - 0.996-1 - 0.996 * Sun Feb 10 2013 Mamoru TASAKA - 0.995-1 - 0.995 * Fri Jul 20 2012 Fedora Release Engineering - 0.994-1.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jul 2 2012 Mamoru Tasaka - F-18: again rebuild against perl 5.16 * Mon Jul 2 2012 Mamoru Tasaka - 0.994-1 - 0.994 * Fri Jun 08 2012 Petr Pisar - 0.993-1.1 - F-18: Perl 5.16 rebuild * Thu Mar 29 2012 Mamoru Tasaka - 0.993-1 - 0.993 * Sun Jan 15 2012 Mamoru Tasaka - 0.991-1 - 0.991 * Mon Jan 9 2012 Mamoru Tasaka - 0.99-1 - 0.99 * Thu Jan 5 2012 Mamoru Tasaka - 0.98-4 - F-17: rebuild against gcc47 * Fri Jun 17 2011 Marcela Mašláňová - 0.98-3.1 - Perl mass rebuild * Mon Feb 14 2011 Mamoru Tasaka - 0.98-3 - F-15 mass rebuild * Mon Dec 20 2010 Marcela Maslanova - 0.98-2.2 - 661697 rebuild for fixing problems with vendorach/lib * Mon May 03 2010 Marcela Maslanova - 0.98-2.1 - Mass rebuild with perl-5.12.0 * Wed Dec 23 2009 Mamoru Tasaka - 0.98-2 - F-13: rebuild for new perl * Tue Sep 29 2009 Mamoru Tasaka - 0.98-1 - 0.98 * Sat Jul 25 2009 Mamoru Tasaka - 0.98-0.3.pre3 - F-12: Mass rebuild * Thu Jun 4 2009 Mamoru Tasaka - 0.98-0.2.pre3 - 0.98pre3 * Mon Mar 9 2009 Mamoru Tasaka - 0.98-0.1.pre1 - Update to 0.98pre1 * Tue Feb 24 2009 Mamoru Tasaka - 0.97-4 - F-11: Mass rebuild * Fri Mar 7 2008 Tom "spot" Callaway - 0.97-3 - rebuild for new perl (in dist-f9-perl) * Fri Mar 7 2008 Mamoru Tasaka - 0.97-2 - Rebuild for new perl (F-9) * Sun Feb 3 2008 Mamoru Tasaka - 0.97-1 - 0.97 * Fri Oct 26 2007 Mamoru Tasaka - 0.96-2 - License fix * Fri Aug 22 2007 Mamoru Tasaka - 0.96-1.dist.1 - Mass rebuild (buildID or binutils issue) - License update * Mon Jun 11 2007 Mamoru Tasaka - 0.96-1 - 0.96 release * Fri May 11 2007 Mamoru Tasaka - 0.95-5 - Add license notification text for now. * Wed May 9 2007 Mamoru Tasaka - 0.95-4 - Correctly require version specified BuildRequires - Rewrite accroding to perl template * Sun Mar 31 2007 Mamoru Tasaka - 0.95-3 - Some clean up - Use OPTIMIZE for Makefile.PL * Sat Mar 31 2007 Mamoru Tasaka - 0.95-2 - rename the package (see the discussion on #223423) - Change test file encoding * Thu Mar 22 2007 Mamoru Tasaka - 0.95-1 - Initial packaging.