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
|
||||
|
||||
|
@@ -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