Name: perl-Hardware-Vhdl-Lexer Version: 1.00 Release: 41%{?dist} Summary: Split VHDL code into lexical tokens License: GPL+ or Artistic URL: https://metacpan.org/release/Hardware-Vhdl-Lexer Source0: https://cpan.metacpan.org/authors/id/M/MY/MYKL/Hardware-Vhdl-Lexer-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time BuildRequires: perl(Carp) BuildRequires: perl(Class::Std) BuildRequires: perl(Readonly) >= 1.03 # Tests BuildRequires: perl(File::Temp) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) # Optional tests BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 Requires: perl(Readonly) >= 1.03 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Filter under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Readonly\\)$ %description Hardware::Vhdl::Lexer splits VHDL code into lexical tokens. To use it, you need to first create a lexer object, passing in something which will supply chunks of VHDL code to the lexer. Repeated calls to the get_next_token method of the lexer will then return VHDL tokens (in scalar context) or a token type code and the token (in list context). get_next_token returns undef when there are no more tokens to be read. %prep %setup -q -n Hardware-Vhdl-Lexer-%{version} # rpmlint : line endings spurious-executable-perm for i in Changes README lib/Hardware/Vhdl/Lexer.pm ; do echo "Fixing wrong-file-end-of-line-encoding : $i" %{__sed} 's/\r//' $i > $i.rpmlint touch -r $i $i.rpmlint; %{__mv} $i.rpmlint $i echo "Fixing perms : $i" chmod 0644 $i done # workaround for bug in rpmbuild # disables the Requires of modules in commented code %{__sed} "s|use regexp-generating|#use regexp-generating|" \ lib/Hardware/Vhdl/Lexer.pm > Lexer.pm touch -r lib/Hardware/Vhdl/Lexer.pm Lexer.pm; %{__mv} Lexer.pm lib/Hardware/Vhdl/Lexer.pm %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.00-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.00-40 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.00-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.00-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.00-37 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.00-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.00-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.00-34 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.00-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.00-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.00-31 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.00-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.00-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 09 2018 Jitka Plesnikova - 1.00-28 - Modernize spec file * Fri Jun 29 2018 Jitka Plesnikova - 1.00-27 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.00-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.00-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.00-24 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.00-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 1.00-22 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.00-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.00-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 1.00-19 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 1.00-18 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.00-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.00-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jul 21 2013 Petr Pisar - 1.00-15 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.00-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.00-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 14 2012 Petr Pisar - 1.00-12 - Own directories to drop wrong dependency - Specify all dependencies * Wed Jun 13 2012 Petr Pisar - 1.00-11 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.00-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Marcela Mašláňová - 1.00-9 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.00-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 17 2010 Marcela Maslanova - 1.00-7 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 1.00-6 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.00-5 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.00-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Dec 21 2008 Chitlesh GOORAH 1.00-2 - updated as suggestion on review RHBZ 477515#c2 * Sun Dec 14 2008 Chitlesh GOORAH 1.00-1 - Specfile autogenerated by cpanspec 1.77.