forked from pool/perl-Verilog-Perl
Accepting request 245181 from home:Dmitry_R:verilator
OBS-URL: https://build.opensuse.org/request/show/245181 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Verilog-Perl?expand=0&rev=1
This commit is contained in:
67
perl-Verilog-Perl.spec
Normal file
67
perl-Verilog-Perl.spec
Normal file
@@ -0,0 +1,67 @@
|
||||
#
|
||||
# spec file for package perl-Verilog-Perl
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Verilog-Perl
|
||||
Version: 3.404
|
||||
Release: 0
|
||||
%define cpan_name Verilog-Perl
|
||||
Summary: Verilog language utilities and parsing
|
||||
License: Artistic-2.0 or LGPL-3.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://www.veripool.org/wiki/verilog-perl
|
||||
Source: http://search.cpan.org/CPAN/authors/id/W/WS/WSNYDER/Verilog-Perl-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Digest::SHA)
|
||||
BuildRequires: perl(Pod::Usage) >= 1.34
|
||||
Requires: perl(Pod::Usage) >= 1.34
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
The Verilog-Perl library is a building point for Verilog support in the Perl language.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes COPYING README
|
||||
%dir %{perl_vendorarch}/Verilog
|
||||
%dir %{perl_vendorarch}/auto/Verilog
|
||||
%{_bindir}/*
|
||||
%{perl_vendorarch}/Verilog/*
|
||||
%{perl_vendorarch}/auto/Verilog/*
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user