OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SystemPerl?expand=0&rev=5
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-SystemPerl
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,19 +12,20 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-SystemPerl
|
||||
Version: 1.342
|
||||
Version: 1.344
|
||||
Release: 0
|
||||
%define cpan_name SystemPerl
|
||||
Summary: SystemPerl Language Extension to SystemC
|
||||
License: Artistic-2.0 or LGPL-3.0
|
||||
License: Artistic-2.0 OR LGPL-3.0-only
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/SystemPerl/
|
||||
Source: SystemPerl-1.342.tar.gz
|
||||
Url: https://metacpan.org/release/WSNYDER/%{cpan_name}-%{version}
|
||||
Source0: https://cpan.metacpan.org/authors/id/W/WS/WSNYDER/%{cpan_name}-%{version}.tar.gz
|
||||
Patch1: SystemPerl-1.344_compilefix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
@@ -33,21 +34,20 @@ BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Pod::Usage) >= 1.34
|
||||
BuildRequires: perl(Verilog::Getopt) >= 2.211
|
||||
BuildRequires: perl(Verilog::Netlist) >= 2.315
|
||||
BuildRequires: perl(Verilog::Netlist) >= 3.2
|
||||
Requires: perl(Pod::Usage) >= 1.34
|
||||
Requires: perl(Verilog::Getopt) >= 2.211
|
||||
Requires: perl(Verilog::Netlist) >= 2.315
|
||||
Requires: perl(Verilog::Netlist) >= 3.2
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
SystemPerl is a version of the SystemC language. It is designed to expand
|
||||
text so that needless repetition in the language is minimized. By using the
|
||||
sp_preproc manpage, SystemPerl files can be expanded into C++ files at
|
||||
compile time, or expanded in place to make them valid stand-alone SystemC
|
||||
files.
|
||||
text so that needless repetition in the language is minimized. By using
|
||||
sp_preproc, SystemPerl files can be expanded into C++ files at compile
|
||||
time, or expanded in place to make them valid stand-alone SystemC files.
|
||||
|
||||
The concept of SystemPerl is based upon the AUTOS in the the verilog-mode
|
||||
manpage package for Emacs, by the same author.
|
||||
The concept of SystemPerl is based upon the AUTOS in the verilog-mode
|
||||
package for Emacs, by the same author.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
@@ -60,7 +60,11 @@ developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
%patch1 -p1
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
@@ -75,12 +79,10 @@ mkdir -p %{buildroot}%{_includedir}/%{name}
|
||||
install -pm 0644 src/*.h %{buildroot}%{_includedir}/%{name}
|
||||
install -pm 0644 src/*.cpp %{buildroot}%{_includedir}/%{name}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes COPYING README
|
||||
%license COPYING
|
||||
%doc Changes README
|
||||
%doc example/
|
||||
%{_bindir}/*
|
||||
%dir %{perl_vendorarch}/auto/SystemC
|
||||
|
Reference in New Issue
Block a user