OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SystemPerl?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fb83323415c982addbae5cb05e670cf679d2a5674aeb9eaabe46895674a108a8
|
|
||||||
size 132315
|
|
3
SystemPerl-1.344.tar.gz
Normal file
3
SystemPerl-1.344.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:711db1f2b1e86fd8ad62e6b17c60c01952e38d35f8b795355daa3a3624f8918a
|
||||||
|
size 132687
|
12
SystemPerl-1.344_compilefix.patch
Normal file
12
SystemPerl-1.344_compilefix.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
diff -ur SystemPerl-1.344/src/SpTraceVcdC.cpp SystemPerl-1.344_fix/src/SpTraceVcdC.cpp
|
||||||
|
--- SystemPerl-1.344/src/SpTraceVcdC.cpp 2014-11-06 04:20:09.000000000 +0100
|
||||||
|
+++ SystemPerl-1.344_fix/src/SpTraceVcdC.cpp 2018-10-21 14:31:43.220304066 +0200
|
||||||
|
@@ -682,7 +682,7 @@
|
||||||
|
vcdp->chgDouble (0x1c, doub);
|
||||||
|
}
|
||||||
|
|
||||||
|
-main() {
|
||||||
|
+int main(int argc, char **argv) {
|
||||||
|
cout<<"test: O_LARGEFILE="<<O_LARGEFILE<<endl;
|
||||||
|
|
||||||
|
v1 = v2 = s1 = 0;
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 21 12:16:10 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- updated to 1.344
|
||||||
|
see /usr/share/doc/packages/perl-SystemPerl/Changes
|
||||||
|
- Add patch to fix compilation: SystemPerl-1.344_compilefix.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 17 17:47:28 UTC 2014 - dmitry_r@opensuse.org
|
Sun Aug 17 17:47:28 UTC 2014 - dmitry_r@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-SystemPerl
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: perl-SystemPerl
|
||||||
Version: 1.342
|
Version: 1.344
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name SystemPerl
|
%define cpan_name SystemPerl
|
||||||
Summary: SystemPerl Language Extension to SystemC
|
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
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/SystemPerl/
|
Url: https://metacpan.org/release/WSNYDER/%{cpan_name}-%{version}
|
||||||
Source: SystemPerl-1.342.tar.gz
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@@ -33,21 +34,20 @@ BuildRequires: perl
|
|||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Pod::Usage) >= 1.34
|
BuildRequires: perl(Pod::Usage) >= 1.34
|
||||||
BuildRequires: perl(Verilog::Getopt) >= 2.211
|
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(Pod::Usage) >= 1.34
|
||||||
Requires: perl(Verilog::Getopt) >= 2.211
|
Requires: perl(Verilog::Getopt) >= 2.211
|
||||||
Requires: perl(Verilog::Netlist) >= 2.315
|
Requires: perl(Verilog::Netlist) >= 3.2
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SystemPerl is a version of the SystemC language. It is designed to expand
|
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
|
text so that needless repetition in the language is minimized. By using
|
||||||
sp_preproc manpage, SystemPerl files can be expanded into C++ files at
|
sp_preproc, SystemPerl files can be expanded into C++ files at compile
|
||||||
compile time, or expanded in place to make them valid stand-alone SystemC
|
time, or expanded in place to make them valid stand-alone SystemC files.
|
||||||
files.
|
|
||||||
|
|
||||||
The concept of SystemPerl is based upon the AUTOS in the the verilog-mode
|
The concept of SystemPerl is based upon the AUTOS in the verilog-mode
|
||||||
manpage package for Emacs, by the same author.
|
package for Emacs, by the same author.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
@@ -60,7 +60,11 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%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
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
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/*.h %{buildroot}%{_includedir}/%{name}
|
||||||
install -pm 0644 src/*.cpp %{buildroot}%{_includedir}/%{name}
|
install -pm 0644 src/*.cpp %{buildroot}%{_includedir}/%{name}
|
||||||
|
|
||||||
%check
|
|
||||||
make test
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes COPYING README
|
%license COPYING
|
||||||
|
%doc Changes README
|
||||||
%doc example/
|
%doc example/
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%dir %{perl_vendorarch}/auto/SystemC
|
%dir %{perl_vendorarch}/auto/SystemC
|
||||||
|
Reference in New Issue
Block a user