Accepting request 245180 from home:Dmitry_R:verilator
OBS-URL: https://build.opensuse.org/request/show/245180 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SystemPerl?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
SystemPerl-1.342.tar.gz
Normal file
3
SystemPerl-1.342.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fb83323415c982addbae5cb05e670cf679d2a5674aeb9eaabe46895674a108a8
|
||||||
|
size 132315
|
4
perl-SystemPerl.changes
Normal file
4
perl-SystemPerl.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 17 17:47:28 UTC 2014 - dmitry_r@opensuse.org
|
||||||
|
|
||||||
|
- Initial package, version 1.342
|
97
perl-SystemPerl.spec
Normal file
97
perl-SystemPerl.spec
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-SystemPerl
|
||||||
|
#
|
||||||
|
# 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-SystemPerl
|
||||||
|
Version: 1.342
|
||||||
|
Release: 0
|
||||||
|
%define cpan_name SystemPerl
|
||||||
|
Summary: SystemPerl Language Extension to SystemC
|
||||||
|
License: Artistic-2.0 or LGPL-3.0
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/SystemPerl/
|
||||||
|
Source: SystemPerl-1.342.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: bison
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Pod::Usage) >= 1.34
|
||||||
|
BuildRequires: perl(Verilog::Getopt) >= 2.211
|
||||||
|
BuildRequires: perl(Verilog::Netlist) >= 2.315
|
||||||
|
Requires: perl(Pod::Usage) >= 1.34
|
||||||
|
Requires: perl(Verilog::Getopt) >= 2.211
|
||||||
|
Requires: perl(Verilog::Netlist) >= 2.315
|
||||||
|
%{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.
|
||||||
|
|
||||||
|
The concept of SystemPerl is based upon the AUTOS in the the verilog-mode
|
||||||
|
manpage package for Emacs, by the same author.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
%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}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
# -devel package and support for SystemC
|
||||||
|
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
|
||||||
|
%doc example/
|
||||||
|
%{_bindir}/*
|
||||||
|
%dir %{perl_vendorarch}/auto/SystemC
|
||||||
|
%dir %{perl_vendorarch}/auto/SystemC/Parser
|
||||||
|
%{perl_vendorarch}/auto/SystemC/Parser/Parser.*
|
||||||
|
%dir %{perl_vendorarch}/SystemC
|
||||||
|
%{perl_vendorarch}/SystemC/*
|
||||||
|
%{_mandir}/man?/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_includedir}/%{name}/
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user